diff options
author | lloyd <[email protected]> | 2010-10-13 14:58:58 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-13 14:58:58 +0000 |
commit | 6e85766cf001183e160c8ca2c0ed3eb40f07125c (patch) | |
tree | df11b301786829bc2f6f545038ec97c2269154d9 /src/block/rc6/rc6.h | |
parent | fcd3aba1ff6b8597b31165474573dbb339479c14 (diff) | |
parent | bb53c6169463a67cc751625cb0a2c47df129a2ab (diff) |
propagate from branch 'net.randombit.botan' (head 6581b789d58717bc6acee5c6a248e2d44c636e40)
to branch 'net.randombit.botan.c++0x' (head 227a989ae94da8f4379ea4b9b0fc0ee8dbdde0c7)
Diffstat (limited to 'src/block/rc6/rc6.h')
-rw-r--r-- | src/block/rc6/rc6.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block/rc6/rc6.h b/src/block/rc6/rc6.h index 307834a8c..8446138e0 100644 --- a/src/block/rc6/rc6.h +++ b/src/block/rc6/rc6.h @@ -15,7 +15,7 @@ namespace Botan { /** * RC6, Ron Rivest's AES candidate */ -class BOTAN_DLL RC6 : public BlockCipher +class BOTAN_DLL RC6 : public BlockCipher_Fixed_Block_Size<16> { public: void encrypt_n(const byte in[], byte out[], size_t blocks) const; @@ -25,7 +25,7 @@ class BOTAN_DLL RC6 : public BlockCipher std::string name() const { return "RC6"; } BlockCipher* clone() const { return new RC6; } - RC6() : BlockCipher(16, 1, 32), S(44) {} + RC6() : BlockCipher_Fixed_Block_Size(1, 32), S(44) {} private: void key_schedule(const byte[], size_t); |