Home
last modified time | relevance | path

Searched refs:EVP_PKEY_CTX_new_from_pkey (Results 1 – 25 of 57) sorted by relevance

123

/freebsd/crypto/openssl/test/
H A Devp_libctx_test.c126 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 Devp_pkey_provided_test.c401 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 Devp_extra_test2.c383 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 Ddsatest.c262 || !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 Dacvp_test.c194 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 Dthreadstest.c401 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 DEVP_PKEY_decapsulate.pod22 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 DEVP_PKEY_CTX_new.pod6 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 DEVP_PKEY_encapsulate.pod22 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 DEVP_PKEY_CTX_get0_pkey.pod21 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 Drsa_pss_direct.c65 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 DEVP_PKEY_DSA_paramvalidate.c89 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 DEVP_PKEY_DSA_keygen.c61 ctx = EVP_PKEY_CTX_new_from_pkey(libctx, dsaparamskey, propq); in main()
/freebsd/crypto/openssl/crypto/cms/
H A Dcms_kari.c173 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 Dp_verify.c46 pkctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, propq); in EVP_VerifyFinal_ex()
H A Dp_sign.c49 pkctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, propq); in EVP_SignFinal_ex()
H A Dp_seal.c60 pctx = EVP_PKEY_CTX_new_from_pkey(libctx, pubk[i], NULL); in EVP_SealInit()
/freebsd/crypto/openssl/apps/
H A Decparam.c288 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 Dpkeyparam.c114 ctx = EVP_PKEY_CTX_new_from_pkey(app_get0_libctx(), pkey, in pkeyparam_main()
H A Dgendsa.c137 ctx = EVP_PKEY_CTX_new_from_pkey(app_get0_libctx(), pkey, app_get0_propq()); in gendsa_main()
H A Ddsaparam.c208 ctx = EVP_PKEY_CTX_new_from_pkey(app_get0_libctx(), params, in dsaparam_main()
H A Dec.c230 pctx = EVP_PKEY_CTX_new_from_pkey(NULL, eckey, NULL); in ec_main()
H A Drsautl.c241 if ((ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pkey, NULL)) == NULL) in rsautl_main()
/freebsd/crypto/openssl/demos/keyexch/
H A Dx25519.c139 ctx = EVP_PKEY_CTX_new_from_pkey(libctx, local_peer->privk, propq); in keyexch_x25519_after()
/freebsd/crypto/openssl/providers/fips/
H A Dself_test_kats.c410 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()

123