8 #ifndef BOTAN_DEFAULT_MODEXP_H__
9 #define BOTAN_DEFAULT_MODEXP_H__
11 #include <botan/pow_mod.h>
12 #include <botan/reducer.h>
35 std::vector<BigInt> m_g;
54 BigInt m_exp, m_modulus, m_R_mod, m_R2_mod;
57 size_t m_mod_words, m_exp_bits, m_window_bits;
59 std::vector<BigInt> m_g;
void set_base(const BigInt &) override
Fixed_Window_Exponentiator(const BigInt &, Power_Mod::Usage_Hints)
void set_exponent(const BigInt &) override
Modular_Exponentiator * copy() const override
BigInt execute() const override
void set_exponent(const BigInt &) override
Montgomery_Exponentiator(const BigInt &, Power_Mod::Usage_Hints)
void set_base(const BigInt &) override
Modular_Exponentiator * copy() const override
BigInt execute() const override