| /crypto/pem/ |
| A D | pem_pkey.c | 35 static EVP_PKEY *pem_read_bio_key_decoder(BIO *bp, EVP_PKEY **x, in pem_read_bio_key_decoder() 101 static EVP_PKEY *pem_read_bio_key_legacy(BIO *bp, EVP_PKEY **x, in pem_read_bio_key_legacy() 216 static EVP_PKEY *pem_read_bio_key(BIO *bp, EVP_PKEY **x, in pem_read_bio_key() 264 EVP_PKEY *PEM_read_bio_PUBKEY_ex(BIO *bp, EVP_PKEY **x, in PEM_read_bio_PUBKEY_ex() 272 EVP_PKEY *PEM_read_bio_PUBKEY(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, in PEM_read_bio_PUBKEY() 279 EVP_PKEY *PEM_read_PUBKEY_ex(FILE *fp, EVP_PKEY **x, in PEM_read_PUBKEY_ex() 284 EVP_PKEY *ret; in PEM_read_PUBKEY_ex() 302 EVP_PKEY *PEM_read_bio_PrivateKey_ex(BIO *bp, EVP_PKEY **x, in PEM_read_bio_PrivateKey_ex() 376 EVP_PKEY *PEM_read_bio_Parameters_ex(BIO *bp, EVP_PKEY **x, in PEM_read_bio_Parameters_ex() 387 EVP_PKEY *PEM_read_bio_Parameters(BIO *bp, EVP_PKEY **x) in PEM_read_bio_Parameters() [all …]
|
| A D | pem_pk8.c | 21 static int do_pk8pkey(BIO *bp, const EVP_PKEY *x, int isder, 28 static int do_pk8pkey_fp(FILE *bp, const EVP_PKEY *x, int isder, 41 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, const EVP_PKEY *x, int nid, in PEM_write_bio_PKCS8PrivateKey_nid() 62 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, const EVP_PKEY *x, int nid, in i2d_PKCS8PrivateKey_nid_bio() 69 static int do_pk8pkey(BIO *bp, const EVP_PKEY *x, int isder, int nid, in do_pk8pkey() 169 EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, in d2i_PKCS8PrivateKey_bio() 175 EVP_PKEY *ret; in d2i_PKCS8PrivateKey_bio() 215 int i2d_PKCS8PrivateKey_nid_fp(FILE *fp, const EVP_PKEY *x, int nid, in i2d_PKCS8PrivateKey_nid_fp() 222 int PEM_write_PKCS8PrivateKey_nid(FILE *fp, const EVP_PKEY *x, int nid, in PEM_write_PKCS8PrivateKey_nid() 252 EVP_PKEY *d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, in d2i_PKCS8PrivateKey_fp() [all …]
|
| A D | pem_all.c | 28 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa); 30 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa); 34 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey); 53 static RSA *pkey_get_rsa(EVP_PKEY *key, RSA **rsa) in IMPLEMENT_PEM_rw() 72 EVP_PKEY *pktmp; in PEM_read_bio_RSAPrivateKey() 81 EVP_PKEY *pktmp; in PEM_read_RSAPrivateKey() 93 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa) in IMPLEMENT_PEM_write_cb() 112 EVP_PKEY *pktmp; in PEM_read_bio_DSAPrivateKey() 122 EVP_PKEY *pktmp; in IMPLEMENT_PEM_write_cb() 153 EVP_PKEY *pktmp; in PEM_read_bio_ECPrivateKey() [all …]
|
| A D | pvkfmt.c | 72 static EVP_PKEY *evp_pkey_new0_key(void *key, int evp_type) in evp_pkey_new0_key() 74 EVP_PKEY *pkey = NULL; in evp_pkey_new0_key() 325 EVP_PKEY *ossl_b2i_bio(BIO *in, int *ispub) in ossl_b2i_bio() 332 EVP_PKEY *pkey = NULL; in ossl_b2i_bio() 521 EVP_PKEY *b2i_PublicKey(const unsigned char **in, long length) in b2i_PublicKey() 528 EVP_PKEY *b2i_PrivateKey_bio(BIO *in) in b2i_PrivateKey_bio() 535 EVP_PKEY *b2i_PublicKey_bio(BIO *in) in b2i_PublicKey_bio() 750 int i2b_PrivateKey_bio(BIO *out, const EVP_PKEY *pk) in i2b_PrivateKey_bio() 755 int i2b_PublicKey_bio(BIO *out, const EVP_PKEY *pk) in i2b_PublicKey_bio() 1023 EVP_PKEY *b2i_PVK_bio(BIO *in, pem_password_cb *cb, void *u) in b2i_PVK_bio() [all …]
|
| /crypto/evp/ |
| A D | p_lib.c | 132 int EVP_PKEY_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) in EVP_PKEY_copy_parameters() 261 static int evp_pkey_cmp_any(const EVP_PKEY *a, const EVP_PKEY *b, in evp_pkey_cmp_any() 265 return evp_keymgmt_util_match((EVP_PKEY *)a, (EVP_PKEY *)b, selection); in evp_pkey_cmp_any() 276 return evp_keymgmt_util_match((EVP_PKEY *)a, (EVP_PKEY *)b, selection); in evp_pkey_cmp_any() 330 int EVP_PKEY_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) in EVP_PKEY_cmp_parameters() 337 int EVP_PKEY_parameters_eq(const EVP_PKEY *a, const EVP_PKEY *b) in EVP_PKEY_parameters_eq() 361 int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b) in EVP_PKEY_cmp() 368 int EVP_PKEY_eq(const EVP_PKEY *a, const EVP_PKEY *b) in EVP_PKEY_eq() 1719 EVP_PKEY *EVP_PKEY_dup(EVP_PKEY *pkey) in EVP_PKEY_dup() 1721 EVP_PKEY *dup_pk; in EVP_PKEY_dup() [all …]
|
| A D | p_legacy.c | 25 int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, RSA *key) in EVP_PKEY_set1_RSA() 40 RSA *evp_pkey_get0_RSA_int(const EVP_PKEY *pkey) in evp_pkey_get0_RSA_int() 46 return evp_pkey_get_legacy((EVP_PKEY *)pkey); in evp_pkey_get0_RSA_int() 49 const RSA *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey) in EVP_PKEY_get0_RSA() 54 RSA *EVP_PKEY_get1_RSA(EVP_PKEY *pkey) in EVP_PKEY_get1_RSA() 65 int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, EC_KEY *key) in EVP_PKEY_set1_EC_KEY() 76 EC_KEY *evp_pkey_get0_EC_KEY_int(const EVP_PKEY *pkey) in evp_pkey_get0_EC_KEY_int() 82 return evp_pkey_get_legacy((EVP_PKEY *)pkey); in evp_pkey_get0_EC_KEY_int() 85 const EC_KEY *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey) in EVP_PKEY_get0_EC_KEY() 90 EC_KEY *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey) in EVP_PKEY_get1_EC_KEY()
|
| A D | evp_pkey.c | 33 EVP_PKEY *pkey = NULL; in evp_pkcs82pkey_legacy() 75 EVP_PKEY *pkey = NULL; in EVP_PKCS82PKEY_ex() 122 EVP_PKEY *EVP_PKCS82PKEY(const PKCS8_PRIV_KEY_INFO *p8) in EVP_PKCS82PKEY() 129 PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8(const EVP_PKEY *pkey) in EVP_PKEY2PKCS8() 190 int EVP_PKEY_get_attr_count(const EVP_PKEY *key) in EVP_PKEY_get_attr_count() 211 X509_ATTRIBUTE *EVP_PKEY_delete_attr(EVP_PKEY *key, int loc) in EVP_PKEY_delete_attr() 216 int EVP_PKEY_add1_attr(EVP_PKEY *key, X509_ATTRIBUTE *attr) in EVP_PKEY_add1_attr() 223 int EVP_PKEY_add1_attr_by_OBJ(EVP_PKEY *key, in EVP_PKEY_add1_attr_by_OBJ() 232 int EVP_PKEY_add1_attr_by_NID(EVP_PKEY *key, in EVP_PKEY_add1_attr_by_NID() 241 int EVP_PKEY_add1_attr_by_txt(EVP_PKEY *key, in EVP_PKEY_add1_attr_by_txt() [all …]
|
| A D | keymgmt_lib.c | 60 int evp_keymgmt_util_assign_pkey(EVP_PKEY *pkey, EVP_KEYMGMT *keymgmt, in evp_keymgmt_util_assign_pkey() 73 EVP_PKEY *evp_keymgmt_util_make_pkey(EVP_KEYMGMT *keymgmt, void *keydata) in evp_keymgmt_util_make_pkey() 75 EVP_PKEY *pkey = NULL; in evp_keymgmt_util_make_pkey() 87 int evp_keymgmt_util_export(const EVP_PKEY *pk, int selection, in evp_keymgmt_util_export() 222 int evp_keymgmt_util_clear_operation_cache(EVP_PKEY *pk) in evp_keymgmt_util_clear_operation_cache() 232 OP_CACHE_ELEM *evp_keymgmt_util_find_operation_cache(EVP_PKEY *pk, in evp_keymgmt_util_find_operation_cache() 289 void evp_keymgmt_util_cache_keyinfo(EVP_PKEY *pk) in evp_keymgmt_util_cache_keyinfo() 333 int evp_keymgmt_util_has(EVP_PKEY *pk, int selection) in evp_keymgmt_util_has() 355 int evp_keymgmt_util_match(EVP_PKEY *pk1, EVP_PKEY *pk2, int selection) in evp_keymgmt_util_match() 449 int evp_keymgmt_util_copy(EVP_PKEY *to, EVP_PKEY *from, int selection) in evp_keymgmt_util_copy() [all …]
|
| A D | pmeth_gn.c | 128 int EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_generate() 131 EVP_PKEY *allocated_pkey = NULL; in EVP_PKEY_generate() 259 int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_paramgen() 268 int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_keygen() 316 EVP_PKEY *EVP_PKEY_new_mac_key(int type, ENGINE *e, in EVP_PKEY_new_mac_key() 320 EVP_PKEY *mac_key = NULL; in EVP_PKEY_new_mac_key() 363 int EVP_PKEY_fromdata(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey, int selection, in EVP_PKEY_fromdata() 367 EVP_PKEY *allocated_pkey = NULL; in EVP_PKEY_fromdata() 415 int EVP_PKEY_todata(const EVP_PKEY *pkey, int selection, OSSL_PARAM **params) in EVP_PKEY_todata() 438 int EVP_PKEY_export(const EVP_PKEY *pkey, int selection, in EVP_PKEY_export()
|
| A D | pmeth_check.c | 49 EVP_PKEY *pkey = ctx->pkey; in evp_pkey_public_check_combined() 93 EVP_PKEY *pkey = ctx->pkey; in evp_pkey_param_check_combined() 138 EVP_PKEY *pkey = ctx->pkey; in EVP_PKEY_private_check() 162 EVP_PKEY *pkey = ctx->pkey; in EVP_PKEY_pairwise_check()
|
| /crypto/asn1/ |
| A D | ameth_lib.c | 217 const EVP_PKEY_ASN1_METHOD *EVP_PKEY_get0_asn1(const EVP_PKEY *pkey) in EVP_PKEY_get0_asn1() 282 int (*pub_decode) (EVP_PKEY *pk, in EVP_PKEY_asn1_set_public() 286 int (*pub_cmp) (const EVP_PKEY *a, in EVP_PKEY_asn1_set_public() 287 const EVP_PKEY *b), in EVP_PKEY_asn1_set_public() 303 int (*priv_decode) (EVP_PKEY *pk, in EVP_PKEY_asn1_set_private() 319 int (*param_decode) (EVP_PKEY *pkey, in EVP_PKEY_asn1_set_param() 325 int (*param_copy) (EVP_PKEY *to, in EVP_PKEY_asn1_set_param() 327 int (*param_cmp) (const EVP_PKEY *a, in EVP_PKEY_asn1_set_param() 328 const EVP_PKEY *b), in EVP_PKEY_asn1_set_param() 342 void (*pkey_free) (EVP_PKEY *pkey)) in EVP_PKEY_asn1_set_free() [all …]
|
| A D | d2i_pr.c | 28 static EVP_PKEY * 101 EVP_PKEY * 105 EVP_PKEY *ret; in ossl_d2i_PrivateKey_legacy() 167 EVP_PKEY *d2i_PrivateKey_ex(int keytype, EVP_PKEY **a, const unsigned char **pp, in d2i_PrivateKey_ex() 171 EVP_PKEY *ret; in d2i_PrivateKey_ex() 180 EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp, in d2i_PrivateKey() 186 static EVP_PKEY *d2i_AutoPrivateKey_legacy(EVP_PKEY **a, in d2i_AutoPrivateKey_legacy() 215 EVP_PKEY *ret; in d2i_AutoPrivateKey_legacy() 242 EVP_PKEY *d2i_AutoPrivateKey_ex(EVP_PKEY **a, const unsigned char **pp, in d2i_AutoPrivateKey_ex() 246 EVP_PKEY *ret; in d2i_AutoPrivateKey_ex() [all …]
|
| A D | i2d_evp.c | 33 static int i2d_provided(const EVP_PKEY *a, int selection, in i2d_provided() 73 int i2d_KeyParams(const EVP_PKEY *a, unsigned char **pp) in i2d_KeyParams() 89 int i2d_KeyParams_bio(BIO *bp, const EVP_PKEY *pkey) in i2d_KeyParams_bio() 91 return ASN1_i2d_bio_of(EVP_PKEY, i2d_KeyParams, bp, pkey); in i2d_KeyParams_bio() 95 i2d_PrivateKey_impl(const EVP_PKEY *a, unsigned char **pp, int traditional) in i2d_PrivateKey_impl() 127 int i2d_PrivateKey(const EVP_PKEY *a, unsigned char **pp) in i2d_PrivateKey() 132 int i2d_PKCS8PrivateKey(const EVP_PKEY *a, unsigned char **pp) in i2d_PKCS8PrivateKey() 137 int i2d_PublicKey(const EVP_PKEY *a, unsigned char **pp) in i2d_PublicKey()
|
| A D | d2i_param.c | 18 EVP_PKEY *d2i_KeyParams(int type, EVP_PKEY **a, const unsigned char **pp, in d2i_KeyParams() 21 EVP_PKEY *ret = NULL; in d2i_KeyParams() 49 EVP_PKEY *d2i_KeyParams_bio(int type, EVP_PKEY **a, BIO *in) in d2i_KeyParams_bio()
|
| A D | d2i_pu.c | 28 EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp, in d2i_PublicKey() 31 EVP_PKEY *ret; in d2i_PublicKey() 32 EVP_PKEY *copy = NULL; in d2i_PublicKey()
|
| /crypto/dh/ |
| A D | dh_ameth.c | 55 static void int_dh_free(EVP_PKEY *pkey) in int_dh_free() 227 static int dh_param_decode(EVP_PKEY *pkey, in dh_param_decode() 300 static int int_dh_size(const EVP_PKEY *pkey) in int_dh_size() 305 static int dh_bits(const EVP_PKEY *pkey) in dh_bits() 310 static int dh_security_bits(const EVP_PKEY *pkey) in dh_security_bits() 315 static int dh_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) in dh_cmp_parameters() 346 static int dh_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) in dh_copy_parameters() 357 static int dh_missing_parameters(const EVP_PKEY *a) in dh_missing_parameters() 364 static int dh_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) in dh_pub_cmp() 513 EVP_PKEY *pkey = EVP_PKEY_CTX_get0_pkey(pctx); in dh_pkey_import_from_type() [all …]
|
| /crypto/ec/ |
| A D | ec_ameth.c | 131 static int eckey_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) in eckey_pub_cmp() 205 static int int_ec_size(const EVP_PKEY *pkey) in int_ec_size() 210 static int ec_bits(const EVP_PKEY *pkey) in ec_bits() 239 static int ec_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) in ec_copy_parameters() 259 static int ec_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) in ec_cmp_parameters() 272 static void int_ec_free(EVP_PKEY *pkey) in int_ec_free() 346 static int eckey_param_decode(EVP_PKEY *pkey, in eckey_param_decode() 380 static int old_ec_priv_decode(EVP_PKEY *pkey, in old_ec_priv_decode() 423 static int ec_pkey_check(const EVP_PKEY *pkey) in ec_pkey_check() 466 size_t ec_pkey_dirty_cnt(const EVP_PKEY *pkey) in ec_pkey_dirty_cnt() [all …]
|
| A D | ecx_meth.c | 73 static int ecx_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) in ecx_pub_cmp() 130 static int ecx_size(const EVP_PKEY *pkey) in ecx_size() 135 static int ecx_bits(const EVP_PKEY *pkey) in ecx_bits() 146 static int ecx_security_bits(const EVP_PKEY *pkey) in ecx_security_bits() 155 static void ecx_free(EVP_PKEY *pkey) in ecx_free() 161 static int ecx_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) in ecx_cmp_parameters() 337 static size_t ecx_pkey_dirty_cnt(const EVP_PKEY *pkey) in ecx_pkey_dirty_cnt() 388 EVP_PKEY *pkey = EVP_PKEY_CTX_get0_pkey(pctx); in ecx_generic_import_from() 405 static int ecx_pkey_copy(EVP_PKEY *to, EVP_PKEY *from) in ecx_pkey_copy() 530 static int ecd_size25519(const EVP_PKEY *pkey) in ecd_size25519() [all …]
|
| /crypto/dsa/ |
| A D | dsa_ameth.c | 218 static int int_dsa_size(const EVP_PKEY *pkey) in int_dsa_size() 223 static int dsa_bits(const EVP_PKEY *pkey) in dsa_bits() 228 static int dsa_security_bits(const EVP_PKEY *pkey) in dsa_security_bits() 243 static int dsa_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from) in dsa_copy_parameters() 257 static int dsa_cmp_parameters(const EVP_PKEY *a, const EVP_PKEY *b) in dsa_cmp_parameters() 262 static int dsa_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) in dsa_pub_cmp() 267 static void int_dsa_free(EVP_PKEY *pkey) in int_dsa_free() 320 static int dsa_param_decode(EVP_PKEY *pkey, in dsa_param_decode() 356 static int old_dsa_priv_decode(EVP_PKEY *pkey, in old_dsa_priv_decode() 482 EVP_PKEY *pkey = EVP_PKEY_CTX_get0_pkey(pctx); in dsa_pkey_import_from() [all …]
|
| /crypto/x509/ |
| A D | x_all.c | 33 int X509_verify(X509 *a, EVP_PKEY *r) in X509_verify() 56 int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r) in X509_REQ_verify() 61 int X509_ACERT_verify(X509_ACERT *a, EVP_PKEY *r) in X509_ACERT_verify() 729 EVP_PKEY *d2i_PrivateKey_fp(FILE *fp, EVP_PKEY **a) in d2i_PrivateKey_fp() 734 EVP_PKEY *d2i_PrivateKey_ex_fp(FILE *fp, EVP_PKEY **a, OSSL_LIB_CTX *libctx, in d2i_PrivateKey_ex_fp() 755 EVP_PKEY *d2i_PUBKEY_ex_fp(FILE *fp, EVP_PKEY **a, OSSL_LIB_CTX *libctx, in d2i_PUBKEY_ex_fp() 771 EVP_PKEY *d2i_PUBKEY_fp(FILE *fp, EVP_PKEY **a) in d2i_PUBKEY_fp() 809 EVP_PKEY *d2i_PrivateKey_bio(BIO *bp, EVP_PKEY **a) in d2i_PrivateKey_bio() 814 EVP_PKEY *d2i_PrivateKey_ex_bio(BIO *bp, EVP_PKEY **a, OSSL_LIB_CTX *libctx, in d2i_PrivateKey_ex_bio() 838 EVP_PKEY *d2i_PUBKEY_ex_bio(BIO *bp, EVP_PKEY **a, OSSL_LIB_CTX *libctx, in d2i_PUBKEY_ex_bio() [all …]
|
| A D | x_pubkey.c | 35 EVP_PKEY *pkey; 406 EVP_PKEY *pkey; in x509_pubkey_decode() 486 static EVP_PKEY *d2i_PUBKEY_int(EVP_PKEY **a, in d2i_PUBKEY_int() 607 EVP_PKEY *pkey; in d2i_RSA_PUBKEY() 648 EVP_PKEY *pkey; in ossl_d2i_DH_PUBKEY() 689 EVP_PKEY *pkey; in ossl_d2i_DHx_PUBKEY() 732 EVP_PKEY *pkey; in d2i_DSA_PUBKEY() 798 EVP_PKEY *pkey; in d2i_EC_PUBKEY() 843 EVP_PKEY *pkey; in ossl_d2i_ED25519_PUBKEY() 884 EVP_PKEY *pkey; in ossl_d2i_ED448_PUBKEY() [all …]
|
| A D | x509_cmp.c | 385 EVP_PKEY *X509_get0_pubkey(const X509 *x) in X509_get0_pubkey() 392 EVP_PKEY *X509_get_pubkey(X509 *x) in X509_get_pubkey() 399 int X509_check_private_key(const X509 *cert, const EVP_PKEY *pkey) in X509_check_private_key() 401 const EVP_PKEY *xk = X509_get0_pubkey(cert); in X509_check_private_key() 410 int ossl_x509_check_private_key(const EVP_PKEY *x, const EVP_PKEY *pkey) in ossl_x509_check_private_key() 441 static int check_suite_b(EVP_PKEY *pkey, int sign_nid, unsigned long *pflags) in check_suite_b() 481 EVP_PKEY *pk; in X509_chain_check_suiteb() 552 int X509_CRL_check_suiteb(X509_CRL *crl, EVP_PKEY *pk, unsigned long flags) in X509_CRL_check_suiteb() 568 int X509_CRL_check_suiteb(X509_CRL *crl, EVP_PKEY *pk, unsigned long flags) in X509_CRL_check_suiteb()
|
| /crypto/rsa/ |
| A D | rsa_ameth.c | 29 static int rsa_param_encode(const EVP_PKEY *pkey, in rsa_param_encode() 112 static int rsa_pub_cmp(const EVP_PKEY *a, const EVP_PKEY *b) in rsa_pub_cmp() 129 static int old_rsa_priv_decode(EVP_PKEY *pkey, in old_rsa_priv_decode() 185 static int int_rsa_size(const EVP_PKEY *pkey) in int_rsa_size() 190 static int rsa_bits(const EVP_PKEY *pkey) in rsa_bits() 195 static int rsa_security_bits(const EVP_PKEY *pkey) in rsa_security_bits() 200 static void int_rsa_free(EVP_PKEY *pkey) in int_rsa_free() 454 EVP_PKEY *pk = EVP_PKEY_CTX_get0_pkey(pkctx); in rsa_ctx_to_pss() 779 static int rsa_pkey_check(const EVP_PKEY *pkey) in rsa_pkey_check() 853 EVP_PKEY *pkey = EVP_PKEY_CTX_get0_pkey(pctx); in rsa_int_import_from() [all …]
|
| /crypto/engine/ |
| A D | eng_pkey.c | 56 EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, in ENGINE_load_private_key() 59 EVP_PKEY *pkey; in ENGINE_load_private_key() 85 EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id, in ENGINE_load_public_key() 88 EVP_PKEY *pkey; in ENGINE_load_public_key() 116 EVP_PKEY **ppkey, STACK_OF(X509) **pother, in ENGINE_load_ssl_client_cert()
|
| /crypto/pkcs12/ |
| A D | p12_kiss.c | 18 EVP_PKEY **pkey, STACK_OF(X509) *ocerts); 21 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts, 25 EVP_PKEY **pkey, STACK_OF(X509) *ocerts, 35 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, in PKCS12_parse() 140 EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_pk12() 176 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts, in parse_bags() 191 EVP_PKEY **pkey, STACK_OF(X509) *ocerts, in parse_bag()
|