aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/if_algo
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/if_algo
parente44e6b50e98628e385f59de4b61b4b4733fc1816 (diff)
pubkey: Add missing overrides
Diffstat (limited to 'src/lib/pubkey/if_algo')
-rw-r--r--src/lib/pubkey/if_algo/if_algo.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/pubkey/if_algo/if_algo.h b/src/lib/pubkey/if_algo/if_algo.h
index 7fa266aaa..73050ad41 100644
--- a/src/lib/pubkey/if_algo/if_algo.h
+++ b/src/lib/pubkey/if_algo/if_algo.h
@@ -27,11 +27,11 @@ class BOTAN_DLL IF_Scheme_PublicKey : public virtual Public_Key
IF_Scheme_PublicKey(const BigInt& n, const BigInt& e) :
n(n), e(e) {}
- bool check_key(RandomNumberGenerator& rng, bool) const;
+ bool check_key(RandomNumberGenerator& rng, bool) const override;
- AlgorithmIdentifier algorithm_identifier() const;
+ AlgorithmIdentifier algorithm_identifier() const override;
- std::vector<byte> x509_subject_public_key() const;
+ std::vector<byte> x509_subject_public_key() const override;
/**
* @return public modulus
@@ -43,7 +43,7 @@ class BOTAN_DLL IF_Scheme_PublicKey : public virtual Public_Key
*/
const BigInt& get_e() const { return e; }
- size_t max_input_bits() const { return (n.bits() - 1); }
+ size_t max_input_bits() const override { return (n.bits() - 1); }
size_t estimated_strength() const override;
@@ -71,7 +71,7 @@ class BOTAN_DLL IF_Scheme_PrivateKey : public virtual IF_Scheme_PublicKey,
const AlgorithmIdentifier& alg_id,
const secure_vector<byte>& key_bits);
- bool check_key(RandomNumberGenerator& rng, bool) const;
+ bool check_key(RandomNumberGenerator& rng, bool) const override;
/**
* Get the first prime p.
@@ -95,7 +95,7 @@ class BOTAN_DLL IF_Scheme_PrivateKey : public virtual IF_Scheme_PublicKey,
const BigInt& get_d1() const { return d1; }
const BigInt& get_d2() const { return d2; }
- secure_vector<byte> pkcs8_private_key() const;
+ secure_vector<byte> pkcs8_private_key() const override;
protected:
IF_Scheme_PrivateKey() {}