aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/whirlpool
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/whirlpool
parent6dd2fa4a785d8aa8700dc7448048ddaaa78b6d61 (diff)
hash: Add missing overrides
Diffstat (limited to 'src/lib/hash/whirlpool')
-rw-r--r--src/lib/hash/whirlpool/whrlpool.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/hash/whirlpool/whrlpool.h b/src/lib/hash/whirlpool/whrlpool.h
index 4f067f18d..ba91da080 100644
--- a/src/lib/hash/whirlpool/whrlpool.h
+++ b/src/lib/hash/whirlpool/whrlpool.h
@@ -18,17 +18,17 @@ namespace Botan {
class BOTAN_DLL Whirlpool : public MDx_HashFunction
{
public:
- std::string name() const { return "Whirlpool"; }
- size_t output_length() const { return 64; }
- HashFunction* clone() const { return new Whirlpool; }
+ std::string name() const override { return "Whirlpool"; }
+ size_t output_length() const override { return 64; }
+ HashFunction* clone() const override { return new Whirlpool; }
- void clear();
+ void clear() override;
Whirlpool() : MDx_HashFunction(64, true, true, 32), M(8), digest(8)
{ clear(); }
private:
- void compress_n(const byte[], size_t blocks);
- void copy_out(byte[]);
+ void compress_n(const byte[], size_t blocks) override;
+ void copy_out(byte[]) override;
static const u64bit C0[256];
static const u64bit C1[256];