Crypto++  5.6.5
Free C++ class library of cryptographic schemes
Public Member Functions | Public Attributes | List of all members
ECPPoint Class Reference

Elliptical Curve Point over GF(p), where p is prime. More...

Public Member Functions

 ECPPoint ()
 Construct an ECPPoint. More...
 
 ECPPoint (const Integer &x, const Integer &y)
 Construct an ECPPoint from coordinates. More...
 
bool operator== (const ECPPoint &t) const
 Tests points for equality. More...
 
bool operator< (const ECPPoint &t) const
 Tests points for ordering. More...
 

Public Attributes

Integer x
 
Integer y
 
bool identity
 

Detailed Description

Elliptical Curve Point over GF(p), where p is prime.

Since
Crypto++ 2.0

Definition at line 21 of file ecpoint.h.

Constructor & Destructor Documentation

ECPPoint::ECPPoint ( )
inline

Construct an ECPPoint.

identity is set to true

Definition at line 27 of file ecpoint.h.

ECPPoint::ECPPoint ( const Integer x,
const Integer y 
)
inline

Construct an ECPPoint from coordinates.

identity is set to false

Definition at line 31 of file ecpoint.h.

Member Function Documentation

bool ECPPoint::operator== ( const ECPPoint t) const
inline

Tests points for equality.

Parameters
tthe other point
Returns
true if the points are equal, false otherwise

Definition at line 37 of file ecpoint.h.

bool ECPPoint::operator< ( const ECPPoint t) const
inline

Tests points for ordering.

Parameters
tthe other point
Returns
true if this point is less than other, false otherwise

Definition at line 43 of file ecpoint.h.


The documentation for this class was generated from the following file: