diff options
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); |