Crypto++ 8.5 Free C++ class library of cryptographic schemes

Public Member Functions | Public Attributes | List of all members
EC2NPoint Struct 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 53 of file ecpoint.h.

## Constructor & Destructor Documentation

## ◆ EC2NPoint() [1/2]

EC2NPoint::EC2NPoint | ( |  | ) |
| inline

Construct an EC2NPoint.

identity is set to `true`

Definition at line 59 of file ecpoint.h.

## ◆ EC2NPoint() [2/2]

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

Construct an EC2NPoint from coordinates.

identity is set to `false`

Definition at line 63 of file ecpoint.h.

## Member Function Documentation

## ◆ operator==()

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

Tests points for equality.

Parameters

  t | the other point

Returns
  true if the points are equal, false otherwise

Definition at line 69 of file ecpoint.h.

## ◆ operator<()

bool EC2NPoint::operator< | ( | const EC2NPoint & | t | ) | const
| inline

Tests points for ordering.

Parameters

  t | the other point

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

Definition at line 75 of file ecpoint.h.

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

- ecpoint.h