aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/keccak/keccak.h
diff options
context:
space:
mode:
authorDaniel Seither <[email protected]>2015-07-30 18:31:12 +0200
committerDaniel Seither <[email protected]>2015-07-30 18:31:12 +0200
commit6774322c9578cd4519bd7a360ee562c4d60f5307 (patch)
tree411dbd6153af46c6b7e95f4f93a75adeeffc9129 /src/lib/hash/keccak/keccak.h
parent6dd2fa4a785d8aa8700dc7448048ddaaa78b6d61 (diff)
hash: Add missing overrides
Diffstat (limited to 'src/lib/hash/keccak/keccak.h')
-rw-r--r--src/lib/hash/keccak/keccak.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/hash/keccak/keccak.h b/src/lib/hash/keccak/keccak.h
index a115d8f7f..0e7d3d5d1 100644
--- a/src/lib/hash/keccak/keccak.h
+++ b/src/lib/hash/keccak/keccak.h
@@ -27,15 +27,15 @@ class BOTAN_DLL Keccak_1600 : public HashFunction
*/
Keccak_1600(size_t output_bits = 512);
- size_t hash_block_size() const { return bitrate / 8; }
- size_t output_length() const { return output_bits / 8; }
+ size_t hash_block_size() const override { return bitrate / 8; }
+ size_t output_length() const override { return output_bits / 8; }
- HashFunction* clone() const;
- std::string name() const;
- void clear();
+ HashFunction* clone() const override;
+ std::string name() const override;
+ void clear() override;
private:
- void add_data(const byte input[], size_t length);
- void final_result(byte out[]);
+ void add_data(const byte input[], size_t length) override;
+ void final_result(byte out[]) override;
size_t output_bits, bitrate;
secure_vector<u64bit> S;