/freebsd/crypto/openssl/test/ |
H A D | evp_extra_test2.c | 300 if (!TEST_int_eq(EVP_PKEY_todata(key, EVP_PKEY_KEYPAIR, &keypair_params), 1) in do_pkey_tofrom_data_select() 319 EVP_PKEY_KEYPAIR, keypair_params), 1) in do_pkey_tofrom_data_select() 729 EVP_PKEY_KEYPAIR, in do_fromdata_key_is_equal() 897 EVP_PKEY_KEYPAIR, key_params), 1) in do_check_params() 974 || !TEST_int_eq(EVP_PKEY_todata(pkey, EVP_PKEY_KEYPAIR, &to_params), 1) in test_dsa_todata() 1077 && TEST_int_eq(EVP_PKEY_todata(NULL, EVP_PKEY_KEYPAIR, ¶ms), 0) in test_pkey_todata_null() 1078 && TEST_int_eq(EVP_PKEY_todata(pkey, EVP_PKEY_KEYPAIR, NULL), 0); in test_pkey_todata_null() 1100 && TEST_int_eq(EVP_PKEY_export(NULL, EVP_PKEY_KEYPAIR, in test_pkey_export_null() 1102 && TEST_int_eq(EVP_PKEY_export(pkey, EVP_PKEY_KEYPAIR, NULL, NULL), 0); in test_pkey_export_null() 1119 || !TEST_true(EVP_PKEY_export(pkey, EVP_PKEY_KEYPAIR, in test_pkey_export() [all …]
|
H A D | evp_pkey_provided_test.c | 388 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, &pk, EVP_PKEY_KEYPAIR, in test_fromdata_rsa() 482 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, &pk, EVP_PKEY_KEYPAIR, in test_evp_pkey_get_bn_param_large() 573 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, &pk, EVP_PKEY_KEYPAIR, in test_fromdata_dh_named_group() 788 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, &pk, EVP_PKEY_KEYPAIR, in test_fromdata_dh_fips186_4() 1098 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, &pk, EVP_PKEY_KEYPAIR, in test_fromdata_ecx() 1273 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, &pk, EVP_PKEY_KEYPAIR, in test_fromdata_ec() 1598 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, &pk, EVP_PKEY_KEYPAIR, in test_fromdata_dsa_fips186_4()
|
H A D | provider_pkey_test.c | 73 || !TEST_true(EVP_PKEY_fromdata(ctx, &pkey, EVP_PKEY_KEYPAIR, NULL)) in test_pkey_sig()
|
H A D | evp_extra_test.c | 720 || !TEST_int_gt(EVP_PKEY_fromdata(pctx, &tmp_pkey, EVP_PKEY_KEYPAIR, in make_key_fromdata() 869 if (!test_selection(params_and_keypair, EVP_PKEY_KEYPAIR)) in test_EVP_PKEY_ffc_priv_pub() 1013 if (!test_selection(params_and_keypair, EVP_PKEY_KEYPAIR)) in test_EC_priv_pub() 2841 || !TEST_int_gt(EVP_PKEY_fromdata(pctx, &pkey, EVP_PKEY_KEYPAIR, in test_DSA_get_set_params() 2902 || !TEST_int_gt(EVP_PKEY_fromdata(pctx, &pkey, EVP_PKEY_KEYPAIR, in test_RSA_get_set_params()
|
H A D | acvp_test.c | 930 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, pkey, EVP_PKEY_KEYPAIR, params), in dh_create_pkey() 1039 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, pkey, EVP_PKEY_KEYPAIR, params), in rsa_create_pkey()
|
H A D | ectest.c | 2923 || !TEST_int_eq(EVP_PKEY_fromdata(pctx2, &pkey1, EVP_PKEY_KEYPAIR, in custom_params_test()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | EVP_PKEY_fromdata.pod | 73 =item B<EVP_PKEY_KEYPAIR> 133 || EVP_PKEY_fromdata(ctx, &pkey, EVP_PKEY_KEYPAIR, params) <= 0) 191 || EVP_PKEY_fromdata(ctx, &pkey, EVP_PKEY_KEYPAIR, params) <= 0) { 219 settable_params = EVP_PKEY_fromdata_settable(ctx, EVP_PKEY_KEYPAIR);
|
H A D | d2i_RSAPrivateKey.pod | 206 int selection = EVP_PKEY_KEYPAIR;
|
/freebsd/crypto/openssl/providers/fips/ |
H A D | self_test_kats.c | 403 || EVP_PKEY_fromdata(kactx, &pkey, EVP_PKEY_KEYPAIR, params) <= 0) in self_test_ka() 406 || EVP_PKEY_fromdata(kactx, &peerkey, EVP_PKEY_KEYPAIR, params_peer) <= 0) in self_test_ka() 479 || EVP_PKEY_fromdata(kctx, &pkey, EVP_PKEY_KEYPAIR, params) <= 0) in self_test_sign() 561 || EVP_PKEY_fromdata(keyctx, &key, EVP_PKEY_KEYPAIR, keyparams) <= 0) in self_test_asym_cipher()
|
/freebsd/crypto/openssl/demos/encode/ |
H A D | ec_encode.c | 122 ? EVP_PKEY_KEYPAIR in store_key()
|
H A D | rsa_encode.c | 122 ? EVP_PKEY_KEYPAIR in store_key()
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | i2d_evp.c | 104 return i2d_provided(a, EVP_PKEY_KEYPAIR, output_info, pp); in i2d_PrivateKey()
|
H A D | d2i_pr.c | 51 EVP_PKEY_KEYPAIR, libctx, propq); in d2i_PrivateKey_decoder()
|
/freebsd/crypto/openssl/apps/ |
H A D | testdsa.h | 266 || EVP_PKEY_fromdata(pctx, &pkey, EVP_PKEY_KEYPAIR, in get_dsa()
|
/freebsd/crypto/openssl/crypto/pem/ |
H A D | pem_pkey.c | 185 } else if ((selection & EVP_PKEY_KEYPAIR) == 0 in pem_read_bio_key_legacy() 306 EVP_PKEY_KEYPAIR); in PEM_read_bio_PrivateKey_ex()
|
H A D | pem_local.h | 27 # define PEM_SELECTION_PrivateKey EVP_PKEY_KEYPAIR
|
/freebsd/crypto/openssl/demos/signature/ |
H A D | EVP_Signature_demo.c | 57 selection = EVP_PKEY_KEYPAIR; in get_key()
|
/freebsd/crypto/openssl/crypto/evp/ |
H A D | evp_pkey.c | 83 selection = EVP_PKEY_KEYPAIR | EVP_PKEY_KEY_PARAMETERS; in EVP_PKCS82PKEY_ex()
|
H A D | p_lib.c | 428 if (EVP_PKEY_fromdata(ctx, &pkey, EVP_PKEY_KEYPAIR, params) != 1) { in new_raw_key_int() 659 if (EVP_PKEY_fromdata(ctx, &pkey, EVP_PKEY_KEYPAIR, params) <= 0) { in new_cmac_key_int()
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | crypto_openssl.c | 1179 EVP_PKEY_fromdata(fctx, &pkey, EVP_PKEY_KEYPAIR, params) != 1) { in dh5_init_fixed() 3120 EVP_PKEY_fromdata(ctx, &pkey, EVP_PKEY_KEYPAIR, params) <= 0) in crypto_ec_key_set_priv()
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | evp.h | 92 # define EVP_PKEY_KEYPAIR \ macro
|
/freebsd/crypto/openssl/ssl/statem/ |
H A D | statem_clnt.c | 2069 || EVP_PKEY_fromdata(pctx, &peer_tmp, EVP_PKEY_KEYPAIR, params) <= 0) { in tls_process_ske_dhe()
|