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

#include <pcurves.h>

Public Member Functions

const auto & _curve () const
 
const auto & _value () const
 
Scalaroperator= (const Scalar &other)=default
 
Scalaroperator= (Scalar &&other)=default
 
 Scalar (const Scalar &other)=default
 
 Scalar (Scalar &&other)=default
 
 ~Scalar ()=default
 

Static Public Member Functions

static Scalar _create (CurvePtr curve, StorageUnit v)
 

Detailed Description

Elliptic curve scalar

This refers to the set of integers modulo the (prime) group order of the elliptic curve.

Definition at line 66 of file pcurves.h.

Constructor & Destructor Documentation

◆ Scalar() [1/2]

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

References Scalar().

Referenced by _create(), operator=(), operator=(), Scalar(), and Scalar().

◆ Scalar() [2/2]

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

References Scalar().

◆ ~Scalar()

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

Member Function Documentation

◆ _create()

static Scalar Botan::PCurve::PrimeOrderCurve::Scalar::_create ( CurvePtr curve,
StorageUnit v )
inlinestatic

Definition at line 78 of file pcurves.h.

78{ return Scalar(std::move(curve), v); }
Scalar(const Scalar &other)=default

References Scalar().

◆ _curve()

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

Definition at line 74 of file pcurves.h.

74{ return m_curve; }

◆ _value()

const auto & Botan::PCurve::PrimeOrderCurve::Scalar::_value ( ) const
inline

Definition at line 76 of file pcurves.h.

76{ return m_value; }

◆ operator=() [1/2]

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

References Scalar().

◆ operator=() [2/2]

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

References Scalar().


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