Crypto++ 8.9
Free C++ class library of cryptographic schemes
|
EC2N precomputation specialization. More...
#include <ec2n.h>
Public Types | |
typedef EC2N | EllipticCurve |
Public Types inherited from DL_GroupPrecomputation< EC2N::Point > | |
typedef EC2N::Point | Element |
Public Member Functions | |
const AbstractGroup< Element > & | GetGroup () const |
Retrieves AbstractGroup interface. | |
Element | BERDecodeElement (BufferedTransformation &bt) const |
Decodes element in DER format. | |
void | DEREncodeElement (BufferedTransformation &bt, const Element &v) const |
Encodes element in DER format. | |
void | SetCurve (const EC2N &ec) |
Set the elliptic curve. | |
const EC2N & | GetCurve () const |
Get the elliptic curve. | |
Public Member Functions inherited from DL_GroupPrecomputation< EC2N::Point > | |
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. | |
EC2N precomputation specialization.
Implementation of DL_GroupPrecomputation<EC2N::Point>
typedef EC2N EcPrecomputation< EC2N >::EllipticCurve |
|
inlinevirtual |
|
inlinevirtual |
Retrieves AbstractGroup interface.
Implements DL_GroupPrecomputation< EC2N::Point >.
|
inlinevirtual |
Decodes element in DER format.
bt | BufferedTransformation object |
Implements DL_GroupPrecomputation< EC2N::Point >.
|
inlinevirtual |
Encodes element in DER format.
bt | BufferedTransformation object |
P | Element to encode |
Implements DL_GroupPrecomputation< EC2N::Point >.
|
inline |
|
inline |