aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);