diff options
author | lloyd <[email protected]> | 2010-10-13 01:34:15 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-13 01:34:15 +0000 |
commit | fe4119c74b5e81a354a5313e4d2efbf9a135aa81 (patch) | |
tree | 5c5254cc3a4e5713169ef1d52a83db19c8c4ed65 /src/block/twofish | |
parent | 60fb91d8cb1710d07041f76050d24229ce91131b (diff) |
Use size_t rather than u32bit in SymmetricAlgorithm
Diffstat (limited to 'src/block/twofish')
-rw-r--r-- | src/block/twofish/twofish.cpp | 2 | ||||
-rw-r--r-- | src/block/twofish/twofish.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/block/twofish/twofish.cpp b/src/block/twofish/twofish.cpp index 9c3d57500..41bc7ca1c 100644 --- a/src/block/twofish/twofish.cpp +++ b/src/block/twofish/twofish.cpp @@ -116,7 +116,7 @@ void Twofish::decrypt_n(const byte in[], byte out[], size_t blocks) const /* * Twofish Key Schedule */ -void Twofish::key_schedule(const byte key[], u32bit length) +void Twofish::key_schedule(const byte key[], size_t length) { SecureVector<byte> S(16); diff --git a/src/block/twofish/twofish.h b/src/block/twofish/twofish.h index b94c3adc3..38263af98 100644 --- a/src/block/twofish/twofish.h +++ b/src/block/twofish/twofish.h @@ -27,7 +27,7 @@ class BOTAN_DLL Twofish : public BlockCipher Twofish() : BlockCipher(16, 16, 32, 8), SB(1024), RK(40) {} private: - void key_schedule(const byte[], u32bit); + void key_schedule(const byte[], size_t); static void rs_mul(byte[4], byte, size_t); |