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, 1 insertions, 3 deletions
diff --git a/src/block/seed/seed.h b/src/block/seed/seed.h
index d5476de82..95dab758d 100644
--- a/src/block/seed/seed.h
+++ b/src/block/seed/seed.h
@@ -21,11 +21,9 @@ class BOTAN_DLL SEED : public Block_Cipher_Fixed_Params<16, 16>
void encrypt_n(const byte in[], byte out[], size_t blocks) const;
void decrypt_n(const byte in[], byte out[], size_t blocks) const;
- void clear() { zeroise(K); }
+ void clear() { K.clear(); }
std::string name() const { return "SEED"; }
BlockCipher* clone() const { return new SEED; }
-
- SEED() : K(32) {}
private:
void key_schedule(const byte[], size_t);