Botan 3.6.1
Crypto and TLS for C&
|
#include <ec_inner_bn.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_BN (std::shared_ptr< const EC_Group_Data > group, BigInt 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 BigInt & | value () const |
Static Public Member Functions | |
static const EC_Scalar_Data_BN & | checked_ref (const EC_Scalar_Data &data) |
Definition at line 15 of file ec_inner_bn.h.
|
inline |
Definition at line 17 of file ec_inner_bn.h.
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 55 of file ec_inner_bn.cpp.
References checked_ref(), and value().
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 39 of file ec_inner_bn.cpp.
References checked_ref(), and value().
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 23 of file ec_inner_bn.cpp.
References group().
Referenced by serialize_to().
|
static |
Definition at line 11 of file ec_inner_bn.cpp.
Referenced by add(), assign(), is_eq(), Botan::EC_AffinePoint_Data_BN::mul(), mul(), Botan::EC_Mul2Table_Data_BN::mul2_vartime(), Botan::EC_Mul2Table_Data_BN::mul2_vartime_x_mod_order_eq(), and sub().
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 27 of file ec_inner_bn.cpp.
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 19 of file ec_inner_bn.cpp.
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 51 of file ec_inner_bn.cpp.
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 35 of file ec_inner_bn.cpp.
References checked_ref(), and value().
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 31 of file ec_inner_bn.cpp.
References Botan::BigInt::is_zero(), and value().
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 63 of file ec_inner_bn.cpp.
References checked_ref(), and value().
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 47 of file ec_inner_bn.cpp.
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 67 of file ec_inner_bn.cpp.
References BOTAN_ARG_CHECK, bytes(), and Botan::BigInt::serialize_to().
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 43 of file ec_inner_bn.cpp.
|
overridevirtual |
Implements Botan::EC_Scalar_Data.
Definition at line 59 of file ec_inner_bn.cpp.
References checked_ref(), and value().
|
inline |