Home
last modified time | relevance | path

Searched refs:EVP_PKEY_CTX_new_from_pkey (Results 1 - 25 of 74) sorted by relevance

123

/third_party/openssl/demos/pkey/
H A DEVP_PKEY_DSA_paramvalidate.c89 out = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, propq); in create_merged_key()
91 fprintf(stderr, "EVP_PKEY_CTX_new_from_pkey() failed\n"); in create_merged_key()
136 ctx = EVP_PKEY_CTX_new_from_pkey(libctx, dsaparamskey, propq); in main()
138 fprintf(stderr, "EVP_PKEY_CTX_new_from_pkey() failed\n"); in main()
H A DEVP_PKEY_DSA_keygen.c61 ctx = EVP_PKEY_CTX_new_from_pkey(libctx, dsaparamskey, propq); in main()
63 fprintf(stderr, "EVP_PKEY_CTX_new_from_pkey() failed\n"); in main()
/third_party/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()
/third_party/node/deps/openssl/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()
/third_party/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()
/third_party/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 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()
H A Devp_pkey_provided_test.c401 if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, ""))) in test_fromdata_rsa()
481 || !TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, "")) in test_evp_pkey_get_bn_param_large()
665 if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, ""))) in test_fromdata_dh_named_group()
846 if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, ""))) in test_fromdata_dh_fips186_4()
1101 if (!TEST_ptr(ctx2 = EVP_PKEY_CTX_new_from_pkey(NULL, pk, NULL))) in test_fromdata_ecx()
1370 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_pkey(NULL, param, NULL)) in test_ec_dup_no_operation()
1403 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_pkey(NULL, param, NULL)) in test_ec_dup_keygen_operation()
1634 if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(NULL, pk, ""))) in test_fromdata_dsa_fips186_4()
/third_party/node/deps/openssl/openssl/crypto/evp/
H A Dp_sign.c49 pkctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, propq); in EVP_SignFinal_ex()
H A Dp_verify.c46 pkctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, propq); in EVP_VerifyFinal_ex()
H A Dp_seal.c60 pctx = EVP_PKEY_CTX_new_from_pkey(libctx, pubk[i], NULL); in EVP_SealInit()
/third_party/openssl/crypto/evp/
H A Dp_sign.c49 pkctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, propq); in EVP_SignFinal_ex()
H A Dp_verify.c46 pkctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, propq); in EVP_VerifyFinal_ex()
H A Dp_seal.c60 pctx = EVP_PKEY_CTX_new_from_pkey(libctx, pubk[i], NULL); in EVP_SealInit()
/third_party/node/deps/openssl/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 Dgendsa.c137 ctx = EVP_PKEY_CTX_new_from_pkey(app_get0_libctx(), pkey, app_get0_propq()); in gendsa_main()
H A Dpkeyparam.c114 ctx = EVP_PKEY_CTX_new_from_pkey(app_get0_libctx(), pkey, in pkeyparam_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()
/third_party/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()
/third_party/node/deps/openssl/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()
/third_party/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()

Completed in 18 milliseconds

123