Botan 3.9.0
Crypto and TLS for C&
Botan::CurveGFp Class Referencefinal

#include <curve_gfp.h>

Public Member Functions

 CurveGFp (const CurveGFp &)=default
 CurveGFp (CurveGFp &&)=default
const BigIntget_a () const
const BigIntget_b () const
const BigIntget_p () const
size_t get_p_words () const
 ~CurveGFp ()=default

Friends

class EC_Group_Data
class EC_Point

Detailed Description

This is an internal type which is only exposed for accidental historical reasons. Do not use it in any way.

This class will be removed in Botan4.

Definition at line 30 of file curve_gfp.h.

Constructor & Destructor Documentation

◆ CurveGFp() [1/2]

Botan::CurveGFp::CurveGFp ( const CurveGFp & )
default

References CurveGFp().

Referenced by CurveGFp(), CurveGFp(), and EC_Group_Data.

◆ CurveGFp() [2/2]

Botan::CurveGFp::CurveGFp ( CurveGFp && )
default

References CurveGFp().

◆ ~CurveGFp()

Botan::CurveGFp::~CurveGFp ( )
default

Member Function Documentation

◆ get_a()

const BigInt & Botan::CurveGFp::get_a ( ) const
Returns
curve coefficient a

Definition at line 37 of file ec_point.cpp.

37 {
38 return this->group().a();
39}

References get_a().

Referenced by get_a(), and Botan::OS2ECP().

◆ get_b()

const BigInt & Botan::CurveGFp::get_b ( ) const
Returns
curve coefficient b

Definition at line 41 of file ec_point.cpp.

41 {
42 return this->group().b();
43}

References get_b().

Referenced by get_b(), and Botan::OS2ECP().

◆ get_p()

const BigInt & Botan::CurveGFp::get_p ( ) const

Get prime modulus of the field of the curve

Returns
prime modulus of the field of the curve

Definition at line 45 of file ec_point.cpp.

45 {
46 return this->group().p();
47}

References get_p().

Referenced by get_p(), and Botan::OS2ECP().

◆ get_p_words()

size_t Botan::CurveGFp::get_p_words ( ) const

Definition at line 49 of file ec_point.cpp.

49 {
50 return this->group().p_words();
51}

References get_p_words().

Referenced by get_p_words().

◆ EC_Group_Data

friend class EC_Group_Data
friend

Definition at line 57 of file curve_gfp.h.

References BOTAN_FUTURE_EXPLICIT, CurveGFp(), and EC_Group_Data.

Referenced by EC_Group_Data.

◆ EC_Point

friend class EC_Point
friend

Definition at line 56 of file curve_gfp.h.

References EC_Point.

Referenced by EC_Point.


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