Functions | Variables
p_ed25519_asn1.c File Reference
#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"
Include dependency graph for p_ed25519_asn1.c:

Go to the source code of this file.

Functions

static int ed25519_bits (const EVP_PKEY *pkey)
 
static void ed25519_free (EVP_PKEY *pkey)
 
static int ed25519_get_priv_raw (const EVP_PKEY *pkey, uint8_t *out, size_t *out_len)
 
static int ed25519_get_pub_raw (const EVP_PKEY *pkey, uint8_t *out, size_t *out_len)
 
static int ed25519_priv_decode (EVP_PKEY *out, CBS *params, CBS *key)
 
static int ed25519_priv_encode (CBB *out, const EVP_PKEY *pkey)
 
static int ed25519_pub_cmp (const EVP_PKEY *a, const EVP_PKEY *b)
 
static int ed25519_pub_decode (EVP_PKEY *out, CBS *params, CBS *key)
 
static int ed25519_pub_encode (CBB *out, const EVP_PKEY *pkey)
 
static int ed25519_set_priv_raw (EVP_PKEY *pkey, const uint8_t *in, size_t len)
 
static int ed25519_set_pub_raw (EVP_PKEY *pkey, const uint8_t *in, size_t len)
 
static int ed25519_size (const EVP_PKEY *pkey)
 

Variables

const EVP_PKEY_ASN1_METHOD ed25519_asn1_meth
 

Function Documentation

◆ ed25519_bits()

static int ed25519_bits ( const EVP_PKEY pkey)
static

Definition at line 199 of file p_ed25519_asn1.c.

◆ ed25519_free()

static void ed25519_free ( EVP_PKEY pkey)
static

Definition at line 26 of file p_ed25519_asn1.c.

◆ ed25519_get_priv_raw()

static int ed25519_get_priv_raw ( const EVP_PKEY pkey,
uint8_t out,
size_t *  out_len 
)
static

Definition at line 74 of file p_ed25519_asn1.c.

◆ ed25519_get_pub_raw()

static int ed25519_get_pub_raw ( const EVP_PKEY pkey,
uint8_t out,
size_t *  out_len 
)
static

Definition at line 98 of file p_ed25519_asn1.c.

◆ ed25519_priv_decode()

static int ed25519_priv_decode ( EVP_PKEY out,
CBS params,
CBS key 
)
static

Definition at line 154 of file p_ed25519_asn1.c.

◆ ed25519_priv_encode()

static int ed25519_priv_encode ( CBB out,
const EVP_PKEY pkey 
)
static

Definition at line 170 of file p_ed25519_asn1.c.

◆ ed25519_pub_cmp()

static int ed25519_pub_cmp ( const EVP_PKEY a,
const EVP_PKEY b 
)
static

Definition at line 148 of file p_ed25519_asn1.c.

◆ ed25519_pub_decode()

static int ed25519_pub_decode ( EVP_PKEY out,
CBS params,
CBS key 
)
static

Definition at line 116 of file p_ed25519_asn1.c.

◆ ed25519_pub_encode()

static int ed25519_pub_encode ( CBB out,
const EVP_PKEY pkey 
)
static

Definition at line 128 of file p_ed25519_asn1.c.

◆ ed25519_set_priv_raw()

static int ed25519_set_priv_raw ( EVP_PKEY pkey,
const uint8_t in,
size_t  len 
)
static

Definition at line 31 of file p_ed25519_asn1.c.

◆ ed25519_set_pub_raw()

static int ed25519_set_pub_raw ( EVP_PKEY pkey,
const uint8_t in,
size_t  len 
)
static

Definition at line 54 of file p_ed25519_asn1.c.

◆ ed25519_size()

static int ed25519_size ( const EVP_PKEY pkey)
static

Definition at line 197 of file p_ed25519_asn1.c.

Variable Documentation

◆ ed25519_asn1_meth

const EVP_PKEY_ASN1_METHOD ed25519_asn1_meth
ed25519_free
static void ed25519_free(EVP_PKEY *pkey)
Definition: p_ed25519_asn1.c:26
ed25519_priv_decode
static int ed25519_priv_decode(EVP_PKEY *out, CBS *params, CBS *key)
Definition: p_ed25519_asn1.c:154
ed25519_bits
static int ed25519_bits(const EVP_PKEY *pkey)
Definition: p_ed25519_asn1.c:199
EVP_PKEY_ED25519
#define EVP_PKEY_ED25519
Definition: evp.h:179
ed25519_get_pub_raw
static int ed25519_get_pub_raw(const EVP_PKEY *pkey, uint8_t *out, size_t *out_len)
Definition: p_ed25519_asn1.c:98
ed25519_priv_encode
static int ed25519_priv_encode(CBB *out, const EVP_PKEY *pkey)
Definition: p_ed25519_asn1.c:170
ed25519_pub_decode
static int ed25519_pub_decode(EVP_PKEY *out, CBS *params, CBS *key)
Definition: p_ed25519_asn1.c:116
ed25519_set_pub_raw
static int ed25519_set_pub_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len)
Definition: p_ed25519_asn1.c:54
ed25519_pub_cmp
static int ed25519_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b)
Definition: p_ed25519_asn1.c:148
ed25519_size
static int ed25519_size(const EVP_PKEY *pkey)
Definition: p_ed25519_asn1.c:197
ed25519_pub_encode
static int ed25519_pub_encode(CBB *out, const EVP_PKEY *pkey)
Definition: p_ed25519_asn1.c:128
ed25519_get_priv_raw
static int ed25519_get_priv_raw(const EVP_PKEY *pkey, uint8_t *out, size_t *out_len)
Definition: p_ed25519_asn1.c:74
ed25519_set_priv_raw
static int ed25519_set_priv_raw(EVP_PKEY *pkey, const uint8_t *in, size_t len)
Definition: p_ed25519_asn1.c:31


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:25