aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/skein/skein_512.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/skein/skein_512.cpp')
-rw-r--r--src/hash/skein/skein_512.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hash/skein/skein_512.cpp b/src/hash/skein/skein_512.cpp
index 4d7717ef4..1fdd9fbf6 100644
--- a/src/hash/skein/skein_512.cpp
+++ b/src/hash/skein/skein_512.cpp
@@ -186,9 +186,9 @@ HashFunction* Skein_512::clone() const
void Skein_512::clear()
{
- H.clear();
- T.clear();
- buffer.clear();
+ zeroise(H);
+ zeroise(T);
+ zeroise(buffer);
buf_pos = 0;
}