diff options
author | Daniel Seither <[email protected]> | 2015-07-30 18:44:52 +0200 |
---|---|---|
committer | Daniel Seither <[email protected]> | 2015-07-30 18:44:52 +0200 |
commit | fee2617be48d7c86b763dbe198797b02a8ea9a7d (patch) | |
tree | f59e15ac9b7c80e95a41cf17dd6f1babbb452087 /src/lib/mac/siphash/siphash.h | |
parent | e0d3824238d26b69505bdd8ccf7fd808403c2a5c (diff) |
mac: Add missing overrides
Diffstat (limited to 'src/lib/mac/siphash/siphash.h')
-rw-r--r-- | src/lib/mac/siphash/siphash.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/mac/siphash/siphash.h b/src/lib/mac/siphash/siphash.h index ec57864eb..574835ca4 100644 --- a/src/lib/mac/siphash/siphash.h +++ b/src/lib/mac/siphash/siphash.h @@ -17,21 +17,21 @@ class BOTAN_DLL SipHash : public MessageAuthenticationCode public: SipHash(size_t c = 2, size_t d = 4) : m_C(c), m_D(d) {} - void clear(); - std::string name() const; + void clear() override; + std::string name() const override; - MessageAuthenticationCode* clone() const; + MessageAuthenticationCode* clone() const override; - size_t output_length() const { return 8; } + size_t output_length() const override { return 8; } - Key_Length_Specification key_spec() const + Key_Length_Specification key_spec() const override { return Key_Length_Specification(16); } private: - void add_data(const byte[], size_t); - void final_result(byte[]); - void key_schedule(const byte[], size_t); + void add_data(const byte[], size_t) override; + void final_result(byte[]) override; + void key_schedule(const byte[], size_t) override; const size_t m_C, m_D; secure_vector<u64bit> m_V; |