Botan
1.10.9
|
#include <def_powm.h>
Public Member Functions | |
Modular_Exponentiator * | copy () const |
BigInt | execute () const |
Fixed_Window_Exponentiator (const BigInt &, Power_Mod::Usage_Hints) | |
void | set_base (const BigInt &) |
void | set_exponent (const BigInt &) |
Fixed Window Exponentiator
Definition at line 20 of file def_powm.h.
Botan::Fixed_Window_Exponentiator::Fixed_Window_Exponentiator | ( | const BigInt & | n, |
Power_Mod::Usage_Hints | hints | ||
) |
|
inlinevirtual |
Implements Botan::Modular_Exponentiator.
Definition at line 27 of file def_powm.h.
References Fixed_Window_Exponentiator().
|
virtual |
Implements Botan::Modular_Exponentiator.
Definition at line 40 of file powm_fw.cpp.
References Botan::BigInt::bits(), Botan::BigInt::get_substring(), Botan::Modular_Reducer::multiply(), and Botan::Modular_Reducer::square().
|
virtual |
Implements Botan::Modular_Exponentiator.
Definition at line 25 of file powm_fw.cpp.
References base, Botan::BigInt::bits(), Botan::Modular_Reducer::multiply(), and Botan::Power_Mod::window_bits().
|
virtual |
Implements Botan::Modular_Exponentiator.
Definition at line 17 of file powm_fw.cpp.