Botan 3.6.1
Crypto and TLS for C&
|
#include <pcurves.h>
Public Member Functions | |
const auto & | _curve () const |
const auto & | _x () const |
const auto & | _y () const |
const auto & | _z () const |
ProjectivePoint | dbl () const |
ProjectivePoint | negate () const |
ProjectivePoint & | operator= (const ProjectivePoint &other)=default |
ProjectivePoint & | operator= (ProjectivePoint &&other)=default |
ProjectivePoint (const ProjectivePoint &other)=default | |
ProjectivePoint (ProjectivePoint &&other)=default | |
AffinePoint | to_affine () const |
~ProjectivePoint ()=default | |
Static Public Member Functions | |
static ProjectivePoint | _create (CurvePtr curve, StorageUnit x, StorageUnit y, StorageUnit z) |
static ProjectivePoint | from_affine (const AffinePoint &pt) |
Friends | |
ProjectivePoint | operator+ (const ProjectivePoint &x, const AffinePoint &y) |
ProjectivePoint | operator+ (const ProjectivePoint &x, const ProjectivePoint &y) |
A point on the elliptic curve in projective form
This is a form that is convenient for computation; it must be converted to affine form for comparisons or serialization.
|
default |
|
default |
|
default |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Convert a point from affine to projective form
Definition at line 234 of file pcurves.h.
References Botan::PCurve::PrimeOrderCurve::AffinePoint::_curve().
|
inline |
|
default |
|
default |
|
inline |
|
friend |
|
friend |