aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/skein
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-07-31 11:09:24 -0400
committerJack Lloyd <[email protected]>2015-07-31 11:09:24 -0400
commit8e19ecf11c2c50b5a2d6642477d729091409fec8 (patch)
treed87cff14d376f69f1a7ea0d9e1679385e195623a /src/lib/hash/skein
parent4944797ede915a606c6d5bd0e5b0a0b8f21b8eca (diff)
parentc37ebd2d0bb9ad6d2cf6d4541a1de523b584b36e (diff)
Merge pull request #231 from tiwoc/add-override
Add override specifiers
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);