#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"
Go to the source code of this file.
Functions | |
size_t | EVP_PKEY_get1_tls_encodedpoint (const EVP_PKEY *pkey, uint8_t **out_ptr) |
int | EVP_PKEY_set1_tls_encodedpoint (EVP_PKEY *pkey, const uint8_t *in, size_t len) |
static int | x25519_bits (const EVP_PKEY *pkey) |
static void | x25519_free (EVP_PKEY *pkey) |
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_priv_decode (EVP_PKEY *out, CBS *params, CBS *key) |
static int | x25519_priv_encode (CBB *out, const EVP_PKEY *pkey) |
static int | x25519_pub_cmp (const EVP_PKEY *a, const EVP_PKEY *b) |
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_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_size (const EVP_PKEY *pkey) |
Variables | |
const EVP_PKEY_ASN1_METHOD | x25519_asn1_meth |
Definition at line 232 of file p_x25519_asn1.c.
Definition at line 220 of file p_x25519_asn1.c.
Definition at line 196 of file p_x25519_asn1.c.
|
static |
Definition at line 26 of file p_x25519_asn1.c.
Definition at line 72 of file p_x25519_asn1.c.
Definition at line 95 of file p_x25519_asn1.c.
Definition at line 151 of file p_x25519_asn1.c.
Definition at line 167 of file p_x25519_asn1.c.
Definition at line 145 of file p_x25519_asn1.c.
Definition at line 113 of file p_x25519_asn1.c.
Definition at line 125 of file p_x25519_asn1.c.
Definition at line 31 of file p_x25519_asn1.c.
Definition at line 52 of file p_x25519_asn1.c.
Definition at line 194 of file p_x25519_asn1.c.
const EVP_PKEY_ASN1_METHOD x25519_asn1_meth |
Definition at line 198 of file p_x25519_asn1.c.