Home
last modified time | relevance | path

Searched refs:EVP_PKEY_CTX_new_from_name (Results 1 - 25 of 54) sorted by relevance

123

/third_party/openssl/test/
H A 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()
197 || !TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(libctx, "RSA", in test_pkey_eq()
212 || !TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(libctx, "RSA", in test_pkey_eq()
H A Devp_pkey_ctx_new_from_name.c10 pctx = EVP_PKEY_CTX_new_from_name(NULL, "NO_SUCH_ALGORITHM", NULL); in main()
H A 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()
H A Devp_pkey_provided_test.c384 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(NULL, "RSA", NULL))) in test_fromdata_rsa()
477 || !TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(NULL, "RSA", NULL)) in test_evp_pkey_get_bn_param_large()
566 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(NULL, "DH", NULL))) in test_fromdata_dh_named_group()
778 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(NULL, "DH", NULL))) in test_fromdata_dh_fips186_4()
1073 ctx = EVP_PKEY_CTX_new_from_name(NULL, alg, NULL); in test_fromdata_ecx()
1240 ctx = EVP_PKEY_CTX_new_from_name(NULL, alg, NULL); in test_fromdata_ec()
1564 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(NULL, "DSA", NULL))) in test_fromdata_dsa_fips186_4()
1690 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(NULL, "DSA", NULL)) in test_check_dsa()
1735 if (!TEST_ptr(pctx = EVP_PKEY_CTX_new_from_name(NULL, "HKDF", NULL))) in test_evp_pkey_ctx_dup_kdf_fail()
H A 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()
H A 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()
H A Devp_extra_test2.c308 if (!TEST_ptr(fromctx = EVP_PKEY_CTX_new_from_name(mainctx, keytype, NULL)) in do_pkey_tofrom_data_select()
346 ret = TEST_ptr(gctx = EVP_PKEY_CTX_new_from_name(mainctx, "DHX", NULL)) in test_dh_tofrom_data_select()
374 ret = TEST_ptr(gctx = EVP_PKEY_CTX_new_from_name(mainctx, "DH", NULL)) in test_dh_paramgen()
726 ret = TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(mainctx, type, NULL)) in do_fromdata_key_is_equal()
894 ret = TEST_ptr(gen_ctx = EVP_PKEY_CTX_new_from_name(mainctx, "DSA", NULL)) in do_check_params()
1048 if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_from_name(mainctx, "DSA", NULL)) in test_dsa_fromdata_digest_prop()
/third_party/openssl/demos/pkey/
H A DEVP_PKEY_DSA_paramgen.c30 ctx = EVP_PKEY_CTX_new_from_name(libctx, "DSA", propq); in main()
H A DEVP_PKEY_DSA_keygen.c30 ctx = EVP_PKEY_CTX_new_from_name(libctx, "DSA", propq); in dsa_genparams()
32 fprintf(stderr, "EVP_PKEY_CTX_new_from_name() failed\n"); in dsa_genparams()
H A DEVP_PKEY_EC_keygen.c34 * to show how they are passed to EVP_PKEY_CTX_new_from_name(). in do_ec_keygen()
44 genctx = EVP_PKEY_CTX_new_from_name(libctx, "EC", propq); in do_ec_keygen()
46 fprintf(stderr, "EVP_PKEY_CTX_new_from_name() failed\n"); in do_ec_keygen()
H A DEVP_PKEY_DSA_paramfromdata.c49 ctx = EVP_PKEY_CTX_new_from_name(libctx, "DSA", propq); in main()
51 fprintf(stderr, "EVP_PKEY_CTX_new_from_name() failed\n"); in main()
H A DEVP_PKEY_DSA_paramvalidate.c78 ctx = EVP_PKEY_CTX_new_from_name(libctx, "DSA", propq); in create_merged_key()
80 fprintf(stderr, "EVP_PKEY_CTX_new_from_name() failed\n"); in create_merged_key()
H A DEVP_PKEY_RSA_keygen.c42 genctx = EVP_PKEY_CTX_new_from_name(libctx, "RSA", propq); in generate_rsa_key_long()
44 fprintf(stderr, "EVP_PKEY_CTX_new_from_name() failed\n"); in generate_rsa_key_long()
/third_party/node/deps/openssl/openssl/apps/
H A Ddhparam.c188 ctx = EVP_PKEY_CTX_new_from_name(app_get0_libctx(), alg, app_get0_propq()); in dhparam_main()
390 ctx = EVP_PKEY_CTX_new_from_name(app_get0_libctx(), "DHX", app_get0_propq()); in dsa_to_dh()
H A 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()
314 * gctx = EVP_PKEY_CTX_new_from_name(NULL, "EC", NULL); in ecparam_main()
H A Ddsaparam.c150 ctx = EVP_PKEY_CTX_new_from_name(app_get0_libctx(), "DSA", app_get0_propq()); in dsaparam_main()
H A Dgenpkey.c298 ctx = EVP_PKEY_CTX_new_from_name(libctx, algname, propq); in init_gen_str()
/third_party/openssl/apps/
H A 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()
314 * gctx = EVP_PKEY_CTX_new_from_name(NULL, "EC", NULL); in ecparam_main()
H A Ddhparam.c188 ctx = EVP_PKEY_CTX_new_from_name(app_get0_libctx(), alg, app_get0_propq()); in dhparam_main()
390 ctx = EVP_PKEY_CTX_new_from_name(app_get0_libctx(), "DHX", app_get0_propq()); in dsa_to_dh()
H A Ddsaparam.c150 ctx = EVP_PKEY_CTX_new_from_name(app_get0_libctx(), "DSA", app_get0_propq()); in dsaparam_main()
H A Dgenpkey.c298 ctx = EVP_PKEY_CTX_new_from_name(libctx, algname, propq); in init_gen_str()
/third_party/node/deps/openssl/openssl/providers/fips/
H A 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/providers/fips/
H A 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/node/deps/openssl/openssl/crypto/cms/
H A Dcms_ec.c48 pctx = EVP_PKEY_CTX_new_from_name(libctx, "EC", propq); in pkey_type2param()
/third_party/openssl/crypto/cms/
H A Dcms_ec.c48 pctx = EVP_PKEY_CTX_new_from_name(libctx, "EC", propq); in pkey_type2param()

Completed in 19 milliseconds

123