aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/numbertheory/def_powm.h
diff options
context:
space:
mode:
authorDaniel Seither <[email protected]>2015-07-30 18:39:43 +0200
committerDaniel Seither <[email protected]>2015-07-30 18:39:43 +0200
commite0d3824238d26b69505bdd8ccf7fd808403c2a5c (patch)
treebb27a20ba635799e227db6c8c8cc873c8e3857f2 /src/lib/math/numbertheory/def_powm.h
parent9826f46dbf42034900dc0f36036dd897bcaf553a (diff)
math: Add missing overrides
Diffstat (limited to 'src/lib/math/numbertheory/def_powm.h')
-rw-r--r--src/lib/math/numbertheory/def_powm.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/math/numbertheory/def_powm.h b/src/lib/math/numbertheory/def_powm.h
index 3a56a1693..ef5d6e39b 100644
--- a/src/lib/math/numbertheory/def_powm.h
+++ b/src/lib/math/numbertheory/def_powm.h
@@ -20,11 +20,11 @@ namespace Botan {
class Fixed_Window_Exponentiator : public Modular_Exponentiator
{
public:
- void set_exponent(const BigInt&);
- void set_base(const BigInt&);
- BigInt execute() const;
+ void set_exponent(const BigInt&) override;
+ void set_base(const BigInt&) override;
+ BigInt execute() const override;
- Modular_Exponentiator* copy() const
+ Modular_Exponentiator* copy() const override
{ return new Fixed_Window_Exponentiator(*this); }
Fixed_Window_Exponentiator(const BigInt&, Power_Mod::Usage_Hints);
@@ -42,11 +42,11 @@ class Fixed_Window_Exponentiator : public Modular_Exponentiator
class Montgomery_Exponentiator : public Modular_Exponentiator
{
public:
- void set_exponent(const BigInt&);
- void set_base(const BigInt&);
- BigInt execute() const;
+ void set_exponent(const BigInt&) override;
+ void set_base(const BigInt&) override;
+ BigInt execute() const override;
- Modular_Exponentiator* copy() const
+ Modular_Exponentiator* copy() const override
{ return new Montgomery_Exponentiator(*this); }
Montgomery_Exponentiator(const BigInt&, Power_Mod::Usage_Hints);