aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/ecdsa/ecdsa.h
diff options
context:
space:
mode:
authorDaniel Seither <[email protected]>2015-07-30 19:15:22 +0200
committerDaniel Seither <[email protected]>2015-07-30 19:15:22 +0200
commitf2edce7bf7fd2132e1a153093df4d47d5f57efcc (patch)
tree596f618d70b8be96922e662f17d91c6c996d835e /src/lib/pubkey/ecdsa/ecdsa.h
parente44e6b50e98628e385f59de4b61b4b4733fc1816 (diff)
pubkey: Add missing overrides
Diffstat (limited to 'src/lib/pubkey/ecdsa/ecdsa.h')
-rw-r--r--src/lib/pubkey/ecdsa/ecdsa.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/pubkey/ecdsa/ecdsa.h b/src/lib/pubkey/ecdsa/ecdsa.h
index 91ddb500d..1eb41a4b9 100644
--- a/src/lib/pubkey/ecdsa/ecdsa.h
+++ b/src/lib/pubkey/ecdsa/ecdsa.h
@@ -38,18 +38,19 @@ class BOTAN_DLL ECDSA_PublicKey : public virtual EC_PublicKey
* Get this keys algorithm name.
* @result this keys algorithm name ("ECDSA")
*/
- std::string algo_name() const { return "ECDSA"; }
+ std::string algo_name() const override { return "ECDSA"; }
/**
* Get the maximum number of bits allowed to be fed to this key.
* This is the bitlength of the order of the base point.
* @result the maximum number of input bits
*/
- size_t max_input_bits() const { return domain().get_order().bits(); }
+ size_t max_input_bits() const override
+ { return domain().get_order().bits(); }
- size_t message_parts() const { return 2; }
+ size_t message_parts() const override { return 2; }
- size_t message_part_size() const
+ size_t message_part_size() const override
{ return domain().get_order().bytes(); }
protected:
@@ -84,7 +85,7 @@ class BOTAN_DLL ECDSA_PrivateKey : public ECDSA_PublicKey,
const BigInt& x = 0) :
EC_PrivateKey(rng, domain, x) {}
- bool check_key(RandomNumberGenerator& rng, bool) const;
+ bool check_key(RandomNumberGenerator& rng, bool) const override;
};
}