Functions
evp.c File Reference
#include <openssl/evp.h>
#include <assert.h>
#include <string.h>
#include <openssl/dsa.h>
#include <openssl/ec.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include <openssl/nid.h>
#include <openssl/rsa.h>
#include <openssl/thread.h>
#include "internal.h"
#include "../internal.h"
Include dependency graph for evp.c:

Go to the source code of this file.

Functions

void EVP_cleanup (void)
 
static const EVP_PKEY_ASN1_METHODevp_pkey_asn1_find (int nid)
 
int EVP_PKEY_assign (EVP_PKEY *pkey, int type, void *key)
 
int EVP_PKEY_assign_DSA (EVP_PKEY *pkey, DSA *key)
 
int EVP_PKEY_assign_EC_KEY (EVP_PKEY *pkey, EC_KEY *key)
 
int EVP_PKEY_assign_RSA (EVP_PKEY *pkey, RSA *key)
 
int EVP_PKEY_base_id (const EVP_PKEY *pkey)
 
int EVP_PKEY_bits (const EVP_PKEY *pkey)
 
int EVP_PKEY_cmp (const EVP_PKEY *a, const EVP_PKEY *b)
 
int EVP_PKEY_cmp_parameters (const EVP_PKEY *a, const EVP_PKEY *b)
 
int EVP_PKEY_copy_parameters (EVP_PKEY *to, const EVP_PKEY *from)
 
int EVP_PKEY_CTX_get_signature_md (EVP_PKEY_CTX *ctx, const EVP_MD **out_md)
 
int EVP_PKEY_CTX_set_signature_md (EVP_PKEY_CTX *ctx, const EVP_MD *md)
 
void EVP_PKEY_free (EVP_PKEY *pkey)
 
void * EVP_PKEY_get0 (const EVP_PKEY *pkey)
 
DHEVP_PKEY_get0_DH (const EVP_PKEY *pkey)
 
DSAEVP_PKEY_get0_DSA (const EVP_PKEY *pkey)
 
EC_KEYEVP_PKEY_get0_EC_KEY (const EVP_PKEY *pkey)
 
RSAEVP_PKEY_get0_RSA (const EVP_PKEY *pkey)
 
DHEVP_PKEY_get1_DH (const EVP_PKEY *pkey)
 
DSAEVP_PKEY_get1_DSA (const EVP_PKEY *pkey)
 
EC_KEYEVP_PKEY_get1_EC_KEY (const EVP_PKEY *pkey)
 
RSAEVP_PKEY_get1_RSA (const EVP_PKEY *pkey)
 
int EVP_PKEY_get_raw_private_key (const EVP_PKEY *pkey, uint8_t *out, size_t *out_len)
 
int EVP_PKEY_get_raw_public_key (const EVP_PKEY *pkey, uint8_t *out, size_t *out_len)
 
int EVP_PKEY_id (const EVP_PKEY *pkey)
 
int EVP_PKEY_is_opaque (const EVP_PKEY *pkey)
 
int EVP_PKEY_missing_parameters (const EVP_PKEY *pkey)
 
EVP_PKEYEVP_PKEY_new (void)
 
EVP_PKEYEVP_PKEY_new_raw_private_key (int type, ENGINE *unused, const uint8_t *in, size_t len)
 
EVP_PKEYEVP_PKEY_new_raw_public_key (int type, ENGINE *unused, const uint8_t *in, size_t len)
 
int EVP_PKEY_set1_DSA (EVP_PKEY *pkey, DSA *key)
 
int EVP_PKEY_set1_EC_KEY (EVP_PKEY *pkey, EC_KEY *key)
 
int EVP_PKEY_set1_RSA (EVP_PKEY *pkey, RSA *key)
 
int EVP_PKEY_set_type (EVP_PKEY *pkey, int type)
 
int EVP_PKEY_size (const EVP_PKEY *pkey)
 
int EVP_PKEY_type (int nid)
 
int EVP_PKEY_up_ref (EVP_PKEY *pkey)
 
static void free_it (EVP_PKEY *pkey)
 
void OpenSSL_add_all_algorithms (void)
 
void OPENSSL_add_all_algorithms_conf (void)
 
void OpenSSL_add_all_ciphers (void)
 
void OpenSSL_add_all_digests (void)
 

Function Documentation

◆ EVP_cleanup()

void EVP_cleanup ( void  )

Definition at line 449 of file evp.c.

◆ evp_pkey_asn1_find()

static const EVP_PKEY_ASN1_METHOD* evp_pkey_asn1_find ( int  nid)
static

Definition at line 202 of file evp.c.

◆ EVP_PKEY_assign()

int EVP_PKEY_assign ( EVP_PKEY pkey,
int  type,
void *  key 
)

Definition at line 314 of file evp.c.

◆ EVP_PKEY_assign_DSA()

int EVP_PKEY_assign_DSA ( EVP_PKEY pkey,
DSA key 
)

Definition at line 263 of file evp.c.

◆ EVP_PKEY_assign_EC_KEY()

int EVP_PKEY_assign_EC_KEY ( EVP_PKEY pkey,
EC_KEY key 
)

Definition at line 291 of file evp.c.

◆ EVP_PKEY_assign_RSA()

int EVP_PKEY_assign_RSA ( EVP_PKEY pkey,
RSA key 
)

Definition at line 235 of file evp.c.

◆ EVP_PKEY_base_id()

int EVP_PKEY_base_id ( const EVP_PKEY pkey)

Definition at line 451 of file evp.c.

◆ EVP_PKEY_bits()

int EVP_PKEY_bits ( const EVP_PKEY pkey)

Definition at line 188 of file evp.c.

◆ EVP_PKEY_cmp()

int EVP_PKEY_cmp ( const EVP_PKEY a,
const EVP_PKEY b 
)

Definition at line 132 of file evp.c.

◆ EVP_PKEY_cmp_parameters()

int EVP_PKEY_cmp_parameters ( const EVP_PKEY a,
const EVP_PKEY b 
)

Definition at line 412 of file evp.c.

◆ EVP_PKEY_copy_parameters()

int EVP_PKEY_copy_parameters ( EVP_PKEY to,
const EVP_PKEY from 
)

Definition at line 155 of file evp.c.

◆ EVP_PKEY_CTX_get_signature_md()

int EVP_PKEY_CTX_get_signature_md ( EVP_PKEY_CTX ctx,
const EVP_MD **  out_md 
)

Definition at line 427 of file evp.c.

◆ EVP_PKEY_CTX_set_signature_md()

int EVP_PKEY_CTX_set_signature_md ( EVP_PKEY_CTX ctx,
const EVP_MD md 
)

Definition at line 422 of file evp.c.

◆ EVP_PKEY_free()

void EVP_PKEY_free ( EVP_PKEY pkey)

Definition at line 107 of file evp.c.

◆ EVP_PKEY_get0()

void* EVP_PKEY_get0 ( const EVP_PKEY pkey)

Definition at line 432 of file evp.c.

◆ EVP_PKEY_get0_DH()

DH* EVP_PKEY_get0_DH ( const EVP_PKEY pkey)

Definition at line 311 of file evp.c.

◆ EVP_PKEY_get0_DSA()

DSA* EVP_PKEY_get0_DSA ( const EVP_PKEY pkey)

Definition at line 267 of file evp.c.

◆ EVP_PKEY_get0_EC_KEY()

EC_KEY* EVP_PKEY_get0_EC_KEY ( const EVP_PKEY pkey)

Definition at line 295 of file evp.c.

◆ EVP_PKEY_get0_RSA()

RSA* EVP_PKEY_get0_RSA ( const EVP_PKEY pkey)

Definition at line 239 of file evp.c.

◆ EVP_PKEY_get1_DH()

DH* EVP_PKEY_get1_DH ( const EVP_PKEY pkey)

Definition at line 312 of file evp.c.

◆ EVP_PKEY_get1_DSA()

DSA* EVP_PKEY_get1_DSA ( const EVP_PKEY pkey)

Definition at line 275 of file evp.c.

◆ EVP_PKEY_get1_EC_KEY()

EC_KEY* EVP_PKEY_get1_EC_KEY ( const EVP_PKEY pkey)

Definition at line 303 of file evp.c.

◆ EVP_PKEY_get1_RSA()

RSA* EVP_PKEY_get1_RSA ( const EVP_PKEY pkey)

Definition at line 247 of file evp.c.

◆ EVP_PKEY_get_raw_private_key()

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

Definition at line 392 of file evp.c.

◆ EVP_PKEY_get_raw_public_key()

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

Definition at line 402 of file evp.c.

◆ EVP_PKEY_id()

int EVP_PKEY_id ( const EVP_PKEY pkey)

Definition at line 195 of file evp.c.

◆ EVP_PKEY_is_opaque()

int EVP_PKEY_is_opaque ( const EVP_PKEY pkey)

Definition at line 125 of file evp.c.

◆ EVP_PKEY_missing_parameters()

int EVP_PKEY_missing_parameters ( const EVP_PKEY pkey)

Definition at line 174 of file evp.c.

◆ EVP_PKEY_new()

EVP_PKEY* EVP_PKEY_new ( void  )

Definition at line 83 of file evp.c.

◆ EVP_PKEY_new_raw_private_key()

EVP_PKEY* EVP_PKEY_new_raw_private_key ( int  type,
ENGINE unused,
const uint8_t in,
size_t  len 
)

Definition at line 344 of file evp.c.

◆ EVP_PKEY_new_raw_public_key()

EVP_PKEY* EVP_PKEY_new_raw_public_key ( int  type,
ENGINE unused,
const uint8_t in,
size_t  len 
)

Definition at line 368 of file evp.c.

◆ EVP_PKEY_set1_DSA()

int EVP_PKEY_set1_DSA ( EVP_PKEY pkey,
DSA key 
)

Definition at line 255 of file evp.c.

◆ EVP_PKEY_set1_EC_KEY()

int EVP_PKEY_set1_EC_KEY ( EVP_PKEY pkey,
EC_KEY key 
)

Definition at line 283 of file evp.c.

◆ EVP_PKEY_set1_RSA()

int EVP_PKEY_set1_RSA ( EVP_PKEY pkey,
RSA key 
)

Definition at line 227 of file evp.c.

◆ EVP_PKEY_set_type()

int EVP_PKEY_set_type ( EVP_PKEY pkey,
int  type 
)

Definition at line 322 of file evp.c.

◆ EVP_PKEY_size()

int EVP_PKEY_size ( const EVP_PKEY pkey)

Definition at line 181 of file evp.c.

◆ EVP_PKEY_type()

int EVP_PKEY_type ( int  nid)

Definition at line 219 of file evp.c.

◆ EVP_PKEY_up_ref()

int EVP_PKEY_up_ref ( EVP_PKEY pkey)

Definition at line 120 of file evp.c.

◆ free_it()

static void free_it ( EVP_PKEY pkey)
static

Definition at line 99 of file evp.c.

◆ OpenSSL_add_all_algorithms()

void OpenSSL_add_all_algorithms ( void  )

Definition at line 441 of file evp.c.

◆ OPENSSL_add_all_algorithms_conf()

void OPENSSL_add_all_algorithms_conf ( void  )

Definition at line 443 of file evp.c.

◆ OpenSSL_add_all_ciphers()

void OpenSSL_add_all_ciphers ( void  )

Definition at line 445 of file evp.c.

◆ OpenSSL_add_all_digests()

void OpenSSL_add_all_digests ( void  )

Definition at line 447 of file evp.c.



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