diff options
author | lloyd <[email protected]> | 2014-01-18 19:39:41 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-01-18 19:39:41 +0000 |
commit | 1822ba0d828d2c7bec51313597a9a64a54ccc559 (patch) | |
tree | aa6470016e5c5f5c8684a2c7fd0f06b37186c15b /src/lib | |
parent | b96ad4c05c0a8f835b54ef4e2cff849c749409b0 (diff) |
Fix Skein_512::clear
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/hash/skein/skein_512.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/hash/skein/skein_512.cpp b/src/lib/hash/skein/skein_512.cpp index 9aafb1616..94c8a3063 100644 --- a/src/lib/hash/skein/skein_512.cpp +++ b/src/lib/hash/skein/skein_512.cpp @@ -197,10 +197,10 @@ HashFunction* Skein_512::clone() const void Skein_512::clear() { - zeroise(H); - zeroise(T); zeroise(buffer); buf_pos = 0; + + initial_block(H, T, output_bits, personalization); } void Skein_512::add_data(const byte input[], size_t length) |