|
Crypto++
8.4
Free C++ class library of cryptographic schemes
|
ECP precomputation specialization. More...
Inheritance diagram for EcPrecomputation< ECP >:Public Types | |
| typedef ECP | EllipticCurve |
Public Types inherited from DL_GroupPrecomputation< ECP::Point > | |
| typedef ECP::Point | Element |
Public Member Functions | |
| bool | NeedConversions () const |
| Element | ConvertIn (const Element &P) const |
| Converts an element between representations. More... | |
| Element | ConvertOut (const Element &P) const |
| Converts an element between representations. More... | |
| const AbstractGroup< Element > & | GetGroup () const |
| Element | BERDecodeElement (BufferedTransformation &bt) const |
| Decodes element in DER format. More... | |
| void | DEREncodeElement (BufferedTransformation &bt, const Element &v) const |
| Encodes element in DER format. More... | |
| void | SetCurve (const ECP &ec) |
| Set the elliptic curve. More... | |
| const ECP & | GetCurve () const |
| Get the elliptic curve. More... | |
Public Member Functions inherited from DL_GroupPrecomputation< ECP::Point > | |
| virtual bool | NeedConversions () const |
| Determines if elements needs conversion. More... | |
| virtual const AbstractGroup< Element > & | GetGroup () const=0 |
| Retrieves AbstractGroup interface. More... | |
ECP precomputation specialization.
Implementation of DL_GroupPrecomputation<ECP::Point> with input and output conversions for Montgomery modular multiplication.
|
inlinevirtual |
Converts an element between representations.
| v | element to convert |
ConvertIn is used when an element must convert between representations.
Reimplemented from DL_GroupPrecomputation< ECP::Point >.
|
inlinevirtual |
Converts an element between representations.
| v | element to convert |
Reimplemented from DL_GroupPrecomputation< ECP::Point >.
|
inlinevirtual |
Decodes element in DER format.
| bt | BufferedTransformation object |
Implements DL_GroupPrecomputation< ECP::Point >.
|
inlinevirtual |
Encodes element in DER format.
| bt | BufferedTransformation object |
| P | Element to encode |
Implements DL_GroupPrecomputation< ECP::Point >.
|
inline |
|
inline |
1.8.17