/freebsd/crypto/openssl/test/ |
H A D | evp_libctx_test.c | 126 if (!TEST_ptr(gen_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey_parm, NULL)) in test_dsa_param_keygen() 189 if (!TEST_ptr(gen_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey_parm, NULL)) in do_dh_param_keygen() 535 && TEST_ptr(sctx = EVP_PKEY_CTX_new_from_pkey(libctx, pub, NULL)) in kem_rsa_gen_recover() 545 && TEST_ptr(rctx = EVP_PKEY_CTX_new_from_pkey(libctx, priv, NULL)) in kem_rsa_gen_recover() 599 && TEST_ptr(pubctx = EVP_PKEY_CTX_new_from_pkey(libctx, pub, NULL)) in kem_rsa_params() 600 && TEST_ptr(privctx = EVP_PKEY_CTX_new_from_pkey(libctx, priv, NULL)) in kem_rsa_params() 690 if (!TEST_ptr(sctx = EVP_PKEY_CTX_new_from_pkey(libctx, key, NULL))) in kem_invalid_keytype()
|
H A D | evp_pkey_provided_test.c | 401 if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, ""))) in test_fromdata_rsa() 484 || !TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, "")) in test_evp_pkey_get_bn_param_large() 668 if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, ""))) in test_fromdata_dh_named_group() 852 if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, ""))) in test_fromdata_dh_fips186_4() 1110 if (!TEST_ptr(ctx2 = EVP_PKEY_CTX_new_from_pkey(NULL, pk, NULL))) in test_fromdata_ecx() 1142 if (!TEST_ptr(ctx2 = EVP_PKEY_CTX_new_from_pkey(NULL, copy_pk, NULL)) in test_fromdata_ecx() 1400 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_pkey(NULL, param, NULL)) in test_ec_dup_keygen_operation() 1433 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_pkey(NULL, param, NULL)) in test_fromdata_dsa_fips186_4() 1664 if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, ""))) in test_fromdata_dsa_fips186_4()
|
H A D | evp_extra_test2.c | 383 ret = ret && TEST_ptr(gctx = EVP_PKEY_CTX_new_from_pkey(mainctx, pkey, NULL)) in test_dh_paramgen() 898 && TEST_ptr(check_ctx = EVP_PKEY_CTX_new_from_pkey(mainctx, pkey, in do_check_params() 1053 if (!TEST_ptr(gctx = EVP_PKEY_CTX_new_from_pkey(mainctx, pkey, NULL)) in test_dsa_fromdata_digest_prop() 1164 && TEST_ptr(pctx = EVP_PKEY_CTX_new_from_pkey(mainctx, pkey, NULL)) in test_rsa_pss_sign()
|
H A D | dsatest.c | 262 || !TEST_ptr(kg_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, param_key, NULL)) in dsa_keygen_test() 319 && TEST_ptr(check_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, params, NULL)) in test_dsa_default_paramgen_validate()
|
H A D | acvp_test.c | 194 if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, "")) in ecdsa_pub_verify_test() 358 || !TEST_ptr(keygen_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, param_key, in dsa_keygen() 379 || !TEST_ptr(keygen_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, param_key, in dsa_keygen_test() 535 || !TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, param_key, in dsa_pqver_test() 650 || !TEST_ptr(ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, "")) in dsa_sigver_test() 990 || !TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, "")) in dh_safe_prime_keyver_test() 1257 || !TEST_ptr(ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, "")) in rsa_decryption_primitive_test()
|
H A D | threadstest.c | 401 ctx = EVP_PKEY_CTX_new_from_pkey(multi_libctx, shared_evp_pkey, in thread_shared_evp_pkey() 414 ctx = EVP_PKEY_CTX_new_from_pkey(multi_libctx, shared_evp_pkey, NULL); in thread_shared_evp_pkey()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | EVP_PKEY_decapsulate.pod | 22 Note that I<ctx> usually is produced using L<EVP_PKEY_CTX_new_from_pkey(3)>, 59 ctx = EVP_PKEY_CTX_new_from_pkey(libctx, rsa_priv_key, NULL); 84 L<EVP_PKEY_CTX_new_from_pkey(3)>,
|
H A D | EVP_PKEY_CTX_new.pod | 6 EVP_PKEY_CTX_new_from_pkey, EVP_PKEY_CTX_dup, EVP_PKEY_CTX_free, 19 EVP_PKEY_CTX *EVP_PKEY_CTX_new_from_pkey(OSSL_LIB_CTX *libctx, 41 The EVP_PKEY_CTX_new_from_pkey() function allocates a public key algorithm 120 The EVP_PKEY_CTX_new_from_name() and EVP_PKEY_CTX_new_from_pkey() functions were
|
H A D | EVP_PKEY_encapsulate.pod | 22 Note that I<ctx> is usually is produced using L<EVP_PKEY_CTX_new_from_pkey(3)>, 65 ctx = EVP_PKEY_CTX_new_from_pkey(libctx, rsa_pub_key, NULL); 93 L<EVP_PKEY_CTX_new_from_pkey(3)>,
|
H A D | EVP_PKEY_CTX_get0_pkey.pod | 21 using either L<EVP_PKEY_CTX_new(3)> or L<EVP_PKEY_CTX_new_from_pkey(3)>. 44 L<EVP_PKEY_CTX_new(3)>, L<EVP_PKEY_CTX_new_from_pkey(3)>,
|
/freebsd/crypto/openssl/demos/signature/ |
H A D | rsa_pss_direct.c | 65 ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, propq); in sign() 148 ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, propq); in verify()
|
/freebsd/crypto/openssl/demos/pkey/ |
H A D | EVP_PKEY_DSA_paramvalidate.c | 89 out = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, propq); in create_merged_key() 136 ctx = EVP_PKEY_CTX_new_from_pkey(libctx, dsaparamskey, propq); in main()
|
H A D | EVP_PKEY_DSA_keygen.c | 61 ctx = EVP_PKEY_CTX_new_from_pkey(libctx, dsaparamskey, propq); in main()
|
/freebsd/crypto/openssl/crypto/cms/ |
H A D | cms_kari.c | 173 pctx = EVP_PKEY_CTX_new_from_pkey(ossl_cms_ctx_get0_libctx(kari->cms_ctx), in CMS_RecipientInfo_kari_set0_pkey_and_peer() 293 pctx = EVP_PKEY_CTX_new_from_pkey(libctx, pk, propq); in cms_kari_create_ephemeral_key() 301 pctx = EVP_PKEY_CTX_new_from_pkey(libctx, ekey, propq); in cms_kari_create_ephemeral_key() 323 pctx = EVP_PKEY_CTX_new_from_pkey(ossl_cms_ctx_get0_libctx(ctx), in cms_kari_set_originator_private_key()
|
/freebsd/crypto/openssl/crypto/evp/ |
H A D | p_verify.c | 46 pkctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, propq); in EVP_VerifyFinal_ex()
|
H A D | p_sign.c | 49 pkctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, propq); in EVP_SignFinal_ex()
|
H A D | p_seal.c | 60 pctx = EVP_PKEY_CTX_new_from_pkey(libctx, pubk[i], NULL); in EVP_SealInit()
|
/freebsd/crypto/openssl/apps/ |
H A D | ecparam.c | 288 pctx = EVP_PKEY_CTX_new_from_pkey(app_get0_libctx(), params_key, in ecparam_main() 319 gctx_key = EVP_PKEY_CTX_new_from_pkey(app_get0_libctx(), params_key, in ecparam_main()
|
H A D | pkeyparam.c | 114 ctx = EVP_PKEY_CTX_new_from_pkey(app_get0_libctx(), pkey, in pkeyparam_main()
|
H A D | gendsa.c | 137 ctx = EVP_PKEY_CTX_new_from_pkey(app_get0_libctx(), pkey, app_get0_propq()); in gendsa_main()
|
H A D | dsaparam.c | 208 ctx = EVP_PKEY_CTX_new_from_pkey(app_get0_libctx(), params, in dsaparam_main()
|
H A D | ec.c | 230 pctx = EVP_PKEY_CTX_new_from_pkey(NULL, eckey, NULL); in ec_main()
|
H A D | rsautl.c | 241 if ((ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pkey, NULL)) == NULL) in rsautl_main()
|
/freebsd/crypto/openssl/demos/keyexch/ |
H A D | x25519.c | 139 ctx = EVP_PKEY_CTX_new_from_pkey(libctx, local_peer->privk, propq); in keyexch_x25519_after()
|
/freebsd/crypto/openssl/providers/fips/ |
H A D | self_test_kats.c | 410 dctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, NULL); in self_test_ka() 483 sctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, NULL); in self_test_sign() 565 encctx = EVP_PKEY_CTX_new_from_pkey(libctx, key, NULL); in self_test_asym_cipher()
|