#include <ModExpFunctional.h>
Inheritance diagram for CODEX_VSS::ModExpFunctional:


Public Types | |
| typedef CODEX_ASN1::BigNumber | ArgType |
| Short name for argument types. | |
| typedef ModExpFunctionalArgs | CtorArgs |
| Type for the constructor arguments. | |
Public Member Functions | |
| ModExpFunctional (const ArgType &base, const ArgType &modulus) | |
| Constructor taking two arguments. | |
| ModExpFunctional (const CtorArgs &args) | |
| Constructor taking a single argument. | |
| virtual | ~ModExpFunctional () |
| Virtual destructor. | |
| void | operator() (const CODEX_ASN1::SecureBigNumber &operand, CODEX_ASN1::BigNumber &result) const |
| Perform a modular exponentiation. | |
| const ArgType & | base () const |
| The base for modular exponentiation. | |
| const ArgType & | modulus () const |
| The modulus for modular exponentiation. | |
The base and modulus are set in the constructor.
Definition at line 70 of file ModExpFunctional.h.
|
||||||||||||
|
Perform a modular exponentiation.
Implements CODEX_VSS::ShareFunctional. Definition at line 46 of file ModExpFunctional.cc. References CODEX_ASN1::Base::initialized(), and CODEX_ASN1::BigNumber::value(). |
1.4.1