Botan 3.9.0
Crypto and TLS for C&
|
#include <ec_inner_bn.h>
Public Member Functions | |
std::unique_ptr< EC_AffinePoint_Data > | clone () const override |
EC_AffinePoint_Data_BN (std::shared_ptr< const EC_Group_Data > group, EC_Point pt) | |
size_t | field_element_bytes () const override |
const std::shared_ptr< const EC_Group_Data > & | group () const override |
bool | is_identity () const override |
std::unique_ptr< EC_AffinePoint_Data > | mul (const EC_Scalar_Data &scalar, RandomNumberGenerator &rng) const override |
secure_vector< uint8_t > | mul_x_only (const EC_Scalar_Data &scalar, RandomNumberGenerator &rng) const override |
void | serialize_compressed_to (std::span< uint8_t > bytes) const override |
void | serialize_uncompressed_to (std::span< uint8_t > bytes) const override |
void | serialize_x_to (std::span< uint8_t > bytes) const override |
void | serialize_xy_to (std::span< uint8_t > bytes) const override |
void | serialize_y_to (std::span< uint8_t > bytes) const override |
EC_Point | to_legacy_point () const override |
Definition at line 59 of file ec_inner_bn.h.
Botan::EC_AffinePoint_Data_BN::EC_AffinePoint_Data_BN | ( | std::shared_ptr< const EC_Group_Data > | group, |
EC_Point | pt ) |
Definition at line 87 of file ec_inner_bn.cpp.
References group().
|
overridevirtual |
Implements Botan::EC_AffinePoint_Data.
Definition at line 95 of file ec_inner_bn.cpp.
|
overridevirtual |
Implements Botan::EC_AffinePoint_Data.
Definition at line 139 of file ec_inner_bn.cpp.
Referenced by serialize_compressed_to(), serialize_uncompressed_to(), serialize_x_to(), serialize_xy_to(), and serialize_y_to().
|
overridevirtual |
Implements Botan::EC_AffinePoint_Data.
Definition at line 99 of file ec_inner_bn.cpp.
Referenced by EC_AffinePoint_Data_BN().
|
overridevirtual |
Implements Botan::EC_AffinePoint_Data.
Definition at line 143 of file ec_inner_bn.cpp.
Referenced by serialize_compressed_to(), serialize_uncompressed_to(), serialize_x_to(), serialize_xy_to(), and serialize_y_to().
|
overridevirtual |
Implements Botan::EC_AffinePoint_Data.
Definition at line 103 of file ec_inner_bn.cpp.
References BOTAN_ARG_CHECK, Botan::EC_Scalar_Data_BN::checked_ref(), Botan::EC_Scalar_Data::group(), and mul().
Referenced by mul(), and mul_x_only().
|
overridevirtual |
Implements Botan::EC_AffinePoint_Data.
Definition at line 121 of file ec_inner_bn.cpp.
References BOTAN_ARG_CHECK, Botan::EC_Scalar_Data_BN::checked_ref(), Botan::EC_Scalar_Data::group(), and mul().
|
overridevirtual |
Implements Botan::EC_AffinePoint_Data.
Definition at line 168 of file ec_inner_bn.cpp.
References Botan::BufferStuffer::append(), BOTAN_ARG_CHECK, BOTAN_STATE_CHECK, field_element_bytes(), is_identity(), Botan::BufferStuffer::next(), and serialize_x_to().
|
overridevirtual |
Implements Botan::EC_AffinePoint_Data.
Definition at line 179 of file ec_inner_bn.cpp.
References Botan::BufferStuffer::append(), BOTAN_ARG_CHECK, BOTAN_STATE_CHECK, field_element_bytes(), and is_identity().
|
overridevirtual |
Implements Botan::EC_AffinePoint_Data.
Definition at line 147 of file ec_inner_bn.cpp.
References BOTAN_ARG_CHECK, BOTAN_STATE_CHECK, Botan::copy_mem(), field_element_bytes(), and is_identity().
Referenced by serialize_compressed_to().
|
overridevirtual |
Implements Botan::EC_AffinePoint_Data.
Definition at line 161 of file ec_inner_bn.cpp.
References BOTAN_ARG_CHECK, BOTAN_STATE_CHECK, Botan::copy_mem(), field_element_bytes(), and is_identity().
|
overridevirtual |
Implements Botan::EC_AffinePoint_Data.
Definition at line 154 of file ec_inner_bn.cpp.
References BOTAN_ARG_CHECK, BOTAN_STATE_CHECK, Botan::copy_mem(), field_element_bytes(), and is_identity().
|
inlineoverride |
Definition at line 85 of file ec_inner_bn.h.