aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/whirlpool/whirlpool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/hash/whirlpool/whirlpool.cpp')
-rw-r--r--src/lib/hash/whirlpool/whirlpool.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/hash/whirlpool/whirlpool.cpp b/src/lib/hash/whirlpool/whirlpool.cpp
index 64350fd24..f78cc7572 100644
--- a/src/lib/hash/whirlpool/whirlpool.cpp
+++ b/src/lib/hash/whirlpool/whirlpool.cpp
@@ -9,6 +9,11 @@
namespace Botan {
+std::unique_ptr<HashFunction> Whirlpool::copy_state() const
+ {
+ return std::unique_ptr<HashFunction>(new Whirlpool(*this));
+ }
+
/*
* Whirlpool Compression Function
*/