aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/mac/x919_mac
diff options
context:
space:
mode:
authorDaniel Seither <[email protected]>2015-07-30 18:44:52 +0200
committerDaniel Seither <[email protected]>2015-07-30 18:44:52 +0200
commitfee2617be48d7c86b763dbe198797b02a8ea9a7d (patch)
treef59e15ac9b7c80e95a41cf17dd6f1babbb452087 /src/lib/mac/x919_mac
parente0d3824238d26b69505bdd8ccf7fd808403c2a5c (diff)
mac: Add missing overrides
Diffstat (limited to 'src/lib/mac/x919_mac')
-rw-r--r--src/lib/mac/x919_mac/x919_mac.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/mac/x919_mac/x919_mac.h b/src/lib/mac/x919_mac/x919_mac.h
index 7b7d7d88b..9cdcd1527 100644
--- a/src/lib/mac/x919_mac/x919_mac.h
+++ b/src/lib/mac/x919_mac/x919_mac.h
@@ -19,13 +19,13 @@ namespace Botan {
class BOTAN_DLL ANSI_X919_MAC : public MessageAuthenticationCode
{
public:
- void clear();
- std::string name() const;
- size_t output_length() const { return 8; }
+ void clear() override;
+ std::string name() const override;
+ size_t output_length() const override { return 8; }
- MessageAuthenticationCode* clone() const;
+ MessageAuthenticationCode* clone() const override;
- Key_Length_Specification key_spec() const
+ Key_Length_Specification key_spec() const override
{
return Key_Length_Specification(8, 16, 8);
}
@@ -35,9 +35,9 @@ class BOTAN_DLL ANSI_X919_MAC : public MessageAuthenticationCode
ANSI_X919_MAC(const ANSI_X919_MAC&) = delete;
ANSI_X919_MAC& operator=(const ANSI_X919_MAC&) = 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<BlockCipher> m_des1, m_des2;
secure_vector<byte> m_state;