9 #include <botan/internal/def_powm.h> 10 #include <botan/numthry.h> 11 #include <botan/monty.h> 12 #include <botan/internal/monty_exp.h>
std::shared_ptr< const Montgomery_Exponentation_State > monty_precompute(std::shared_ptr< const Montgomery_Params > params, const BigInt &g, size_t window_bits)
BigInt execute() const override
void set_exponent(const BigInt &) override
Montgomery_Exponentiator(const BigInt &, Power_Mod::Usage_Hints)
void set_base(const BigInt &) override
BigInt monty_execute(const Montgomery_Exponentation_State &precomputed_state, const BigInt &k)
static size_t window_bits(size_t exp_bits, size_t base_bits, Power_Mod::Usage_Hints hints)