Home
last modified time | relevance | path

Searched refs:EVP_PKEY_get_id (Results 1 – 25 of 27) sorted by relevance

12

/openssl/doc/man3/
H A DEVP_PKEY_set_type.pod38 a numeric type, which can be retrieved with L<EVP_PKEY_get_id(3)>. This
47 retrieved with L<EVP_PKEY_get_id(3)> will always be B<EVP_PKEY_NONE>.
55 L<EVP_PKEY_assign(3)>, L<EVP_PKEY_get_id(3)>, L<EVP_PKEY_get0_RSA(3)>,
H A DEVP_PKEY_set1_RSA.pod11 EVP_PKEY_get0, EVP_PKEY_type, EVP_PKEY_get_id, EVP_PKEY_get_base_id,
20 int EVP_PKEY_get_id(const EVP_PKEY *pkey);
24 #define EVP_PKEY_id EVP_PKEY_get_id
65 EVP_PKEY_get_id() returns the actual NID associated with I<pkey>
73 EVP_PKEY_get_id() returns -1 (B<EVP_PKEY_KEYMGMT>) if the I<pkey> is
144 EVP_PKEY_get_id(), EVP_PKEY_get_base_id(), EVP_PKEY_type()
200 EVP_PKEY_get_base_id(), EVP_PKEY_get_id() and EVP_PKEY_type() return a key
/openssl/crypto/evp/
H A Dp_enc.c27 if (EVP_PKEY_get_id(pubk) != EVP_PKEY_RSA) { in EVP_PKEY_encrypt_old()
H A Dp_dec.c27 if (EVP_PKEY_get_id(priv) != EVP_PKEY_RSA) { in EVP_PKEY_decrypt_old()
H A Dp_lib.c992 int EVP_PKEY_get_id(const EVP_PKEY *pkey) in EVP_PKEY_get_id() function
1073 const char *name = OBJ_nid2sn(EVP_PKEY_get_id(pkey)); in EVP_PKEY_type_names_do_all()
/openssl/crypto/x509/
H A Dx509type.c32 switch (EVP_PKEY_get_id(pk)) { in X509_certificate_type()
H A Dx_pubkey.c656 if (EVP_PKEY_get_id(pkey) == EVP_PKEY_DH) in ossl_d2i_DH_PUBKEY()
697 if (EVP_PKEY_get_id(pkey) == EVP_PKEY_DHX) in ossl_d2i_DHx_PUBKEY()
807 type = EVP_PKEY_get_id(pkey); in d2i_EC_PUBKEY()
892 if (EVP_PKEY_get_id(pkey) == EVP_PKEY_ED448) in ossl_d2i_ED448_PUBKEY()
934 if (EVP_PKEY_get_id(pkey) == EVP_PKEY_X25519) in ossl_d2i_X25519_PUBKEY()
976 if (EVP_PKEY_get_id(pkey) == EVP_PKEY_X448) in ossl_d2i_X448_PUBKEY()
/openssl/crypto/asn1/
H A Dd2i_param.c29 if (type != EVP_PKEY_get_id(ret) && !EVP_PKEY_set_type(ret, type)) in d2i_KeyParams()
H A Dd2i_pu.c51 if ((type != EVP_PKEY_get_id(ret) || copy != NULL) in d2i_PublicKey()
H A Da_sign.c237 EVP_PKEY_get_id(pkey) == NID_sm2 ? NID_sm2 : in ASN1_item_sign_ctx()
/openssl/crypto/cms/
H A Dcms_sd.c237 int snid, hnid, pknid = EVP_PKEY_get_id(pkey); in cms_generic_sign()
391 "pkey nid=%d", EVP_PKEY_get_id(pk)); in CMS_add1_signer()
431 "pkey nid=%d", EVP_PKEY_get_id(pk)); in CMS_add1_signer()
/openssl/ssl/statem/
H A Dstatem_lib.c504 && (EVP_PKEY_get_id(pkey) == NID_id_GostR3410_2001 in tls_process_cert_verify()
505 || EVP_PKEY_get_id(pkey) == NID_id_GostR3410_2012_256)) in tls_process_cert_verify()
507 && EVP_PKEY_get_id(pkey) == NID_id_GostR3410_2012_512))) { in tls_process_cert_verify()
542 int pktype = EVP_PKEY_get_id(pkey); in tls_process_cert_verify()
/openssl/crypto/ec/
H A Dec_ameth.c400 if (EVP_PKEY_get_id(pkey) == EVP_PKEY_SM2) { in ec_pkey_ctrl()
/openssl/apps/
H A Ddgst.c293 type = EVP_PKEY_get_id(sigkey); in dgst_main()
/openssl/test/
H A Dendecoder_legacy_test.c522 || !TEST_int_eq(EVP_PKEY_get_id(downgraded_pkey), key->evp_type) in test_key()
H A Devp_extra_test.c2059 || !TEST_int_eq(EVP_PKEY_get_id(pkey), expected_id)) in test_d2i_AutoPrivateKey()
2738 && !TEST_int_eq(EVP_PKEY_get_id(pkey), expected_id)) in test_EVP_PKEY_check()
3542 || !TEST_int_eq(EVP_PKEY_get_id(pkey1), EVP_PKEY_DHX)) in test_EVP_PKEY_set1_DH()
3551 || !TEST_int_eq(EVP_PKEY_get_id(pkey2), EVP_PKEY_DH)) in test_EVP_PKEY_set1_DH()
H A Devp_extra_test2.c607 || !TEST_int_eq(EVP_PKEY_get_id(pkey), expected_id)) in test_d2i_AutoPrivateKey_ex()
H A Dssl_old_test.c748 int keyid = EVP_PKEY_get_id(key); in print_key_details()
/openssl/apps/lib/
H A Ds_cb.c429 switch (EVP_PKEY_get_id(key)) { in ssl_print_tmp_key()
451 BIO_printf(out, "%s, %d bits\n", OBJ_nid2sn(EVP_PKEY_get_id(key)), in ssl_print_tmp_key()
/openssl/crypto/pkcs7/
H A Dpk7_lib.c319 if (!OBJ_find_sigid_by_algs(&snid, hnid, EVP_PKEY_get_id(pkey))) in pkcs7_ecdsa_or_dsa_sign_verify_setup()
/openssl/crypto/pem/
H A Dpvkfmt.c1046 if (EVP_PKEY_get_id(pk) == EVP_PKEY_RSA) in i2b_PVK()
/openssl/include/openssl/
H A Devp.h1324 int EVP_PKEY_get_id(const EVP_PKEY *pkey);
1325 # define EVP_PKEY_id EVP_PKEY_get_id
/openssl/test/helpers/
H A Dhandshake.c1271 return EVP_PKEY_get_id(pkey); in pkey_type()
/openssl/ssl/
H A Dt1_lib.c2023 pkeyid = EVP_PKEY_get_id(pkey); in tls12_check_peer_sigalg()
2058 (pkeyid == EVP_PKEY_RSA_PSS) ? EVP_PKEY_get_id(pkey) : pkeyid, in tls12_check_peer_sigalg()
/openssl/doc/man7/
H A Dossl-guide-migration.pod2285 EVP_PKEY_id(), EVP_PKEY_get_id()
2291 L<EVP_PKEY_get_id(3)> might now also return the value -1

Completed in 112 milliseconds

12