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/block_cipher.h | |
parent | 30a71cfa8d2d4c78e3a2b9f4c394b652f457e1f2 (diff) |
More size_t. Document changes
Diffstat (limited to 'src/block/block_cipher.h')
-rw-r--r-- | src/block/block_cipher.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/block/block_cipher.h b/src/block/block_cipher.h index e522005b9..3e14e0739 100644 --- a/src/block/block_cipher.h +++ b/src/block/block_cipher.h @@ -25,9 +25,9 @@ class BOTAN_DLL BlockCipher : public SymmetricAlgorithm * @param key_max the maximum key size * @param key_mod the modulo restriction on the key size */ - BlockCipher(u32bit key_min, - u32bit key_max = 0, - u32bit key_mod = 1) : + BlockCipher(size_t key_min, + size_t key_max = 0, + size_t key_mod = 1) : SymmetricAlgorithm(key_min, key_max, key_mod) {} virtual ~BlockCipher() {} @@ -119,9 +119,9 @@ template<size_t N> class BlockCipher_Fixed_Block_Size : public BlockCipher { public: - BlockCipher_Fixed_Block_Size(u32bit kmin, - u32bit kmax = 0, - u32bit kmod = 1) : + BlockCipher_Fixed_Block_Size(size_t kmin, + size_t kmax = 0, + size_t kmod = 1) : BlockCipher(kmin, kmax, kmod) {} enum { BLOCK_SIZE = N }; |