Botan 3.8.1
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 57 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 80 of file ec_inner_bn.cpp.
References group().
|
overridevirtual |
Implements Botan::EC_AffinePoint_Data.
Definition at line 88 of file ec_inner_bn.cpp.
|
overridevirtual |
Implements Botan::EC_AffinePoint_Data.
Definition at line 132 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 92 of file ec_inner_bn.cpp.
Referenced by EC_AffinePoint_Data_BN().
|
overridevirtual |
Implements Botan::EC_AffinePoint_Data.
Definition at line 136 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 96 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 114 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 161 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 172 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 140 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 154 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 147 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 83 of file ec_inner_bn.h.