diff options
Diffstat (limited to 'src/lib/hash/keccak/keccak.cpp')
-rw-r--r-- | src/lib/hash/keccak/keccak.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/hash/keccak/keccak.cpp b/src/lib/hash/keccak/keccak.cpp index 1d2747ff2..f51b53e06 100644 --- a/src/lib/hash/keccak/keccak.cpp +++ b/src/lib/hash/keccak/keccak.cpp @@ -12,6 +12,11 @@ namespace Botan { +std::unique_ptr<HashFunction> Keccak_1600::copy_state() const + { + return std::unique_ptr<HashFunction>(new Keccak_1600(*this)); + } + Keccak_1600::Keccak_1600(size_t output_bits) : m_output_bits(output_bits), m_bitrate(1600 - 2*output_bits), |