CFB: added support for "segmentsize"
commit16f5fc170b53ce5f6fd60316736f05f6d0ec5f58
authorChristophe Oosterlynck <tiftof@math.be-leu01.nxp.com>
Tue, 14 Oct 2008 14:43:13 +0000 (14 16:43 +0200)
committerChristophe Oosterlynck <tiftof@math.be-leu01.nxp.com>
Tue, 14 Oct 2008 14:43:13 +0000 (14 16:43 +0200)
tree7935b3d9d3d5d9f774e43184595a05bfc1c8d6f2
parent1ddea81bf55bbd963852dafc895d7baebaf17dd8
CFB: added support for "segmentsize"

previously the segmentsize wasn't explicitly used in the code and the CFB
mode acted as if the segmentsize was equal to the blocksize.
19 files changed:
src/CryptoPlus/Cipher/AES.py
src/CryptoPlus/Cipher/ARC2.py
src/CryptoPlus/Cipher/Blowfish.py
src/CryptoPlus/Cipher/CAST.py
src/CryptoPlus/Cipher/DES.py
src/CryptoPlus/Cipher/DES3.py
src/CryptoPlus/Cipher/IDEA.py
src/CryptoPlus/Cipher/RC5.py
src/CryptoPlus/Cipher/blockcipher.py
src/CryptoPlus/Cipher/python_AES.py
src/CryptoPlus/Cipher/python_Blowfish.py
src/CryptoPlus/Cipher/python_DES.py
src/CryptoPlus/Cipher/python_DES3.py
src/CryptoPlus/Cipher/python_PRESENT.py
src/CryptoPlus/Cipher/python_Rijndael.py
src/CryptoPlus/Cipher/python_Serpent.py
src/CryptoPlus/Cipher/python_Twofish.py
src/CryptoPlus/testvectors.py
test/test.py