Crypto++
8.6
Free C++ class library of cryptographic schemes
|
ECP precomputation specialization. More...
Public Types | |
typedef ECP | EllipticCurve |
![]() | |
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... | |
![]() | |
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 |
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 |
Set the elliptic curve.
ec | ECP derived class SetCurve() is not inherited |
|
inline |
Get the elliptic curve.