LUC Precomputation.
More...
#include <luc.h>
LUC Precomputation.
- Since
- Crypto++ 2.1
Definition at line 192 of file luc.h.
◆ ~DL_BasePrecomputation_LUC()
virtual DL_BasePrecomputation_LUC::~DL_BasePrecomputation_LUC |
( |
| ) |
|
|
inlinevirtual |
◆ CascadeExponentiate()
Exponentiates an element.
- Parameters
-
pc1 | the first the group precomputation |
exponent1 | the first exponent |
pc2 | the second the group precomputation |
exponent2 | the first exponent2 |
- Returns
- the public element raised to the exponent
CascadeExponentiateBaseAndPublicElement raises the public element to the base element and precomputation.
Implements DL_FixedBasePrecomputation< Integer >.
Definition at line 210 of file luc.h.
◆ Exponentiate()
◆ GetBase()
◆ IsInitialized()
bool DL_BasePrecomputation_LUC::IsInitialized |
( |
| ) |
const |
|
inlinevirtual |
◆ Load()
◆ Precompute()
void DL_BasePrecomputation_LUC::Precompute |
( |
const DL_GroupPrecomputation< Element > & |
group, |
|
|
unsigned int |
maxExpBits, |
|
|
unsigned int |
storage |
|
) |
| |
|
inlinevirtual |
Perform precomputation.
- Parameters
-
group | the group |
maxExpBits | used to calculate the exponent base |
storage | the suggested number of objects for the precompute table |
The exact semantics of Precompute() varies, but it typically means calculate a table of n objects that can be used later to speed up computation.
If a derived class does not override Precompute(), then the base class throws NotImplemented.
- See also
- SupportsPrecomputation(), LoadPrecomputation(), SavePrecomputation()
Implements DL_FixedBasePrecomputation< Integer >.
Definition at line 203 of file luc.h.
◆ Save()
◆ SetBase()
The documentation for this class was generated from the following files:
- G:/work/subversion/scol-technologies/trunk/scol/plugins/security/cryptopp/luc.h
- G:/work/subversion/scol-technologies/trunk/scol/plugins/security/cryptopp/luc.cpp