#include <openssl/evp.h>
#include <openssl/bytestring.h>
#include <openssl/curve25519.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include "internal.h"
#include "../internal.h"
static void x25519_free(EVP_PKEY *pkey) { … }
static int x25519_set_priv_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { … }
static int x25519_set_pub_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len) { … }
static int x25519_get_priv_raw(const EVP_PKEY *pkey, uint8_t *out,
size_t *out_len) { … }
static int x25519_get_pub_raw(const EVP_PKEY *pkey, uint8_t *out,
size_t *out_len) { … }
static int x25519_set1_tls_encodedpoint(EVP_PKEY *pkey, const uint8_t *in,
size_t len) { … }
static size_t x25519_get1_tls_encodedpoint(const EVP_PKEY *pkey,
uint8_t **out_ptr) { … }
static int x25519_pub_decode(EVP_PKEY *out, CBS *params, CBS *key) { … }
static int x25519_pub_encode(CBB *out, const EVP_PKEY *pkey) { … }
static int x25519_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) { … }
static int x25519_priv_decode(EVP_PKEY *out, CBS *params, CBS *key) { … }
static int x25519_priv_encode(CBB *out, const EVP_PKEY *pkey) { … }
static int x25519_size(const EVP_PKEY *pkey) { … }
static int x25519_bits(const EVP_PKEY *pkey) { … }
const EVP_PKEY_ASN1_METHOD x25519_asn1_meth = …;