aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/block_cipher.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-06-15 23:33:00 +0000
committerlloyd <[email protected]>2010-06-15 23:33:00 +0000
commit49c18ab9131cd1a36e5e90bbfc18ef3f33361d50 (patch)
treede69a5edea7128380a046598fcac66c064f32b4a /src/block/block_cipher.h
parent76b57a7c4656f0f5759c34efe8bab664b49cd21d (diff)
More Doxygen updates
Diffstat (limited to 'src/block/block_cipher.h')
-rw-r--r--src/block/block_cipher.h25
1 files changed, 16 insertions, 9 deletions
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
@@ -19,6 +19,22 @@ 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.
*/
const u32bit BLOCK_SIZE;
@@ -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() {}
};
}