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

Elliptical Curve Point over GF(2^n) More...

Public Member Functions

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

Public Attributes

PolynomialMod2 x
 
PolynomialMod2 y
 
bool identity
 

Detailed Description

Elliptical Curve Point over GF(2^n)

Since
Crypto++ 2.0

Definition at line 55 of file ecpoint.h.

Constructor & Destructor Documentation

EC2NPoint::EC2NPoint ( )
inline

Construct an EC2NPoint.

identity is set to true

Definition at line 61 of file ecpoint.h.

EC2NPoint::EC2NPoint ( const PolynomialMod2 x,
const PolynomialMod2 y 
)
inline

Construct an EC2NPoint from coordinates.

identity is set to false

Definition at line 65 of file ecpoint.h.

Member Function Documentation

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

Tests points for equality.

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

Definition at line 71 of file ecpoint.h.

bool EC2NPoint::operator< ( const EC2NPoint 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 77 of file ecpoint.h.


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