aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/whirlpool/whrlpool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/whirlpool/whrlpool.cpp')
-rw-r--r--src/hash/whirlpool/whrlpool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash/whirlpool/whrlpool.cpp b/src/hash/whirlpool/whrlpool.cpp
index 06755fe77..6f62695c8 100644
--- a/src/hash/whirlpool/whrlpool.cpp
+++ b/src/hash/whirlpool/whrlpool.cpp
@@ -139,8 +139,8 @@ void Whirlpool::copy_out(byte output[])
void Whirlpool::clear()
{
MDx_HashFunction::clear();
- M.clear();
- digest.clear();
+ zeroise(M);
+ zeroise(digest);
}
}