/openssl/doc/man3/ |
H A D | EVP_PKEY_is_a.pod | 5 EVP_PKEY_is_a, EVP_PKEY_can_sign, EVP_PKEY_type_names_do_all, 13 int EVP_PKEY_is_a(const EVP_PKEY *pkey, const char *name); 24 EVP_PKEY_is_a() checks if the key type of I<pkey> is I<name>. 52 EVP_PKEY_is_a() returns 1 if I<pkey> has the key type I<name>, 70 =head2 EVP_PKEY_is_a() 73 determine what I<name> is possible to use with EVP_PKEY_is_a(). We do know 81 if (EVP_PKEY_is_a(pkey, "RSA")) {
|
H A D | EVP_PKEY_CTX_new.pod | 58 EVP_PKEY_is_a() checks if the key type associated with I<ctx> is I<keytype>.
|
/openssl/fuzz/ |
H A D | decoder.c | 71 if ((!EVP_PKEY_is_a(pkey, "DH") && !EVP_PKEY_is_a(pkey, "DHX")) in FuzzerTestOneInput()
|
/openssl/crypto/asn1/ |
H A D | a_verify.c | 164 if (!EVP_PKEY_is_a(pkey, "RSA") && !EVP_PKEY_is_a(pkey, "RSA-PSS")) { in ASN1_item_verify_ctx() 175 if (!EVP_PKEY_is_a(pkey, OBJ_nid2sn(pknid))) { in ASN1_item_verify_ctx()
|
/openssl/apps/ |
H A D | dhparam.c | 303 if (!EVP_PKEY_is_a(tmppkey, "DSA")) { in dhparam_main() 311 if (!EVP_PKEY_is_a(tmppkey, "DH") in dhparam_main() 312 && !EVP_PKEY_is_a(tmppkey, "DHX")) { in dhparam_main()
|
H A D | rsa.c | 258 if (!EVP_PKEY_is_a(pkey, "RSA") && !EVP_PKEY_is_a(pkey, "RSA-PSS")) { in rsa_main()
|
H A D | pkeyutl.c | 50 return EVP_PKEY_is_a(pkey, "ED25519") in is_EdDSA() 51 || EVP_PKEY_is_a(pkey, "ED448"); in is_EdDSA() 319 if (pkey_op == EVP_PKEY_OP_VERIFYRECOVER && !EVP_PKEY_is_a(pkey, "RSA")) { in pkeyutl_main()
|
H A D | dsa.c | 188 if (!EVP_PKEY_is_a(pkey, "DSA")) { in dsa_main()
|
H A D | pkey.c | 226 if (!EVP_PKEY_is_a(pkey, "EC")) in pkey_main()
|
H A D | x509.c | 1010 if (EVP_PKEY_is_a(pkey, "RSA") || EVP_PKEY_is_a(pkey, "RSA-PSS")) { in x509_main() 1017 } else if (EVP_PKEY_is_a(pkey, "DSA")) { in x509_main()
|
H A D | req.c | 1007 if (EVP_PKEY_is_a(tpubkey, "RSA") || EVP_PKEY_is_a(tpubkey, "RSA-PSS")) { in req_main() 1597 if (!EVP_PKEY_is_a(param, *pkeytype)) { in set_keygen_ctx()
|
/openssl/crypto/cms/ |
H A D | cms_env.c | 127 if (EVP_PKEY_is_a(pkey, "DHX") || EVP_PKEY_is_a(pkey, "DH")) in ossl_cms_env_asn1_ctrl() 129 else if (EVP_PKEY_is_a(pkey, "EC")) in ossl_cms_env_asn1_ctrl() 131 else if (EVP_PKEY_is_a(pkey, "RSA")) in ossl_cms_env_asn1_ctrl() 623 if (EVP_PKEY_is_a(pkey, "RSA")) in cms_RecipientInfo_ktri_decrypt() 1337 if (EVP_PKEY_is_a(pk, "DH")) in ossl_cms_pkey_get_ri_type() 1339 else if (EVP_PKEY_is_a(pk, "DHX")) in ossl_cms_pkey_get_ri_type() 1341 else if (EVP_PKEY_is_a(pk, "DSA")) in ossl_cms_pkey_get_ri_type() 1343 else if (EVP_PKEY_is_a(pk, "EC")) in ossl_cms_pkey_get_ri_type() 1345 else if (EVP_PKEY_is_a(pk, "RSA")) in ossl_cms_pkey_get_ri_type()
|
H A D | cms_sd.c | 264 if (EVP_PKEY_is_a(pkey, "DSA") || EVP_PKEY_is_a(pkey, "EC")) in cms_sd_asn1_ctrl() 266 else if (EVP_PKEY_is_a(pkey, "RSA") || EVP_PKEY_is_a(pkey, "RSA-PSS")) in cms_sd_asn1_ctrl()
|
H A D | cms_rsa.c | 256 if (EVP_PKEY_is_a(pkey, "RSA-PSS")) { in rsa_cms_verify()
|
H A D | cms_dh.c | 42 if (pk == NULL || !EVP_PKEY_is_a(pk, "DHX")) in dh_cms_set_peerkey()
|
/openssl/crypto/pkcs7/ |
H A D | pk7_lib.c | 370 if (EVP_PKEY_is_a(pkey, "EC") || EVP_PKEY_is_a(pkey, "DSA")) in PKCS7_SIGNER_INFO_set() 372 if (EVP_PKEY_is_a(pkey, "RSA")) in PKCS7_SIGNER_INFO_set() 636 if (EVP_PKEY_is_a(pkey, "RSA-PSS")) in PKCS7_RECIP_INFO_set() 638 if (EVP_PKEY_is_a(pkey, "RSA")) { in PKCS7_RECIP_INFO_set()
|
/openssl/test/ |
H A D | provider_pkey_test.c | 280 if (!TEST_ptr(pkey) || !TEST_int_eq(EVP_PKEY_is_a(pkey, "RSA"), 1)) in test_pkey_store() 331 if (!TEST_ptr(pkey) || !TEST_int_eq(EVP_PKEY_is_a(pkey, "RSA"), 1)) in test_pkey_delete()
|
H A D | ossl_store_test.c | 94 ret = EVP_PKEY_is_a(pkey, type); in get_params()
|
H A D | algorithmid_test.c | 140 if (!TEST_true(EVP_PKEY_is_a(pkey, OBJ_nid2sn(pkey_nid)))) { in test_x509_sig_aid()
|
H A D | endecode_test.c | 539 if (!(ok = TEST_FL_true(EVP_PKEY_is_a(pkey, type)))) { in check_unprotected_PKCS8_DER() 817 int ok = (TEST_FL_ptr(pkey) && TEST_FL_true(EVP_PKEY_is_a(pkey, type))); in check_public_DER()
|
/openssl/ssl/ |
H A D | ssl_cert.c | 1318 if (EVP_PKEY_is_a(pk, OBJ_nid2sn(tmp_lu->nid)) in ssl_cert_lookup_by_pkey() 1319 || EVP_PKEY_is_a(pk, OBJ_nid2ln(tmp_lu->nid))) { in ssl_cert_lookup_by_pkey() 1329 if (EVP_PKEY_is_a(pk, OBJ_nid2sn(tmp_lu->nid)) in ssl_cert_lookup_by_pkey() 1330 || EVP_PKEY_is_a(pk, OBJ_nid2ln(tmp_lu->nid))) { in ssl_cert_lookup_by_pkey()
|
H A D | t1_lib.c | 1269 if (!EVP_PKEY_is_a(pkey, "EC")) in tls1_check_pkey_comp() 1331 if (!EVP_PKEY_is_a(pkey, "EC")) in tls1_check_cert_param() 3299 if (EVP_PKEY_is_a(pk, "EC") && !tls1_check_pkey_comp(s, pk)) in tls1_check_chain() 3460 if (EVP_PKEY_is_a(pk, "RSA")) in tls1_check_chain() 3462 else if (EVP_PKEY_is_a(pk, "DSA")) in tls1_check_chain() 3464 else if (EVP_PKEY_is_a(pk, "EC")) in tls1_check_chain() 4186 if (EVP_PKEY_is_a(pkey, "DH")) { in tls13_set_encoded_pub_key() 4192 } else if (EVP_PKEY_is_a(pkey, "EC")) { in tls13_set_encoded_pub_key()
|
/openssl/crypto/x509/ |
H A D | v3_purp.c | 379 if (EVP_PKEY_is_a(issuer_key, OBJ_nid2sn(subj_sig_nid)) in check_sig_alg_match() 380 || (EVP_PKEY_is_a(issuer_key, "RSA") && subj_sig_nid == NID_rsassaPss)) in check_sig_alg_match()
|
H A D | x509_cmp.c | 443 if (pkey == NULL || !EVP_PKEY_is_a(pkey, "EC")) in check_suite_b()
|
/openssl/crypto/pem/ |
H A D | pvkfmt.c | 573 if (EVP_PKEY_is_a(pk, "RSA")) { in do_i2b() 577 } else if (EVP_PKEY_is_a(pk, "DSA")) { in do_i2b()
|