|
Crypto++ 8.9
Free C++ class library of cryptographic schemes
|
DL_GroupPrecomputation interface. More...
#include <eprecomp.h>
Public Types | |
| typedef T | Element |
Public Member Functions | |
| virtual bool | NeedConversions () const |
| Determines if elements needs conversion. | |
| virtual Element | ConvertIn (const Element &v) const |
| Converts an element between representations. | |
| virtual Element | ConvertOut (const Element &v) const |
| Converts an element between representations. | |
| virtual const AbstractGroup< Element > & | GetGroup () const =0 |
| Retrieves AbstractGroup interface. | |
| virtual Element | BERDecodeElement (BufferedTransformation &bt) const =0 |
| Decodes element in DER format. | |
| virtual void | DEREncodeElement (BufferedTransformation &bt, const Element &P) const =0 |
| Encodes element in DER format. | |
DL_GroupPrecomputation interface.
| T | Field element |
Definition at line 19 of file eprecomp.h.
| typedef T DL_GroupPrecomputation< T >::Element |
Definition at line 22 of file eprecomp.h.
|
inlinevirtual |
Definition at line 24 of file eprecomp.h.
|
inlinevirtual |
Determines if elements needs conversion.
NeedConversions determines if an element must convert between representations.
Reimplemented in EcPrecomputation< ECP >, and ModExpPrecomputation.
Definition at line 29 of file eprecomp.h.
|
inlinevirtual |
Converts an element between representations.
| v | element to convert |
ConvertIn is used when an element must convert between representations.
Reimplemented in EcPrecomputation< ECP >, and ModExpPrecomputation.
Definition at line 35 of file eprecomp.h.
|
inlinevirtual |
Converts an element between representations.
| v | element to convert |
Reimplemented in EcPrecomputation< ECP >, and ModExpPrecomputation.
Definition at line 40 of file eprecomp.h.
|
pure virtual |
Retrieves AbstractGroup interface.
Implemented in EcPrecomputation< EC2N >, EcPrecomputation< ECP >, DL_GroupPrecomputation_LUC, and ModExpPrecomputation.
|
pure virtual |
Decodes element in DER format.
| bt | BufferedTransformation object |
Implemented in EcPrecomputation< EC2N >, EcPrecomputation< ECP >, DL_GroupPrecomputation_LUC, and ModExpPrecomputation.
|
pure virtual |
Encodes element in DER format.
| bt | BufferedTransformation object |
| P | Element to encode |
Implemented in EcPrecomputation< EC2N >, EcPrecomputation< ECP >, DL_GroupPrecomputation_LUC, and ModExpPrecomputation.