Botan 3.6.1
Crypto and TLS for C&
|
#include <ec_inner_pc.h>
Public Member Functions | |
std::unique_ptr< EC_Scalar_Data > | add (const EC_Scalar_Data &other) const override |
void | assign (const EC_Scalar_Data &y) override |
size_t | bytes () const override |
std::unique_ptr< EC_Scalar_Data > | clone () const override |
EC_Scalar_Data_PC (std::shared_ptr< const EC_Group_Data > group, PCurve::PrimeOrderCurve::Scalar v) | |
const std::shared_ptr< const EC_Group_Data > & | group () const override |
std::unique_ptr< EC_Scalar_Data > | invert () const override |
bool | is_eq (const EC_Scalar_Data &y) const override |
bool | is_zero () const override |
std::unique_ptr< EC_Scalar_Data > | mul (const EC_Scalar_Data &other) const override |
std::unique_ptr< EC_Scalar_Data > | negate () const override |
void | serialize_to (std::span< uint8_t > bytes) const override |
void | square_self () override |
std::unique_ptr< EC_Scalar_Data > | sub (const EC_Scalar_Data &other) const override |
const auto & | value () const |
Static Public Member Functions | |
static const EC_Scalar_Data_PC & | checked_ref (const EC_Scalar_Data &data) |
Definition at line 16 of file ec_inner_pc.h.
|
inline |
Definition at line 18 of file ec_inner_pc.h.
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 69 of file ec_inner_pc.cpp.
References checked_ref(), and value().
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 52 of file ec_inner_pc.cpp.
References checked_ref(), and value().
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 36 of file ec_inner_pc.cpp.
References group().
Referenced by serialize_to().
|
static |
Definition at line 24 of file ec_inner_pc.cpp.
Referenced by add(), assign(), is_eq(), Botan::EC_AffinePoint_Data_PC::mul(), mul(), Botan::EC_Mul2Table_Data_PC::mul2_vartime(), Botan::EC_Mul2Table_Data_PC::mul2_vartime_x_mod_order_eq(), and sub().
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 40 of file ec_inner_pc.cpp.
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 32 of file ec_inner_pc.cpp.
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 65 of file ec_inner_pc.cpp.
References Botan::PCurve::PrimeOrderCurve::Scalar::invert().
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 48 of file ec_inner_pc.cpp.
References checked_ref(), and value().
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 44 of file ec_inner_pc.cpp.
References value().
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 77 of file ec_inner_pc.cpp.
References checked_ref(), and value().
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 61 of file ec_inner_pc.cpp.
References Botan::PCurve::PrimeOrderCurve::Scalar::negate().
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 81 of file ec_inner_pc.cpp.
References BOTAN_ARG_CHECK, and bytes().
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 56 of file ec_inner_pc.cpp.
References Botan::PCurve::PrimeOrderCurve::Scalar::square().
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 73 of file ec_inner_pc.cpp.
References checked_ref(), and value().
|
inline |
Definition at line 49 of file ec_inner_pc.h.
Referenced by add(), assign(), clone(), is_eq(), is_zero(), Botan::EC_AffinePoint_Data_PC::mul(), mul(), and sub().