diff options
Diffstat (limited to 'src/block/blowfish/blowfish.h')
-rw-r--r-- | src/block/blowfish/blowfish.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block/blowfish/blowfish.h b/src/block/blowfish/blowfish.h index 4d39e9e58..c9bf8b2e0 100644 --- a/src/block/blowfish/blowfish.h +++ b/src/block/blowfish/blowfish.h @@ -15,7 +15,7 @@ namespace Botan { /** * Blowfish */ -class BOTAN_DLL Blowfish : public BlockCipher +class BOTAN_DLL Blowfish : public BlockCipher_Fixed_Block_Size<8> { public: void encrypt_n(const byte in[], byte out[], size_t blocks) const; @@ -25,7 +25,7 @@ class BOTAN_DLL Blowfish : public BlockCipher std::string name() const { return "Blowfish"; } BlockCipher* clone() const { return new Blowfish; } - Blowfish() : BlockCipher(8, 1, 56), S(1024), P(18) {} + Blowfish() : BlockCipher_Fixed_Block_Size(1, 56), S(1024), P(18) {} private: void key_schedule(const byte[], size_t); void generate_sbox(MemoryRegion<u32bit>& box, |