Botan 3.4.0
Crypto and TLS for C&
Namespaces | Typedefs | Functions | Variables
x448_internal.h File Reference

Internal Header. More...

#include <botan/secmem.h>
#include <botan/strong_type.h>

Go to the source code of this file.

Namespaces

namespace  Botan
 

Typedefs

using Botan::Point448 = Strong<std::array<uint8_t, X448_LEN>, struct Point448_>
 
using Botan::ScalarX448 = Strong<std::array<uint8_t, X448_LEN>, struct ScalarX448_>
 

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)
 

Variables

constexpr size_t Botan::X448_LEN = 56
 

Detailed Description

Internal Header.

Definition in file x448_internal.h.