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/lion | |
parent | 60fb91d8cb1710d07041f76050d24229ce91131b (diff) |
Use size_t rather than u32bit in SymmetricAlgorithm
Diffstat (limited to 'src/block/lion')
-rw-r--r-- | src/block/lion/lion.cpp | 2 | ||||
-rw-r--r-- | src/block/lion/lion.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/block/lion/lion.cpp b/src/block/lion/lion.cpp index b4a00ebee..daf00da81 100644 --- a/src/block/lion/lion.cpp +++ b/src/block/lion/lion.cpp @@ -68,7 +68,7 @@ void Lion::decrypt_n(const byte in[], byte out[], size_t blocks) const /* * Lion Key Schedule */ -void Lion::key_schedule(const byte key[], u32bit length) +void Lion::key_schedule(const byte key[], size_t length) { clear(); diff --git a/src/block/lion/lion.h b/src/block/lion/lion.h index 5d4d374b9..9beb68ca6 100644 --- a/src/block/lion/lion.h +++ b/src/block/lion/lion.h @@ -43,7 +43,7 @@ class BOTAN_DLL Lion : public BlockCipher ~Lion() { delete hash; delete cipher; } private: - void key_schedule(const byte[], u32bit); + void key_schedule(const byte[], size_t); const size_t LEFT_SIZE, RIGHT_SIZE; |