diff options
author | Daniel Seither <[email protected]> | 2015-07-30 18:31:12 +0200 |
---|---|---|
committer | Daniel Seither <[email protected]> | 2015-07-30 18:31:12 +0200 |
commit | 6774322c9578cd4519bd7a360ee562c4d60f5307 (patch) | |
tree | 411dbd6153af46c6b7e95f4f93a75adeeffc9129 /src/lib/hash/md2/md2.h | |
parent | 6dd2fa4a785d8aa8700dc7448048ddaaa78b6d61 (diff) |
hash: Add missing overrides
Diffstat (limited to 'src/lib/hash/md2/md2.h')
-rw-r--r-- | src/lib/hash/md2/md2.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/hash/md2/md2.h b/src/lib/hash/md2/md2.h index bde390385..62f1b8a9f 100644 --- a/src/lib/hash/md2/md2.h +++ b/src/lib/hash/md2/md2.h @@ -18,19 +18,19 @@ namespace Botan { class BOTAN_DLL MD2 : public HashFunction { public: - std::string name() const { return "MD2"; } - size_t output_length() const { return 16; } - size_t hash_block_size() const { return 16; } - HashFunction* clone() const { return new MD2; } + std::string name() const override { return "MD2"; } + size_t output_length() const override { return 16; } + size_t hash_block_size() const override { return 16; } + HashFunction* clone() const override { return new MD2; } - void clear(); + void clear() override; MD2() : X(48), checksum(16), buffer(16) { clear(); } private: - void add_data(const byte[], size_t); + void add_data(const byte[], size_t) override; void hash(const byte[]); - void final_result(byte[]); + void final_result(byte[]) override; secure_vector<byte> X, checksum, buffer; size_t position; |