Botan 3.4.0
Crypto and TLS for C&
Namespaces | Functions
x448_internal.cpp File Reference
#include <botan/internal/x448_internal.h>
#include <botan/internal/ct_utils.h>
#include <botan/internal/curve448_gf.h>

Go to the source code of this file.

Namespaces

namespace  Botan
 

Functions

Point448 Botan::decode_point (std::span< const uint8_t > p_bytes)
 Decode a point from a byte array. RFC 7748 Section 5 (decodeUCoordinate)
 
ScalarX448 Botan::decode_scalar (std::span< const uint8_t > scalar_bytes)
 Decode a scalar from a byte array. RFC 7748 Section 5 (decodeScalar448)
 
secure_vector< uint8_t > Botan::encode_point (const Point448 &p)
 Encode a point to a 56 byte vector. RFC 7748 Section 5 (encodeUCoordinate)
 
Point448 Botan::x448 (const ScalarX448 &k, const Point448 &u)
 Multiply a scalar k with a point u.
 
Point448 Botan::x448_basepoint (const ScalarX448 &k)
 Multiply a scalar with the base group element (5)