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

#include <pcurves.h>

Public Member Functions

const auto & _curve () const
 
const auto & _x () const
 
const auto & _y () const
 
const auto & _z () const
 
ProjectivePointoperator= (const ProjectivePoint &other)=default
 
ProjectivePointoperator= (ProjectivePoint &&other)=default
 
 ProjectivePoint (const ProjectivePoint &other)=default
 
 ProjectivePoint (ProjectivePoint &&other)=default
 
 ~ProjectivePoint ()=default
 

Static Public Member Functions

static ProjectivePoint _create (CurvePtr curve, StorageUnit x, StorageUnit y, StorageUnit z)
 

Detailed Description

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.

Definition at line 126 of file pcurves.h.

Constructor & Destructor Documentation

◆ ProjectivePoint() [1/2]

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

◆ ProjectivePoint() [2/2]

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

References ProjectivePoint().

◆ ~ProjectivePoint()

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

Member Function Documentation

◆ _create()

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

Definition at line 142 of file pcurves.h.

142 {
143 return ProjectivePoint(std::move(curve), x, y, z);
144 }
ProjectivePoint(const ProjectivePoint &other)=default

References ProjectivePoint().

◆ _curve()

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

Definition at line 134 of file pcurves.h.

134{ return m_curve; }

◆ _x()

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

Definition at line 136 of file pcurves.h.

136{ return m_x; }

◆ _y()

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

Definition at line 138 of file pcurves.h.

138{ return m_y; }

◆ _z()

const auto & Botan::PCurve::PrimeOrderCurve::ProjectivePoint::_z ( ) const
inline

Definition at line 140 of file pcurves.h.

140{ return m_z; }

◆ operator=() [1/2]

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

References ProjectivePoint().

◆ operator=() [2/2]

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

References ProjectivePoint().


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