Home
last modified time | relevance | path

Searched refs:EVP_PKEY_CTX_new_from_name (Results 1 – 25 of 46) sorted by relevance

12

/third_party/openssl/doc/man3/
DEVP_PKEY_CTX_new.pod5 EVP_PKEY_CTX_new, EVP_PKEY_CTX_new_id, EVP_PKEY_CTX_new_from_name,
16 EVP_PKEY_CTX *EVP_PKEY_CTX_new_from_name(OSSL_LIB_CTX *libctx,
34 The EVP_PKEY_CTX_new_from_name() function allocates a public key algorithm
47 EVP_PKEY_CTX_new_id() and EVP_PKEY_CTX_new_from_name() are normally
91 This is the I<name> used with EVP_PKEY_CTX_new_from_name().
120 The EVP_PKEY_CTX_new_from_name() and EVP_PKEY_CTX_new_from_pkey() functions were
DEVP_PKEY_fromdata.pod24 be created with L<EVP_PKEY_CTX_new_from_name(3)> or
129 EVP_PKEY_CTX *ctx = EVP_PKEY_CTX_new_from_name(NULL, "RSA", NULL);
188 ctx = EVP_PKEY_CTX_new_from_name(NULL, "EC", NULL);
215 EVP_PKEY_CTX *ctx = EVP_PKEY_CTX_new_from_name(NULL, argv[1], NULL);
/third_party/openssl/doc/man7/
DEVP_PKEY-X25519.pod74 EVP_PKEY_CTX_new_from_name(NULL, "X25519", NULL);
77 EVP_PKEY_CTX_new_from_name(NULL, "X448", NULL);
80 EVP_PKEY_CTX_new_from_name(NULL, "ED25519", NULL);
83 EVP_PKEY_CTX_new_from_name(NULL, "ED448", NULL);
DEVP_PKEY-DSA.pod52 EVP_PKEY_CTX *pctx = EVP_PKEY_CTX_new_from_name(NULL, "DSA", NULL);
63 pctx = EVP_PKEY_CTX_new_from_name(NULL, "DSA", NULL);
DEVP_PKEY-DH.pod174 EVP_PKEY_CTX *pctx = EVP_PKEY_CTX_new_from_name(NULL, "DH", NULL);
181 EVP_PKEY_CTX *pctx = EVP_PKEY_CTX_new_from_name(NULL, "DH", NULL);
204 pctx = EVP_PKEY_CTX_new_from_name(NULL, "DHX", NULL);
266 ctx = EVP_PKEY_CTX_new_from_name(NULL, "DHX", NULL);
DEVP_PKEY-RSA.pod223 EVP_PKEY_CTX_new_from_name(NULL, "RSA", NULL);
233 EVP_PKEY_CTX_new_from_name(NULL, "RSA", NULL);
245 EVP_PKEY_CTX *pctx = EVP_PKEY_CTX_new_from_name(NULL, "RSA", NULL);
DEVP_PKEY-EC.pod197 EVP_PKEY_CTX_new_from_name(NULL, "EC", NULL);
209 EVP_PKEY_CTX_new_from_name(NULL, "EC", NULL);
232 EVP_PKEY_CTX_new_from_name(NULL, "EC", NULL);
DOSSL_PROVIDER-legacy.pod30 L<EVP_PKEY_CTX_new_from_name(3)>.
/third_party/openssl/test/
Dprovider_pkey_test.c70 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(libctx, "RSA", in test_pkey_sig()
132 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(libctx, "RSA", NULL))) in test_alternative_keygen_init()
154 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(libctx, "RSA", in test_alternative_keygen_init()
Devp_pkey_provided_test.c379 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(NULL, "RSA", NULL))) in test_fromdata_rsa()
472 || !TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(NULL, "RSA", NULL)) in test_evp_pkey_get_bn_param_large()
561 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(NULL, "DH", NULL))) in test_fromdata_dh_named_group()
773 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(NULL, "DH", NULL))) in test_fromdata_dh_fips186_4()
1068 ctx = EVP_PKEY_CTX_new_from_name(NULL, alg, NULL); in test_fromdata_ecx()
1220 ctx = EVP_PKEY_CTX_new_from_name(NULL, alg, NULL); in test_fromdata_ec()
1536 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(NULL, "DSA", NULL))) in test_fromdata_dsa_fips186_4()
1662 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(NULL, "DSA", NULL)) in test_check_dsa()
1707 if (!TEST_ptr(pctx = EVP_PKEY_CTX_new_from_name(NULL, "HKDF", NULL))) in test_evp_pkey_ctx_dup_kdf_fail()
Devp_pkey_ctx_new_from_name.c10 pctx = EVP_PKEY_CTX_new_from_name(NULL, "NO_SUCH_ALGORITHM", NULL); in main()
Ddsatest.c248 if (!TEST_ptr(pg_ctx = EVP_PKEY_CTX_new_from_name(NULL, "DSA", NULL)) in dsa_keygen_test()
314 ret = TEST_ptr(gen_ctx = EVP_PKEY_CTX_new_from_name(NULL, "DSA", NULL)) in test_dsa_default_paramgen_validate()
Devp_extra_test2.c307 if (!TEST_ptr(fromctx = EVP_PKEY_CTX_new_from_name(mainctx, keytype, NULL)) in do_pkey_tofrom_data_select()
345 ret = TEST_ptr(gctx = EVP_PKEY_CTX_new_from_name(mainctx, "DHX", NULL)) in test_dh_tofrom_data_select()
634 ret = TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(mainctx, type, NULL)) in do_fromdata_key_is_equal()
802 ret = TEST_ptr(gen_ctx = EVP_PKEY_CTX_new_from_name(mainctx, "DSA", NULL)) in do_check_params()
Dacvp_test.c167 || !TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(libctx, "EC", NULL)) in ecdsa_create_pkey()
342 if (!TEST_ptr(paramgen_ctx = EVP_PKEY_CTX_new_from_name(libctx, "DSA", NULL)) in dsa_paramgen()
418 if (!TEST_ptr(paramgen_ctx = EVP_PKEY_CTX_new_from_name(libctx, "DSA", NULL)) in dsa_paramgen_test()
506 || !TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(libctx, "DSA", NULL)) in dsa_create_pkey()
928 || !TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(libctx, "DH", NULL)) in dh_create_pkey()
957 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(libctx, "DH", NULL)) in dh_safe_prime_keygen_test()
1037 || !TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(libctx, "RSA", NULL)) in rsa_create_pkey()
1091 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(libctx, "RSA", NULL)) in rsa_keygen_test()
Dendecoder_legacy_test.c248 && ((ctx = EVP_PKEY_CTX_new_from_name(NULL, type, NULL)) == NULL in make_key()
263 : EVP_PKEY_CTX_new_from_name(NULL, type, NULL); in make_key()
Devp_extra_test.c698 if (!TEST_ptr(pctx = EVP_PKEY_CTX_new_from_name(testctx, keytype, testpropq))) in make_key_fromdata()
1784 if (!TEST_ptr(pctx = EVP_PKEY_CTX_new_from_name(testctx, "EC", NULL)) in test_EC_keygen_with_enc()
1917 if (!TEST_ptr(pctx = EVP_PKEY_CTX_new_from_name(testctx, in test_EVP_SM2()
2393 if (!TEST_ptr(pctx = EVP_PKEY_CTX_new_from_name(testctx, "HKDF", testpropq))) in test_HKDF()
2437 if (!TEST_ptr(pctx = EVP_PKEY_CTX_new_from_name(testctx, "HKDF", testpropq))) in test_emptyikm_HKDF()
2653 if (!TEST_ptr(pctx = EVP_PKEY_CTX_new_from_name(testctx, "DSA", NULL)) in test_DSA_get_set_params()
2720 if (!TEST_ptr(pctx = EVP_PKEY_CTX_new_from_name(testctx, "RSA", NULL)) in test_RSA_get_set_params()
3055 pctx = EVP_PKEY_CTX_new_from_name(tmpctx, keytype, ""); in test_pkey_ctx_fail_without_provider()
3459 && TEST_ptr((ctx = EVP_PKEY_CTX_new_from_name(testctx, "RSA-PSS", testpropq))) in test_EVP_rsa_pss_with_keygen_bits()
/third_party/openssl/apps/
Decparam.c233 gctx_params = EVP_PKEY_CTX_new_from_name(app_get0_libctx(), "sm2", in ecparam_main()
236 gctx_params = EVP_PKEY_CTX_new_from_name(app_get0_libctx(), "ec", in ecparam_main()
Ddhparam.c188 ctx = EVP_PKEY_CTX_new_from_name(app_get0_libctx(), alg, app_get0_propq()); in dhparam_main()
388 ctx = EVP_PKEY_CTX_new_from_name(app_get0_libctx(), "DHX", app_get0_propq()); in dsa_to_dh()
Dtestdsa.h239 if ((pctx = EVP_PKEY_CTX_new_from_name(NULL, "DSA", NULL)) == NULL) in get_dsa()
Ddsaparam.c150 ctx = EVP_PKEY_CTX_new_from_name(app_get0_libctx(), "DSA", app_get0_propq()); in dsaparam_main()
Dgenpkey.c296 ctx = EVP_PKEY_CTX_new_from_name(libctx, algname, propq); in init_gen_str()
/third_party/openssl/demos/pkey/
DEVP_PKEY_EC_keygen.c44 genctx = EVP_PKEY_CTX_new_from_name(libctx, "EC", propq); in do_ec_keygen()
DEVP_PKEY_RSA_keygen.c42 genctx = EVP_PKEY_CTX_new_from_name(libctx, "RSA", propq); in generate_rsa_key_long()
/third_party/openssl/providers/fips/
Dself_test_kats.c399 kactx = EVP_PKEY_CTX_new_from_name(libctx, t->algorithm, ""); in self_test_ka()
475 kctx = EVP_PKEY_CTX_new_from_name(libctx, t->algorithm, ""); in self_test_sign()
557 keyctx = EVP_PKEY_CTX_new_from_name(libctx, t->algorithm, NULL); in self_test_asym_cipher()
/third_party/openssl/test/helpers/
Dpredefined_dhparams.c21 EVP_PKEY_CTX *pctx = EVP_PKEY_CTX_new_from_name(libctx, type, NULL); in get_dh_from_pg_bn()

12