diff options
author | Jack Lloyd <[email protected]> | 2021-04-03 15:55:37 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2021-04-03 16:25:44 -0400 |
commit | b1d7b48b39139bf691b27a1cfc3c5feb9fbe8f30 (patch) | |
tree | 91efb45012a4cab290d73feac6847e0df036911e /src/lib/hash/keccak/keccak.h | |
parent | d8ea823bf61af0bc9feb637afea8671c74c70e38 (diff) |
Add HashFunction::new_object
Diffstat (limited to 'src/lib/hash/keccak/keccak.h')
-rw-r--r-- | src/lib/hash/keccak/keccak.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hash/keccak/keccak.h b/src/lib/hash/keccak/keccak.h index 235c88a91..e571c2362 100644 --- a/src/lib/hash/keccak/keccak.h +++ b/src/lib/hash/keccak/keccak.h @@ -30,7 +30,7 @@ class Keccak_1600 final : public HashFunction size_t hash_block_size() const override { return m_bitrate / 8; } size_t output_length() const override { return m_output_bits / 8; } - HashFunction* clone() const override; + std::unique_ptr<HashFunction> new_object() const override; std::unique_ptr<HashFunction> copy_state() const override; std::string name() const override; void clear() override; |