diff options
Diffstat (limited to 'src/block/kasumi/kasumi.h')
-rw-r--r-- | src/block/kasumi/kasumi.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/block/kasumi/kasumi.h b/src/block/kasumi/kasumi.h index f3dd7e0c7..571085612 100644 --- a/src/block/kasumi/kasumi.h +++ b/src/block/kasumi/kasumi.h @@ -21,11 +21,9 @@ class BOTAN_DLL KASUMI : public Block_Cipher_Fixed_Params<8, 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(EK); } + void clear() { EK.clear(); } std::string name() const { return "KASUMI"; } BlockCipher* clone() const { return new KASUMI; } - - KASUMI() : EK(64) {} private: void key_schedule(const byte[], size_t); |