Home
last modified time | relevance | path

Searched refs:EVP_PKEY_fromdata (Results 1 – 25 of 37) sorted by relevance

12

/openssl/doc/man3/
H A DEVP_PKEY_fromdata.pod5 EVP_PKEY_fromdata_init, EVP_PKEY_fromdata, EVP_PKEY_fromdata_settable
13 int EVP_PKEY_fromdata(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey, int selection,
33 EVP_PKEY_fromdata() creates the structure to store a key or key parameters,
52 the settable parameters that can be used with EVP_PKEY_fromdata().
89 EVP_PKEY_fromdata_init() and EVP_PKEY_fromdata() return 1 for success and 0 or
96 is the EVP_PKEY_fromdata() set of functions. In real applications,
133 || EVP_PKEY_fromdata(ctx, &pkey, EVP_PKEY_KEYPAIR, params) <= 0)
191 || EVP_PKEY_fromdata(ctx, &pkey, EVP_PKEY_KEYPAIR, params) <= 0) {
H A DEVP_PKEY_todata.pod22 I<selection> is described in L<EVP_PKEY_fromdata(3)/Selections>.
36 This is the mirror function to L<EVP_PKEY_fromdata(3)>.
45 L<EVP_PKEY_fromdata(3)>,
H A DEVP_PKEY_check.pod77 L<EVP_PKEY_fromdata(3)>,
H A DEVP_PKEY_set1_RSA.pod82 L<EVP_PKEY_fromdata(3)>.
91 L<EVP_PKEY_fromdata(3)>.
H A DOSSL_ENCODER_CTX_new_for_pkey.pod112 L<EVP_PKEY_fromdata(3)/Selections>.
H A DOSSL_DECODER_CTX_new_for_pkey.pod114 L<EVP_PKEY_fromdata(3)/Selections>.
/openssl/test/
H A Dprovider_pkey_test.c75 || !TEST_true(EVP_PKEY_fromdata(ctx, &pkey, EVP_PKEY_KEYPAIR, NULL)) in test_pkey_sig()
202 || !TEST_true(EVP_PKEY_fromdata(ctx, &pkey_fake, EVP_PKEY_PUBLIC_KEY, in test_pkey_eq()
217 || !TEST_true(EVP_PKEY_fromdata(ctx, &pkey_dflt, EVP_PKEY_PUBLIC_KEY, in test_pkey_eq()
H A Devp_extra_test2.c314 || !TEST_int_eq(EVP_PKEY_fromdata(fromctx, &fromkey, EVP_PKEY_PUBLIC_KEY, in do_pkey_tofrom_data_select()
322 if (!TEST_int_eq(EVP_PKEY_fromdata(fromctx, &fromkeypair, in do_pkey_tofrom_data_select()
406 ret = EVP_PKEY_fromdata(ctx, &pkey, EVP_PKEY_KEY_PARAMETERS, params); in set_fromdata_string()
422 ret = EVP_PKEY_fromdata(ctx, &pkey, EVP_PKEY_KEY_PARAMETERS, params); in set_fromdata_uint()
818 && TEST_int_eq(EVP_PKEY_fromdata(ctx, &pkey, in do_fromdata_key_is_equal()
986 && TEST_int_eq(EVP_PKEY_fromdata(gen_ctx, &pkey, in do_check_params()
1140 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, &pkey, EVP_PKEY_KEY_PARAMETERS, params), 1)) in test_dsa_fromdata_digest_prop()
H A Devp_pkey_provided_test.c388 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, &pk, EVP_PKEY_KEYPAIR, in test_fromdata_rsa()
470 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, &pk, EVP_PKEY_KEYPAIR, in do_fromdata_rsa_derive()
877 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, &pk, EVP_PKEY_KEYPAIR, in test_evp_pkey_get_bn_param_large()
968 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, &pk, EVP_PKEY_KEYPAIR, in test_fromdata_dh_named_group()
1183 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, &pk, EVP_PKEY_KEYPAIR, in test_fromdata_dh_fips186_4()
1494 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, &pk, EVP_PKEY_KEYPAIR, in test_fromdata_ecx()
1664 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, &pk, EVP_PKEY_KEY_PARAMETERS, in test_fromdata_ec()
1670 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, &pk, EVP_PKEY_KEYPAIR, in test_fromdata_ec()
1995 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, &pk, EVP_PKEY_KEYPAIR, in test_fromdata_dsa_fips186_4()
H A Dacvp_test.c197 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, pkey, EVP_PKEY_PUBLIC_KEY, in ecdsa_create_pkey()
454 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, pkey, EVP_PKEY_PUBLIC_KEY, in eddsa_create_pkey()
702 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, pkey, EVP_PKEY_PUBLIC_KEY, in dsa_create_pkey()
1174 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, pkey, EVP_PKEY_KEYPAIR, params), in dh_create_pkey()
1283 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, pkey, EVP_PKEY_KEYPAIR, params), in rsa_create_pkey()
H A Dectest.c2574 || !TEST_int_gt(EVP_PKEY_fromdata(pctx, &pkeyparam, in do_test_custom_explicit_fromdata()
3035 || !TEST_int_eq(EVP_PKEY_fromdata(pctx2, &pkey1, EVP_PKEY_KEYPAIR, in custom_params_test()
3037 || !TEST_int_eq(EVP_PKEY_fromdata(pctx2, &pkey2, EVP_PKEY_PUBLIC_KEY, in custom_params_test()
3103 || !TEST_true(EVP_PKEY_fromdata(pctx, &decoded_key, in ec_d2i_publickey_test()
/openssl/demos/signature/
H A DEVP_DSA_Signature_demo.c179 if (EVP_PKEY_fromdata(pkey_ctx, &pkey, EVP_PKEY_KEYPAIR, keypair) != 1) in demo_sign()
242 if (EVP_PKEY_fromdata(pkey_ctx, &pkey, EVP_PKEY_PUBLIC_KEY, public_key) != 1) in demo_verify()
/openssl/demos/pkey/
H A DEVP_PKEY_DSA_paramfromdata.c56 || EVP_PKEY_fromdata(ctx, &dsaparamkey, EVP_PKEY_KEY_PARAMETERS, params) <= 0) { in main()
H A DEVP_PKEY_DSA_paramvalidate.c84 || EVP_PKEY_fromdata(ctx, &pkey, in create_merged_key()
/openssl/doc/man7/
H A Devp.pod32 described on the L<EVP_PKEY_fromdata(3)> page, or
94 L<EVP_PKEY_fromdata(3)>,
H A DEVP_PKEY-DH.pod240 EVP_PKEY_todata(), OSSL_PARAM_merge(), and EVP_PKEY_fromdata() are useful
270 EVP_PKEY_fromdata(ctx, &complete_domp, OSSL_KEYMGMT_SELECT_ALL,
H A DEVP_PKEY-RSA.pod31 This value must always be set when creating a raw key using L<EVP_PKEY_fromdata(3)>.
H A DEVP_PKEY-EC.pod116 EVP_PKEY_fromdata() and EVP_PKEY_todata() functions.
/openssl/apps/
H A Dtestdsa.h266 || EVP_PKEY_fromdata(pctx, &pkey, EVP_PKEY_KEYPAIR, in get_dsa()
H A Ddhparam.c404 || EVP_PKEY_fromdata(ctx, &pkey, EVP_PKEY_KEY_PARAMETERS, params) <= 0) { in dsa_to_dh()
/openssl/test/helpers/
H A Dpredefined_dhparams.c38 || EVP_PKEY_fromdata(pctx, &dhpkey, EVP_PKEY_KEY_PARAMETERS, params) <= 0) in get_dh_from_pg_bn()
/openssl/demos/keyexch/
H A Decdh.c65 && (EVP_PKEY_fromdata(ctx, &peer->pub, EVP_PKEY_PUBLIC_KEY, in get_peer_public_key()
/openssl/providers/fips/
H A Dself_test_kats.c413 || EVP_PKEY_fromdata(kactx, &pkey, EVP_PKEY_KEYPAIR, params) <= 0) in self_test_ka()
416 || EVP_PKEY_fromdata(kactx, &peerkey, EVP_PKEY_KEYPAIR, params_peer) <= 0) in self_test_ka()
500 || EVP_PKEY_fromdata(fromctx, &pkey, EVP_PKEY_KEYPAIR, paramskey) <= 0) in self_test_digest_sign()
597 || EVP_PKEY_fromdata(keyctx, &key, EVP_PKEY_KEYPAIR, keyparams) <= 0) in self_test_asym_cipher()
/openssl/doc/internal/man3/
H A Devp_keymgmt_util_export_to_provider.pod67 helper for L<EVP_PKEY_fromdata(3)>.
/openssl/crypto/evp/
H A Dpmeth_gn.c363 int EVP_PKEY_fromdata(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey, int selection, in EVP_PKEY_fromdata() function

Completed in 61 milliseconds

12