aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/kasumi/kasumi.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-11-29 18:58:54 +0000
committerlloyd <[email protected]>2012-11-29 18:58:54 +0000
commit12c128c1fbb483ae9042b47fc544adf0e55d0693 (patch)
tree46aa39dcfb055c84778fa842a2d66249f6d175c8 /src/block/kasumi/kasumi.h
parent2d8dff7079d4a8eabd848bd0e88b38a2112b333e (diff)
Add new helper zap which zeros a vector, clears it, and then calls
shrink_to_fit to actually deallocate memory.
Diffstat (limited to 'src/block/kasumi/kasumi.h')
-rw-r--r--src/block/kasumi/kasumi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/kasumi/kasumi.h b/src/block/kasumi/kasumi.h
index 571085612..b91a2eb77 100644
--- a/src/block/kasumi/kasumi.h
+++ b/src/block/kasumi/kasumi.h
@@ -21,7 +21,7 @@ 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() { EK.clear(); }
+ void clear();
std::string name() const { return "KASUMI"; }
BlockCipher* clone() const { return new KASUMI; }
private: