Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
EC2NPoint Class Reference

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

#include <ecpoint.h>

Collaboration diagram for EC2NPoint:
[legend]

Public Member Functions

virtual ~EC2NPoint ()
 
 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

virtual EC2NPoint::~EC2NPoint ( )
inlinevirtual

Definition at line 57 of file ecpoint.h.

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 ordering.

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

Definition at line 77 of file ecpoint.h.

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.

Member Data Documentation

bool EC2NPoint::identity

Definition at line 81 of file ecpoint.h.

PolynomialMod2 EC2NPoint::x

Definition at line 80 of file ecpoint.h.

PolynomialMod2 EC2NPoint::y

Definition at line 80 of file ecpoint.h.


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