aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/misty1/misty1.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/misty1/misty1.h')
-rw-r--r--src/block/misty1/misty1.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block/misty1/misty1.h b/src/block/misty1/misty1.h
index 14d8a2958..81324a0b2 100644
--- a/src/block/misty1/misty1.h
+++ b/src/block/misty1/misty1.h
@@ -21,7 +21,7 @@ class BOTAN_DLL MISTY1 : 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); zeroise(DK); }
+ void clear() { EK.clear(); DK.clear(); }
std::string name() const { return "MISTY1"; }
BlockCipher* clone() const { return new MISTY1; }
@@ -33,7 +33,7 @@ class BOTAN_DLL MISTY1 : public Block_Cipher_Fixed_Params<8, 16>
private:
void key_schedule(const byte[], size_t);
- SecureVector<u16bit> EK, DK;
+ secure_vector<u16bit> EK, DK;
};
}