/third_party/openssl/test/ |
D | pkey_meth_test.c | 24 int pkey_id; in test_asn1_meths() local 29 EVP_PKEY_asn1_get0_info(&pkey_id, NULL, NULL, NULL, NULL, ameth); in test_asn1_meths() 30 if (pkey_id < prev) in test_asn1_meths() 32 prev = pkey_id; in test_asn1_meths() 41 EVP_PKEY_asn1_get0_info(&pkey_id, NULL, NULL, &info, NULL, ameth); in test_asn1_meths() 44 TEST_note("%d : %s : %s", pkey_id, OBJ_nid2ln(pkey_id), info); in test_asn1_meths() 56 int pkey_id; in test_pkey_meths() local 61 EVP_PKEY_meth_get0_info(&pkey_id, NULL, pmeth); in test_pkey_meths() 62 if (pkey_id < prev) in test_pkey_meths() 64 prev = pkey_id; in test_pkey_meths() [all …]
|
D | asn1_internal_test.c | 74 if ((*tmp)->pkey_id < last_pkey_id) { in test_standard_methods() 78 last_pkey_id = (*tmp)->pkey_id; in test_standard_methods() 91 i, (*tmp)->pkey_id, OBJ_nid2sn((*tmp)->pkey_id)); in test_standard_methods() 105 i, (*tmp)->pkey_id, OBJ_nid2sn((*tmp)->pkey_id)); in test_standard_methods()
|
/third_party/openssl/crypto/objects/ |
D | obj_xref.c | 38 return (*a)->pkey_id - (*b)->pkey_id; in sigx_cmp() 63 *ppkey_nid = rv->pkey_id; in OBJ_find_sigid_algs() 74 tmp.pkey_id = pkey_nid; in OBJ_find_sigid_by_algs() 95 int OBJ_add_sigid(int signid, int dig_id, int pkey_id) in OBJ_add_sigid() argument 112 ntr->pkey_id = pkey_id; in OBJ_add_sigid()
|
D | obj_xref.h | 17 int pkey_id; member
|
/third_party/openssl/crypto/ec/ |
D | ecx_meth.c | 36 #define KEYLEN(p) KEYLENID((p)->ameth->pkey_id) 141 if (!X509_PUBKEY_set0_param(pk, OBJ_nid2obj(pkey->ameth->pkey_id), in ecx_pub_encode() 158 return ecx_key_op(pkey, pkey->ameth->pkey_id, palg, p, pklen, in ecx_pub_decode() 193 rv = ecx_key_op(pkey, pkey->ameth->pkey_id, palg, p, plen, KEY_OP_PRIVATE); in ecx_priv_decode() 220 if (!PKCS8_pkey_set0(p8, OBJ_nid2obj(pkey->ameth->pkey_id), 0, in ecx_priv_encode() 237 if (IS25519(pkey->ameth->pkey_id)) { in ecx_bits() 239 } else if(ISX448(pkey->ameth->pkey_id)) { in ecx_bits() 248 if (IS25519(pkey->ameth->pkey_id)) { in ecx_security_bits() 272 const char *nm = OBJ_nid2ln(pkey->ameth->pkey_id); in ecx_key_print() 322 return ecx_key_op(pkey, pkey->ameth->pkey_id, NULL, arg2, arg1, in ecx_ctrl() [all …]
|
/third_party/openssl/crypto/asn1/ |
D | ameth_lib.c | 30 return ((*a)->pkey_id - (*b)->pkey_id); in ameth_cmp() 59 tmp.pkey_id = type; in pkey_asn1_find() 165 tmp.pkey_id = ameth->pkey_id; in EVP_PKEY_asn1_add0() 200 *ppkey_id = ameth->pkey_id; in EVP_PKEY_asn1_get0_info() 225 ameth->pkey_id = id; in EVP_PKEY_asn1_new()
|
D | a_verify.c | 143 if (EVP_PKEY_type(pknid) != pkey->ameth->pkey_id) { in ASN1_item_verify()
|
D | a_sign.c | 189 pkey->ameth->pkey_id)) { in ASN1_item_sign_ctx()
|
/third_party/openssl/apps/ |
D | openssl.c | 599 int pkey_id, pkey_base_id, pkey_flags; in list_pkey() local 602 EVP_PKEY_asn1_get0_info(&pkey_id, &pkey_base_id, &pkey_flags, in list_pkey() 605 BIO_printf(bio_out, "Name: %s\n", OBJ_nid2ln(pkey_id)); in list_pkey() 613 BIO_printf(bio_out, "\tOID: %s\n", OBJ_nid2ln(pkey_id)); in list_pkey() 629 int pkey_id, pkey_flags; in list_pkey_meth() local 631 EVP_PKEY_meth_get0_info(&pkey_id, &pkey_flags, pmeth); in list_pkey_meth() 632 BIO_printf(bio_out, "%s\n", OBJ_nid2ln(pkey_id)); in list_pkey_meth()
|
D | genpkey.c | 259 int pkey_id; in init_gen_str() local 280 EVP_PKEY_asn1_get0_info(&pkey_id, NULL, NULL, NULL, NULL, ameth); in init_gen_str() 284 ctx = EVP_PKEY_CTX_new_id(pkey_id, e); in init_gen_str()
|
/third_party/openssl/crypto/rsa/ |
D | rsa_local.h | 120 #define pkey_is_pss(pkey) (pkey->ameth->pkey_id == EVP_PKEY_RSA_PSS) 121 #define pkey_ctx_is_pss(ctx) (ctx->pmeth->pkey_id == EVP_PKEY_RSA_PSS)
|
D | rsa_ameth.c | 37 if (pkey->ameth->pkey_id != EVP_PKEY_RSA_PSS) { in rsa_param_encode() 87 if (X509_PUBKEY_set0_param(pk, OBJ_nid2obj(pkey->ameth->pkey_id), in rsa_pub_encode() 112 if (!EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, rsa)) { in rsa_pub_decode() 145 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, rsa); in old_rsa_priv_decode() 171 if (!PKCS8_pkey_set0(p8, OBJ_nid2obj(pkey->ameth->pkey_id), 0, in rsa_priv_encode() 199 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, rsa); in rsa_priv_decode()
|
D | rsa_lib.c | 489 && ctx->pmeth->pkey_id != EVP_PKEY_RSA in RSA_pkey_ctx_ctrl() 490 && ctx->pmeth->pkey_id != EVP_PKEY_RSA_PSS) in RSA_pkey_ctx_ctrl()
|
D | rsa_pmeth.c | 751 EVP_PKEY_assign(pkey, ctx->pmeth->pkey_id, rsa); in pkey_rsa_keygen()
|
/third_party/openssl/crypto/evp/ |
D | pmeth_lib.c | 78 return ((*a)->pkey_id - (*b)->pkey_id); in pmeth_cmp() 88 tmp.pkey_id = type; in EVP_PKEY_meth_find() 180 pmeth->pkey_id = id; in EVP_PKEY_meth_new() 189 *ppkey_id = meth->pkey_id; in EVP_PKEY_meth_get0_info() 375 if ((keytype != -1) && (ctx->pmeth->pkey_id != keytype)) in EVP_PKEY_CTX_ctrl()
|
D | p_lib.c | 215 pkey->type = pkey->ameth->pkey_id; in pkey_set_type() 581 ret = ameth->pkey_id; in EVP_PKEY_type()
|
/third_party/openssl/crypto/dh/ |
D | dh_ameth.c | 87 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, dh); in dh_pub_decode() 133 if (X509_PUBKEY_set0_param(pk, OBJ_nid2obj(pkey->ameth->pkey_id), in dh_pub_encode() 188 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, dh); in dh_priv_decode() 236 if (!PKCS8_pkey_set0(p8, OBJ_nid2obj(pkey->ameth->pkey_id), 0, in dh_priv_encode() 258 EVP_PKEY_assign(pkey, pkey->ameth->pkey_id, dh); in dh_param_decode() 661 EVP_PKEY_assign(pkpeer, pk->ameth->pkey_id, dhpeer); in dh_cms_set_peerkey()
|
D | dh_pmeth.c | 413 EVP_PKEY_assign(pkey, ctx->pmeth->pkey_id, dh); in pkey_dh_keygen()
|
/third_party/openssl/ssl/ |
D | ssl_ciph.c | 324 int pkey_id = 0; in get_optional_pkey_id() local 326 if (ameth && EVP_PKEY_asn1_get0_info(&pkey_id, NULL, NULL, NULL, NULL, in get_optional_pkey_id() 328 return pkey_id; in get_optional_pkey_id() 338 int pkey_id = 0; in get_optional_pkey_id() local 341 if (EVP_PKEY_asn1_get0_info(&pkey_id, NULL, NULL, NULL, NULL, in get_optional_pkey_id() 343 pkey_id = 0; in get_optional_pkey_id() 346 return pkey_id; in get_optional_pkey_id()
|
/third_party/openssl/include/crypto/ |
D | asn1.h | 15 int pkey_id; member
|
D | evp.h | 44 int pkey_id; member
|
/third_party/openssl/include/openssl/ |
D | objects.h | 168 int OBJ_add_sigid(int signid, int dig_id, int pkey_id);
|
/third_party/openssl/crypto/store/ |
D | loader_file.c | 428 pkey = d2i_PrivateKey(ameth->pkey_id, NULL, &blob, len); in try_decode_PrivateKey() 455 tmp_pkey = d2i_PrivateKey(ameth2->pkey_id, NULL, in try_decode_PrivateKey() 478 tmp_pkey = d2i_PrivateKey(ameth->pkey_id, NULL, &tmp_blob, len); in try_decode_PrivateKey() 594 if (EVP_PKEY_set_type(tmp_pkey, ameth->pkey_id) in try_decode_params()
|
/third_party/openssl/crypto/pem/ |
D | pem_pkey.c | 84 ret = d2i_PrivateKey(ameth->pkey_id, x, &p, len); in PEM_read_bio_PrivateKey()
|
/third_party/nghttp2/src/ |
D | h2load.cc | 666 auto pkey_id = EVP_PKEY_id(key); in print_server_tmp_key() local 667 switch (pkey_id) { in print_server_tmp_key() 688 std::cout << OBJ_nid2sn(pkey_id) << " " << EVP_PKEY_bits(key) << " bits" in print_server_tmp_key()
|