Functions | Variables
p_ed25519.c File Reference
#include <openssl/evp.h>
#include <openssl/curve25519.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include "internal.h"
Include dependency graph for p_ed25519.c:

Go to the source code of this file.

Functions

static int pkey_ed25519_copy (EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src)
 
static int pkey_ed25519_keygen (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey)
 
static int pkey_ed25519_sign_message (EVP_PKEY_CTX *ctx, uint8_t *sig, size_t *siglen, const uint8_t *tbs, size_t tbslen)
 
static int pkey_ed25519_verify_message (EVP_PKEY_CTX *ctx, const uint8_t *sig, size_t siglen, const uint8_t *tbs, size_t tbslen)
 

Variables

const EVP_PKEY_METHOD ed25519_pkey_meth
 

Function Documentation

◆ pkey_ed25519_copy()

static int pkey_ed25519_copy ( EVP_PKEY_CTX dst,
EVP_PKEY_CTX src 
)
static

Definition at line 25 of file p_ed25519.c.

◆ pkey_ed25519_keygen()

static int pkey_ed25519_keygen ( EVP_PKEY_CTX ctx,
EVP_PKEY pkey 
)
static

Definition at line 27 of file p_ed25519.c.

◆ pkey_ed25519_sign_message()

static int pkey_ed25519_sign_message ( EVP_PKEY_CTX ctx,
uint8_t sig,
size_t *  siglen,
const uint8_t tbs,
size_t  tbslen 
)
static

Definition at line 48 of file p_ed25519.c.

◆ pkey_ed25519_verify_message()

static int pkey_ed25519_verify_message ( EVP_PKEY_CTX ctx,
const uint8_t sig,
size_t  siglen,
const uint8_t tbs,
size_t  tbslen 
)
static

Definition at line 75 of file p_ed25519.c.

Variable Documentation

◆ ed25519_pkey_meth

const EVP_PKEY_METHOD ed25519_pkey_meth
Initial value:
= {
NULL ,
NULL ,
NULL ,
NULL ,
NULL ,
NULL ,
NULL ,
NULL ,
NULL ,
NULL ,
}

Definition at line 88 of file p_ed25519.c.

pkey_ed25519_keygen
static int pkey_ed25519_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey)
Definition: p_ed25519.c:27
EVP_PKEY_ED25519
#define EVP_PKEY_ED25519
Definition: evp.h:179
pkey_ed25519_copy
static int pkey_ed25519_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src)
Definition: p_ed25519.c:25
pkey_ed25519_sign_message
static int pkey_ed25519_sign_message(EVP_PKEY_CTX *ctx, uint8_t *sig, size_t *siglen, const uint8_t *tbs, size_t tbslen)
Definition: p_ed25519.c:48
pkey_ed25519_verify_message
static int pkey_ed25519_verify_message(EVP_PKEY_CTX *ctx, const uint8_t *sig, size_t siglen, const uint8_t *tbs, size_t tbslen)
Definition: p_ed25519.c:75


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