Botan 3.8.1
Crypto and TLS for C&
Botan::PCurve::PrimeOrderCurve::AffinePoint Class Referencefinal

#include <pcurves.h>

Public Member Functions

const auto & _curve () const
 
const auto & _x () const
 
const auto & _y () const
 
 AffinePoint (AffinePoint &&other)=default
 
 AffinePoint (const AffinePoint &other)=default
 
AffinePointoperator= (AffinePoint &&other)=default
 
AffinePointoperator= (const AffinePoint &other)=default
 
 ~AffinePoint ()=default
 

Static Public Member Functions

static AffinePoint _create (CurvePtr curve, StorageUnit x, StorageUnit y)
 
static AffinePoint generator (CurvePtr curve)
 

Detailed Description

A point on the elliptic curve in affine form

These points can be serialized, or converted to projective form for computation

Definition at line 92 of file pcurves.h.

Constructor & Destructor Documentation

◆ AffinePoint() [1/2]

Botan::PCurve::PrimeOrderCurve::AffinePoint::AffinePoint ( const AffinePoint & other)
default

◆ AffinePoint() [2/2]

Botan::PCurve::PrimeOrderCurve::AffinePoint::AffinePoint ( AffinePoint && other)
default

References AffinePoint().

◆ ~AffinePoint()

Botan::PCurve::PrimeOrderCurve::AffinePoint::~AffinePoint ( )
default

Member Function Documentation

◆ _create()

static AffinePoint Botan::PCurve::PrimeOrderCurve::AffinePoint::_create ( CurvePtr curve,
StorageUnit x,
StorageUnit y )
inlinestatic

Definition at line 108 of file pcurves.h.

108 {
109 return AffinePoint(std::move(curve), x, y);
110 }
AffinePoint(const AffinePoint &other)=default

References AffinePoint().

Referenced by Botan::PCurve::GenericPrimeOrderCurve::generator().

◆ _curve()

const auto & Botan::PCurve::PrimeOrderCurve::AffinePoint::_curve ( ) const
inline

Definition at line 102 of file pcurves.h.

102{ return m_curve; }

◆ _x()

const auto & Botan::PCurve::PrimeOrderCurve::AffinePoint::_x ( ) const
inline

Definition at line 104 of file pcurves.h.

104{ return m_x; }

◆ _y()

const auto & Botan::PCurve::PrimeOrderCurve::AffinePoint::_y ( ) const
inline

Definition at line 106 of file pcurves.h.

106{ return m_y; }

◆ generator()

static AffinePoint Botan::PCurve::PrimeOrderCurve::AffinePoint::generator ( CurvePtr curve)
inlinestatic

Definition at line 100 of file pcurves.h.

100{ return curve->generator(); }

References AffinePoint(), and generator().

Referenced by generator().

◆ operator=() [1/2]

AffinePoint & Botan::PCurve::PrimeOrderCurve::AffinePoint::operator= ( AffinePoint && other)
default

References AffinePoint().

◆ operator=() [2/2]

AffinePoint & Botan::PCurve::PrimeOrderCurve::AffinePoint::operator= ( const AffinePoint & other)
default

References AffinePoint().


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