aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/skein
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/skein
parent6dd2fa4a785d8aa8700dc7448048ddaaa78b6d61 (diff)
hash: Add missing overrides
Diffstat (limited to 'src/lib/hash/skein')
-rw-r--r--src/lib/hash/skein/skein_512.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/hash/skein/skein_512.h b/src/lib/hash/skein/skein_512.h
index 3ae9fcdc3..dceb34854 100644
--- a/src/lib/hash/skein/skein_512.h
+++ b/src/lib/hash/skein/skein_512.h
@@ -29,14 +29,14 @@ class BOTAN_DLL Skein_512 : public HashFunction
Skein_512(size_t output_bits = 512,
const std::string& personalization = "");
- size_t hash_block_size() const { return 64; }
- size_t output_length() const { return output_bits / 8; }
+ size_t hash_block_size() const override { return 64; }
+ size_t output_length() const override { return output_bits / 8; }
static Skein_512* make(const Spec& spec);
- HashFunction* clone() const;
- std::string name() const;
- void clear();
+ HashFunction* clone() const override;
+ std::string name() const override;
+ void clear() override;
private:
enum type_code {
SKEIN_KEY = 0,
@@ -49,8 +49,8 @@ class BOTAN_DLL Skein_512 : public HashFunction
SKEIN_OUTPUT = 63
};
- 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;
void ubi_512(const byte msg[], size_t msg_len);