aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/mac/hmac/hmac.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/mac/hmac/hmac.h')
-rw-r--r--src/lib/mac/hmac/hmac.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/mac/hmac/hmac.h b/src/lib/mac/hmac/hmac.h
index 6b01eb365..3f5652352 100644
--- a/src/lib/mac/hmac/hmac.h
+++ b/src/lib/mac/hmac/hmac.h
@@ -19,13 +19,13 @@ namespace Botan {
class BOTAN_DLL HMAC : public MessageAuthenticationCode
{
public:
- void clear();
- std::string name() const;
- MessageAuthenticationCode* clone() const;
+ void clear() override;
+ std::string name() const override;
+ MessageAuthenticationCode* clone() const override;
- size_t output_length() const { return m_hash->output_length(); }
+ size_t output_length() const override { return m_hash->output_length(); }
- Key_Length_Specification key_spec() const
+ Key_Length_Specification key_spec() const override
{
// Absurd max length here is to support PBKDF2
return Key_Length_Specification(0, 512);
@@ -41,9 +41,9 @@ class BOTAN_DLL HMAC : public MessageAuthenticationCode
HMAC(const HMAC&) = delete;
HMAC& operator=(const HMAC&) = delete;
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;
std::unique_ptr<HashFunction> m_hash;
secure_vector<byte> m_ikey, m_okey;