aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/seed/seed.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/seed/seed.h')
-rw-r--r--src/block/seed/seed.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block/seed/seed.h b/src/block/seed/seed.h
index 48fefc9b0..649e28a68 100644
--- a/src/block/seed/seed.h
+++ b/src/block/seed/seed.h
@@ -15,7 +15,7 @@ namespace Botan {
/**
* SEED, a Korean block cipher
*/
-class BOTAN_DLL SEED : public BlockCipher
+class BOTAN_DLL SEED : 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 SEED : public BlockCipher
std::string name() const { return "SEED"; }
BlockCipher* clone() const { return new SEED; }
- SEED() : BlockCipher(16, 16), K(32) {}
+ SEED() : BlockCipher_Fixed_Block_Size(16), K(32) {}
private:
void key_schedule(const byte[], size_t);