Go to the documentation of this file.
71 #include "../internal.h"
133 if (
a->type !=
b->type) {
140 if (
a->ameth->param_cmp) {
141 ret =
a->ameth->param_cmp(
a,
b);
147 if (
a->ameth->pub_cmp) {
148 return a->ameth->pub_cmp(
a,
b);
156 if (
to->type !=
from->type) {
166 if (
from->ameth &&
from->ameth->param_copy) {
305 if (ec_key != NULL) {
352 if (
ret->ameth->set_priv_raw == NULL) {
376 if (
ret->ameth->set_pub_raw == NULL) {
413 if (
a->type !=
b->type) {
416 if (
a->ameth &&
a->ameth->param_cmp) {
417 return a->ameth->param_cmp(
a,
b);
EVP_PKEY * EVP_PKEY_new_raw_public_key(int type, ENGINE *unused, const uint8_t *in, size_t len)
DH * EVP_PKEY_get0_DH(const EVP_PKEY *pkey)
int EVP_PKEY_assign_EC_KEY(EVP_PKEY *pkey, EC_KEY *key)
#define EVP_R_EXPECTING_AN_RSA_KEY
#define OPENSSL_PUT_ERROR(library, reason)
int EVP_PKEY_bits(const EVP_PKEY *pkey)
#define EVP_PKEY_OP_TYPE_SIG
static void free_it(EVP_PKEY *pkey)
int EVP_PKEY_assign_RSA(EVP_PKEY *pkey, RSA *key)
int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key)
EVP_PKEY * EVP_PKEY_new_raw_private_key(int type, ENGINE *unused, const uint8_t *in, size_t len)
int EVP_PKEY_missing_parameters(const EVP_PKEY *pkey)
int EVP_PKEY_CTX_get_signature_md(EVP_PKEY_CTX *ctx, const EVP_MD **out_md)
static void * OPENSSL_memset(void *dst, int c, size_t n)
int(* pkey_opaque)(const EVP_PKEY *pk)
DH * EVP_PKEY_get1_DH(const EVP_PKEY *pkey)
EC_KEY * EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey)
int(* pkey_size)(const EVP_PKEY *pk)
void EVP_PKEY_free(EVP_PKEY *pkey)
#define ERR_add_error_dataf
EVP_PKEY * EVP_PKEY_new(void)
int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, EC_KEY *key)
#define EVP_PKEY_CTRL_GET_MD
int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key)
int EVP_PKEY_is_opaque(const EVP_PKEY *pkey)
int EVP_PKEY_assign_DSA(EVP_PKEY *pkey, DSA *key)
const EVP_PKEY_ASN1_METHOD * ameth
void OpenSSL_add_all_ciphers(void)
int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, DSA *key)
#define EVP_R_EXPECTING_AN_EC_KEY_KEY
#define OPENSSL_DECLARE_ERROR_REASON(lib, reason)
#define EVP_R_EXPECTING_A_DSA_KEY
#define EVP_PKEY_CTX_ctrl
int EVP_PKEY_id(const EVP_PKEY *pkey)
void(* pkey_free)(EVP_PKEY *pkey)
int EVP_PKEY_CTX_set_signature_md(EVP_PKEY_CTX *ctx, const EVP_MD *md)
#define EVP_R_MISSING_PARAMETERS
int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from)
union evp_pkey_st::@364 pkey
int EVP_PKEY_get_raw_public_key(const EVP_PKEY *pkey, uint8_t *out, size_t *out_len)
#define EVP_R_UNSUPPORTED_ALGORITHM
int(* get_priv_raw)(const EVP_PKEY *pkey, uint8_t *out, size_t *out_len)
int EVP_PKEY_get_raw_private_key(const EVP_PKEY *pkey, uint8_t *out, size_t *out_len)
int(* get_pub_raw)(const EVP_PKEY *pkey, uint8_t *out, size_t *out_len)
#define EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE
DSA * EVP_PKEY_get1_DSA(const EVP_PKEY *pkey)
int EVP_PKEY_base_id(const EVP_PKEY *pkey)
int EVP_PKEY_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b)
UniquePtr< SSL_SESSION > ret
RSA * EVP_PKEY_get1_RSA(const EVP_PKEY *pkey)
void OpenSSL_add_all_digests(void)
int(* pkey_bits)(const EVP_PKEY *pk)
DSA * EVP_PKEY_get0_DSA(const EVP_PKEY *pkey)
int EVP_PKEY_size(const EVP_PKEY *pkey)
#define CRYPTO_refcount_inc
int EVP_PKEY_type(int nid)
void OpenSSL_add_all_algorithms(void)
int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b)
#define EVP_R_DIFFERENT_KEY_TYPES
EC_KEY * EVP_PKEY_get1_EC_KEY(const EVP_PKEY *pkey)
int(* param_missing)(const EVP_PKEY *pk)
int EVP_PKEY_set_type(EVP_PKEY *pkey, int type)
int EVP_PKEY_up_ref(EVP_PKEY *pkey)
static const EVP_PKEY_ASN1_METHOD * evp_pkey_asn1_find(int nid)
CRYPTO_refcount_t references
void OPENSSL_add_all_algorithms_conf(void)
RSA * EVP_PKEY_get0_RSA(const EVP_PKEY *pkey)
#define ERR_R_MALLOC_FAILURE
#define ed25519_asn1_meth
void * EVP_PKEY_get0(const EVP_PKEY *pkey)
#define CRYPTO_refcount_dec_and_test_zero
grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:19