Home
last modified time | relevance | path

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

123

/third_party/openssl/test/
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()
Devp_pkey_provided_test.c396 if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, ""))) in test_fromdata_rsa()
476 || !TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, "")) in test_evp_pkey_get_bn_param_large()
660 if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, ""))) in test_fromdata_dh_named_group()
841 if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, ""))) in test_fromdata_dh_fips186_4()
1096 if (!TEST_ptr(ctx2 = EVP_PKEY_CTX_new_from_pkey(NULL, pk, NULL))) in test_fromdata_ecx()
1342 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_pkey(NULL, param, NULL)) in test_ec_dup_no_operation()
1375 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_pkey(NULL, param, NULL)) in test_ec_dup_keygen_operation()
1606 if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, ""))) in test_fromdata_dsa_fips186_4()
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()
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()
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()
Dprovider_pkey_test.c89 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, in test_pkey_sig()
Devp_extra_test.c1132 ctx = EVP_PKEY_CTX_new_from_pkey(testctx, pkey, NULL); in test_EVP_PKEY_sign()
1793 if (!TEST_ptr(kctx = EVP_PKEY_CTX_new_from_pkey(testctx, params, NULL)) in test_EC_keygen_with_enc()
1859 if (!TEST_ptr(pctx = EVP_PKEY_CTX_new_from_pkey(testctx, pkey, testpropq))) in test_EVP_SM2_verify()
1930 if (!TEST_ptr(kctx = EVP_PKEY_CTX_new_from_pkey(testctx, in test_EVP_SM2()
1946 if (!TEST_ptr(sctx = EVP_PKEY_CTX_new_from_pkey(testctx, pkey, testpropq))) in test_EVP_SM2()
2028 if (!TEST_ptr(cctx = EVP_PKEY_CTX_new_from_pkey(testctx, in test_EVP_SM2()
2259 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_pkey(testctx, pkey, testpropq))) in test_EVP_PKEY_check()
2550 ctx = EVP_PKEY_CTX_new_from_pkey(testctx, pkey, testpropq); in test_EVP_PKEY_CTX_get_set_params()
2765 || !TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(0, key, 0))) in test_RSA_OAEP_set_get_params()
/third_party/openssl/doc/man3/
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
DEVP_PKEY_decapsulate.pod57 ctx = EVP_PKEY_CTX_new_from_pkey(libctx, rsa_priv_key, NULL);
DEVP_PKEY_encapsulate.pod57 ctx = EVP_PKEY_CTX_new_from_pkey(libctx, rsa_pub_key, NULL);
/third_party/openssl/demos/signature/
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()
/third_party/openssl/crypto/cms/
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()
Dcms_env.c317 ktri->pctx = EVP_PKEY_CTX_new_from_pkey(ossl_cms_ctx_get0_libctx(ctx), in cms_RecipientInfo_ktri_init()
479 pctx = EVP_PKEY_CTX_new_from_pkey(ossl_cms_ctx_get0_libctx(ctx), in cms_RecipientInfo_ktri_encrypt()
564 ktri->pctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, propq); in cms_RecipientInfo_ktri_decrypt()
/third_party/openssl/apps/
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()
Dpkeyparam.c114 ctx = EVP_PKEY_CTX_new_from_pkey(app_get0_libctx(), pkey, in pkeyparam_main()
Dgendsa.c137 ctx = EVP_PKEY_CTX_new_from_pkey(app_get0_libctx(), pkey, app_get0_propq()); in gendsa_main()
Ddsaparam.c208 ctx = EVP_PKEY_CTX_new_from_pkey(app_get0_libctx(), params, in dsaparam_main()
Dec.c230 pctx = EVP_PKEY_CTX_new_from_pkey(NULL, eckey, NULL); in ec_main()
Drsautl.c241 if ((ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pkey, NULL)) == NULL) in rsautl_main()
/third_party/openssl/crypto/evp/
Dp_verify.c46 pkctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, propq); in EVP_VerifyFinal_ex()
Dp_sign.c49 pkctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, propq); in EVP_SignFinal_ex()
Dp_seal.c60 pctx = EVP_PKEY_CTX_new_from_pkey(libctx, pubk[i], NULL); in EVP_SealInit()
/third_party/openssl/providers/fips/
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()
/third_party/openssl/demos/keyexch/
Dx25519.c139 ctx = EVP_PKEY_CTX_new_from_pkey(libctx, local_peer->privk, propq); in keyexch_x25519_after()
/third_party/openssl/doc/man7/
DEVP_KEYEXCH-ECDH.pod76 EVP_PKEY_CTX *dctx = EVP_PKEY_CTX_new_from_pkey(NULL, host_key, NULL);

123