botan v1.13.4 (2023-03-01T00:35:38Z)
Dub
Repo
MontgomeryExponentiator
botan
math
numbertheory
def_powm
Montgomery Exponentiator
static if
(
BOTAN_HAS_PUBLIC_KEY_CRYPTO
)
class
MontgomeryExponentiator :
ModularExponentiator
{
void
setExponent
(const(BigInt)* exp);
void
setBase
(const(BigInt)* base);
BigInt
execute
();
ModularExponentiator
copy
();
this
(const(BigInt)* mod, PowerMod.UsageHints hints);
}
Constructors
this
this
(const(BigInt)* mod, PowerMod.UsageHints hints)
Undocumented in source.
Members
Functions
copy
ModularExponentiator
copy
()
Undocumented in source. Be warned that the author may not have intended to support it.
execute
BigInt
execute
()
Undocumented in source. Be warned that the author may not have intended to support it.
setBase
void
setBase
(const(BigInt)* base)
Undocumented in source. Be warned that the author may not have intended to support it.
setExponent
void
setExponent
(const(BigInt)* exp)
Undocumented in source. Be warned that the author may not have intended to support it.
Inherited Members
From ModularExponentiator
setBase
void
setBase
(const(BigInt)* )
Undocumented in source.
setExponent
void
setExponent
(const(BigInt)* )
Undocumented in source.
execute
BigInt
execute
()
Undocumented in source.
copy
ModularExponentiator
copy
()
Undocumented in source.
Meta
Source
See Implementation
botan
math
numbertheory
def_powm
classes
FixedWindowExponentiator
MontgomeryExponentiator
Montgomery Exponentiator