From 49c18ab9131cd1a36e5e90bbfc18ef3f33361d50 Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 15 Jun 2010 23:33:00 +0000 Subject: More Doxygen updates --- src/block/block_cipher.h | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) (limited to 'src/block/block_cipher.h') diff --git a/src/block/block_cipher.h b/src/block/block_cipher.h index 11d5e20f9..73c72a9e4 100644 --- a/src/block/block_cipher.h +++ b/src/block/block_cipher.h @@ -18,6 +18,22 @@ namespace Botan { class BOTAN_DLL BlockCipher : public SymmetricAlgorithm { public: + /** + * BlockCipher constructor + * @param block_size the size of blocks this cipher processes + * @param key_min the minimum key size + * @param key_max the maximum key size + * @param key_mod the modulo restriction on the key size + */ + BlockCipher(u32bit block_size, + u32bit key_min, + u32bit key_max = 0, + u32bit key_mod = 1) : + SymmetricAlgorithm(key_min, key_max, key_mod), + BLOCK_SIZE(block_size) {} + + virtual ~BlockCipher() {} + /** * The block size of this algorithm. */ @@ -99,15 +115,6 @@ class BOTAN_DLL BlockCipher : public SymmetricAlgorithm * Zeroize internal state */ virtual void clear() = 0; - - BlockCipher(u32bit block_size, - u32bit key_min, - u32bit key_max = 0, - u32bit key_mod = 1) : - SymmetricAlgorithm(key_min, key_max, key_mod), - BLOCK_SIZE(block_size) {} - - virtual ~BlockCipher() {} }; } -- cgit v1.2.3