Botan
1.10.17
|
#include <def_powm.h>
Public Member Functions | |
Modular_Exponentiator * | copy () const |
BigInt | execute () const |
Montgomery_Exponentiator (const BigInt &, Power_Mod::Usage_Hints) | |
void | set_base (const BigInt &) |
void | set_exponent (const BigInt &) |
Montgomery Exponentiator
Definition at line 42 of file def_powm.h.
Botan::Montgomery_Exponentiator::Montgomery_Exponentiator | ( | const BigInt & | mod, |
Power_Mod::Usage_Hints | hints | ||
) |
|
inlinevirtual |
Implements Botan::Modular_Exponentiator.
Definition at line 49 of file def_powm.h.
References Montgomery_Exponentiator().
|
virtual |
Implements Botan::Modular_Exponentiator.
Definition at line 78 of file powm_mnt.cpp.
References Botan::BigInt::assign(), Botan::bigint_monty_mul(), Botan::bigint_monty_redc(), Botan::bigint_monty_sqr(), Botan::BigInt::const_time_lookup(), Botan::MemoryRegion< T >::data(), Botan::BigInt::data(), Botan::BigInt::get_reg(), Botan::BigInt::get_substring(), Botan::MemoryRegion< T >::resize(), Botan::BigInt::sig_words(), Botan::MemoryRegion< T >::size(), Botan::BigInt::size(), and Botan::zeroise().
|
virtual |
Implements Botan::Modular_Exponentiator.
Definition at line 26 of file powm_mnt.cpp.
|
virtual |