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

#include <curve_gfp.h>

Public Member Functions

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

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()

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

Member Function Documentation

◆ get_a()

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

Definition at line 32 of file ec_point.cpp.

32 {
33 return this->group().a();
34}
const BigInt & a() const

Referenced by Botan::OS2ECP().

◆ get_b()

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

Definition at line 36 of file ec_point.cpp.

36 {
37 return this->group().b();
38}
const BigInt & b() const

Referenced by 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 40 of file ec_point.cpp.

40 {
41 return this->group().p();
42}
const BigInt & p() const

Referenced by Botan::OS2ECP().

◆ get_p_words()

size_t Botan::CurveGFp::get_p_words ( ) const

Definition at line 44 of file ec_point.cpp.

44 {
45 return this->group().p_words();
46}
size_t p_words() const

Friends And Related Symbol Documentation

◆ EC_Group_Data

friend class EC_Group_Data
friend

Definition at line 54 of file curve_gfp.h.

◆ EC_Point

friend class EC_Point
friend

Definition at line 53 of file curve_gfp.h.


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