Botan 3.6.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) | |
EC_AffinePoint_Data_BN (std::shared_ptr< const EC_Group_Data > group, std::span< const uint8_t > 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, std::vector< BigInt > &ws) 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 55 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 72 of file ec_inner_bn.cpp.
References Botan::EC_Point::is_zero().
Botan::EC_AffinePoint_Data_BN::EC_AffinePoint_Data_BN | ( | std::shared_ptr< const EC_Group_Data > | group, |
std::span< const uint8_t > | pt ) |
Definition at line 80 of file ec_inner_bn.cpp.
References BOTAN_ASSERT_NONNULL, Botan::EC_Point::is_zero(), Botan::OS2ECP(), and Botan::EC_Point::xy_bytes().
|
overridevirtual |
Implements Botan::EC_AffinePoint_Data.
Definition at line 90 of file ec_inner_bn.cpp.
|
overridevirtual |
Implements Botan::EC_AffinePoint_Data.
Definition at line 116 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 94 of file ec_inner_bn.cpp.
|
overridevirtual |
Implements Botan::EC_AffinePoint_Data.
Definition at line 120 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 98 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().
|
overridevirtual |
Implements Botan::EC_AffinePoint_Data.
Definition at line 145 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 156 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 124 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 138 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 131 of file ec_inner_bn.cpp.
References BOTAN_ARG_CHECK, BOTAN_STATE_CHECK, Botan::copy_mem(), field_element_bytes(), and is_identity().
|
inlineoverridevirtual |
Implements Botan::EC_AffinePoint_Data.
Definition at line 83 of file ec_inner_bn.h.