8 #ifndef CRYPTOPP_ECPOINT_H 9 #define CRYPTOPP_ECPOINT_H 32 : x(x), y(y), identity(false) {}
66 : x(x), y(y), identity(false) {}
92 template <
class Po
int>
110 virtual bool DecodePoint(Point &P,
const byte *encodedPoint,
size_t len)
const =0;
115 virtual bool VerifyPoint(
const Point &P)
const =0;
120 virtual unsigned int EncodedPointSize(
bool compressed =
false)
const =0;
127 virtual void EncodePoint(
byte *encodedPoint,
const Point &P,
bool compressed)
const =0;
149 #endif // CRYPTOPP_ECPOINT_H
Elliptical Curve Point over GF(p), where p is prime.
bool operator==(const EC2NPoint &t) const
Tests points for equality.
#define NAMESPACE_BEGIN(x)
#define CRYPTOPP_DLL_TEMPLATE_CLASS
Abstract base classes that provide a uniform interface to this library.
Classes for performing mathematics over different fields.
bool operator==(const ECPPoint &t) const
Tests points for equality.
Polynomial with Coefficients in GF(2)
ECPPoint(const Integer &x, const Integer &y)
Construct an ECPPoint from coordinates.
Multiple precision integer with arithmetic operations.
Classes and functions for schemes over GF(2^n)
ECPPoint()
Construct an ECPPoint.
Abstract class for encoding and decoding ellicptic curve points.
Multiple precision integer with arithmetic operations.
EC2NPoint()
Construct an EC2NPoint.
Elliptical Curve Point over GF(2^n)
EC2NPoint(const PolynomialMod2 &x, const PolynomialMod2 &y)
Construct an EC2NPoint from coordinates.
bool operator<(const ::CryptoPP::OID &lhs, const ::CryptoPP::OID &rhs)