Botan 3.5.0
Crypto and TLS for C&
|
#include <pcurves.h>
Public Member Functions | |
const auto & | _curve () const |
const auto & | _x () const |
const auto & | _y () const |
AffinePoint (AffinePoint &&other)=default | |
AffinePoint (const AffinePoint &other)=default | |
size_t | bytes () const |
size_t | compressed_bytes () const |
bool | is_identity () const |
AffinePoint & | operator= (AffinePoint &&other)=default |
AffinePoint & | operator= (const AffinePoint &other)=default |
template<concepts::resizable_byte_buffer T = std::vector<uint8_t>> | |
T | serialize () const |
template<concepts::resizable_byte_buffer T = std::vector<uint8_t>> | |
T | serialize_compressed () const |
template<concepts::resizable_byte_buffer T = secure_vector<uint8_t>> | |
T | x_bytes () const |
~AffinePoint ()=default | |
Static Public Member Functions | |
static AffinePoint | _create (CurvePtr curve, StorageUnit x, StorageUnit y) |
static AffinePoint | generator (CurvePtr curve) |
A point on the elliptic curve in affine form
These points can be serialized, or converted to projective form for computation
|
default |
|
default |
|
default |
|
inlinestatic |
|
inline |
Definition at line 199 of file pcurves.h.
Referenced by Botan::PCurve::PrimeOrderCurve::ProjectivePoint::from_affine().
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Definition at line 152 of file pcurves.h.
References generator().
Referenced by generator().
|
inline |
|
default |
|
default |
|
inline |
|
inline |
Return the serialization of the point in compressed form
Definition at line 178 of file pcurves.h.
References T.
|
inline |