diff options
author | lloyd <[email protected]> | 2010-10-13 15:14:07 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-13 15:14:07 +0000 |
commit | e846f62c1c9a0e1f6aed562c462561cc91406501 (patch) | |
tree | 413dce73612b225c76228782052d51c0945f720c /src/block/aes | |
parent | 30a71cfa8d2d4c78e3a2b9f4c394b652f457e1f2 (diff) |
More size_t. Document changes
Diffstat (limited to 'src/block/aes')
-rw-r--r-- | src/block/aes/aes.cpp | 2 | ||||
-rw-r--r-- | src/block/aes/aes.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/block/aes/aes.cpp b/src/block/aes/aes.cpp index 1530af965..e562b8343 100644 --- a/src/block/aes/aes.cpp +++ b/src/block/aes/aes.cpp @@ -681,7 +681,7 @@ u32bit AES::S(u32bit input) /* * AES Constructor */ -AES::AES(u32bit key_size) : BlockCipher_Fixed_Block_Size(key_size), +AES::AES(size_t key_size) : BlockCipher_Fixed_Block_Size(key_size), EK(56), ME(16), DK(56), MD(16) { if(key_size != 16 && key_size != 24 && key_size != 32) diff --git a/src/block/aes/aes.h b/src/block/aes/aes.h index 6fa0ccaff..96b8e91da 100644 --- a/src/block/aes/aes.h +++ b/src/block/aes/aes.h @@ -34,7 +34,7 @@ class BOTAN_DLL AES : public BlockCipher_Fixed_Block_Size<16> * AES fixed to a particular key_size (16, 24, or 32 bytes) * @param key_size the chosen fixed key size */ - AES(u32bit key_size); + AES(size_t key_size); private: void key_schedule(const byte[], size_t); static u32bit S(u32bit); |