diff options
Diffstat (limited to 'src/block/idea/idea.h')
-rw-r--r-- | src/block/idea/idea.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/idea/idea.h b/src/block/idea/idea.h index aed3be3ea..737970b29 100644 --- a/src/block/idea/idea.h +++ b/src/block/idea/idea.h @@ -21,7 +21,7 @@ class BOTAN_DLL IDEA : public BlockCipher void encrypt_n(const byte in[], byte out[], u32bit blocks) const; void decrypt_n(const byte in[], byte out[], u32bit blocks) const; - void clear() { EK.clear(); DK.clear(); } + void clear() { zeroise(EK); zeroise(DK); } std::string name() const { return "IDEA"; } BlockCipher* clone() const { return new IDEA; } |