10#include <botan/pk_keys.h>
16 std::string
algo_name()
const override {
return "X25519"; }
26 std::vector<uint8_t> raw_public_key_bits()
const override;
28 std::vector<uint8_t> public_key_bits()
const override;
80 std::vector<uint8_t>
public_value()
const override {
return X25519_PublicKey::public_value(); }
90 std::unique_ptr<Public_Key> public_key()
const override;
95 std::string_view params,
96 std::string_view provider)
const override;
109void
curve25519_donna(uint8_t mypublic[32], const uint8_t secret[32], const uint8_t basepoint[32]);
std::vector< uint8_t > public_value() const override
secure_vector< uint8_t > raw_private_key_bits() const override
std::string algo_name() const override
size_t estimated_strength() const override
std::vector< uint8_t > m_public
X25519_PublicKey()=default
std::vector< uint8_t > public_value() const
bool supports_operation(PublicKeyOperation op) const override
size_t key_length() const override
int(* final)(unsigned char *, CTX *)
#define BOTAN_DIAGNOSTIC_POP
#define BOTAN_DIAGNOSTIC_PUSH
#define BOTAN_DIAGNOSTIC_IGNORE_INHERITED_VIA_DOMINANCE
#define BOTAN_PUBLIC_API(maj, min)
#define BOTAN_DEPRECATED(msg)
#define BOTAN_DEPRECATED_API(msg)
void curve25519_donna(uint8_t mypublic[32], const uint8_t secret[32], const uint8_t basepoint[32])
std::vector< T, secure_allocator< T > > secure_vector
void curve25519_basepoint(uint8_t mypublic[32], const uint8_t secret[32])