Functions | Variables
p_x25519.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_x25519.c:

Go to the source code of this file.

Functions

static int pkey_x25519_copy (EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src)
 
static int pkey_x25519_ctrl (EVP_PKEY_CTX *ctx, int type, int p1, void *p2)
 
static int pkey_x25519_derive (EVP_PKEY_CTX *ctx, uint8_t *out, size_t *out_len)
 
static int pkey_x25519_keygen (EVP_PKEY_CTX *ctx, EVP_PKEY *pkey)
 

Variables

const EVP_PKEY_METHOD x25519_pkey_meth
 

Function Documentation

◆ pkey_x25519_copy()

static int pkey_x25519_copy ( EVP_PKEY_CTX dst,
EVP_PKEY_CTX src 
)
static

Definition at line 25 of file p_x25519.c.

◆ pkey_x25519_ctrl()

static int pkey_x25519_ctrl ( EVP_PKEY_CTX ctx,
int  type,
int  p1,
void *  p2 
)
static

Definition at line 81 of file p_x25519.c.

◆ pkey_x25519_derive()

static int pkey_x25519_derive ( EVP_PKEY_CTX ctx,
uint8_t out,
size_t *  out_len 
)
static

Definition at line 47 of file p_x25519.c.

◆ pkey_x25519_keygen()

static int pkey_x25519_keygen ( EVP_PKEY_CTX ctx,
EVP_PKEY pkey 
)
static

Definition at line 27 of file p_x25519.c.

Variable Documentation

◆ x25519_pkey_meth

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

Definition at line 94 of file p_x25519.c.

pkey_x25519_copy
static int pkey_x25519_copy(EVP_PKEY_CTX *dst, EVP_PKEY_CTX *src)
Definition: p_x25519.c:25
pkey_x25519_derive
static int pkey_x25519_derive(EVP_PKEY_CTX *ctx, uint8_t *out, size_t *out_len)
Definition: p_x25519.c:47
pkey_x25519_keygen
static int pkey_x25519_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey)
Definition: p_x25519.c:27
pkey_x25519_ctrl
static int pkey_x25519_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2)
Definition: p_x25519.c:81
EVP_PKEY_X25519
#define EVP_PKEY_X25519
Definition: evp.h:180


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