Home
last modified time | relevance | path

Searched refs:OSSL_PKEY_PARAM_PUB_KEY (Results 1 – 25 of 32) sorted by relevance

12

/third_party/openssl/test/
Devp_pkey_provided_test.c556 || !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PUB_KEY, pub)) in test_fromdata_dh_named_group()
614 || !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_PUB_KEY, in test_fromdata_dh_named_group()
768 || !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PUB_KEY, pub)) in test_fromdata_dh_fips186_4()
795 || !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_PUB_KEY, in test_fromdata_dh_fips186_4()
996 OSSL_PARAM_octet_string(OSSL_PKEY_PARAM_PUB_KEY, in test_fromdata_ecx()
1005 OSSL_PARAM_octet_string(OSSL_PKEY_PARAM_PUB_KEY, in test_fromdata_ecx()
1014 OSSL_PARAM_octet_string(OSSL_PKEY_PARAM_PUB_KEY, in test_fromdata_ecx()
1023 OSSL_PARAM_octet_string(OSSL_PKEY_PARAM_PUB_KEY, in test_fromdata_ecx()
1212 if (OSSL_PARAM_BLD_push_octet_string(bld, OSSL_PKEY_PARAM_PUB_KEY, in test_fromdata_ec()
1257 OSSL_PKEY_PARAM_PUB_KEY)) in test_fromdata_ec()
[all …]
Dtls-provider.c674 param_pub_key = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_PUB_KEY); in xor_import()
709 *p++ = OSSL_PARAM_construct_octet_string(OSSL_PKEY_PARAM_PUB_KEY, in xor_export()
717 OSSL_PARAM_BN(OSSL_PKEY_PARAM_PUB_KEY, NULL, 0),
Dacvp_test.c164 OSSL_PKEY_PARAM_PUB_KEY, in ecdsa_create_pkey()
387 || !TEST_true(pkey_get_bn_bytes(key, OSSL_PKEY_PARAM_PUB_KEY, in dsa_keygen_test()
501 OSSL_PKEY_PARAM_PUB_KEY, in dsa_create_pkey()
915 || !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PUB_KEY, in dh_create_pkey()
963 || !TEST_true(pkey_get_bn_bytes(pkey, OSSL_PKEY_PARAM_PUB_KEY, in dh_safe_prime_keygen_test()
Devp_extra_test.c820 || !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PUB_KEY, in test_EVP_PKEY_ffc_priv_pub()
841 || !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PUB_KEY, in test_EVP_PKEY_ffc_priv_pub()
961 OSSL_PKEY_PARAM_PUB_KEY, in test_EC_priv_pub()
983 OSSL_PKEY_PARAM_PUB_KEY, in test_EC_priv_pub()
2664 || !TEST_true(OSSL_PARAM_BLD_push_BN(bld, OSSL_PKEY_PARAM_PUB_KEY, in test_DSA_get_set_params()
2928 if (!TEST_true(EVP_PKEY_get_bn_param(pkey1, OSSL_PKEY_PARAM_PUB_KEY, in test_EVP_PKEY_set1_DH()
2938 OSSL_PKEY_PARAM_PUB_KEY, in test_EVP_PKEY_set1_DH()
Devp_extra_test2.c886 || !do_check_bn(to_params, OSSL_PKEY_PARAM_PUB_KEY, dsa_pub, in test_dsa_todata()
/third_party/openssl/crypto/dh/
Ddh_backend.c75 param_pub_key = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_PUB_KEY); in ossl_dh_key_fromdata()
123 && !ossl_param_build_set_bn(bld, params, OSSL_PKEY_PARAM_PUB_KEY, pub)) in ossl_dh_key_todata()
Ddh_ameth.c486 if (!OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_PUB_KEY, pub_key)) in dh_pkey_export_to()
/third_party/openssl/demos/pkey/
DEVP_PKEY_EC_keygen.c101 if (!EVP_PKEY_get_octet_string_param(pkey, OSSL_PKEY_PARAM_PUB_KEY, in get_key_values()
/third_party/openssl/apps/
Dtestdsa.h260 || !OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_PUB_KEY, in get_dsa()
/third_party/openssl/demos/keyexch/
Dx25519.c87 OSSL_PKEY_PARAM_PUB_KEY, in keyexch_x25519_before()
/third_party/openssl/crypto/dsa/
Ddsa_backend.c44 OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_PUB_KEY); in ossl_dsa_key_fromdata()
Ddsa_ameth.c455 if (!OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_PUB_KEY, in dsa_pkey_export_to()
/third_party/openssl/crypto/ec/
Decx_backend.c65 param_pub_key = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_PUB_KEY); in ossl_ecx_key_fromdata()
Dec_ameth.c520 OSSL_PKEY_PARAM_PUB_KEY, in ec_pkey_export_to()
Dec_backend.c412 OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_PUB_KEY); in ossl_ec_key_fromdata()
/third_party/openssl/providers/implementations/keymgmt/
Ddsa_kmgmt.c112 && !ossl_param_build_set_bn(bld, params, OSSL_PKEY_PARAM_PUB_KEY, pub)) in dsa_key_todata()
262 OSSL_PARAM_BN(OSSL_PKEY_PARAM_PUB_KEY, NULL, 0)
Dec_kmgmt.c143 p = OSSL_PARAM_locate(params, OSSL_PKEY_PARAM_PUB_KEY); in key_to_params()
154 OSSL_PKEY_PARAM_PUB_KEY, in key_to_params()
532 OSSL_PARAM_octet_string(OSSL_PKEY_PARAM_PUB_KEY, NULL, 0)
Decx_kmgmt.c216 OSSL_PKEY_PARAM_PUB_KEY, in key_to_params()
264 OSSL_PARAM_octet_string(OSSL_PKEY_PARAM_PUB_KEY, NULL, 0), \
/third_party/openssl/doc/man7/
DEVP_PKEY-X25519.pod33 =item "pub" (B<OSSL_PKEY_PARAM_PUB_KEY>) <octet string>
DEVP_PKEY-FFC.pod41 =item "pub" (B<OSSL_PKEY_PARAM_PUB_KEY>) <unsigned integer>
DEVP_PKEY-EC.pod111 =item "pub" (B<OSSL_PKEY_PARAM_PUB_KEY>) <octet string>
/third_party/openssl/include/openssl/
Dcore_names.h293 #define OSSL_PKEY_PARAM_PUB_KEY "pub" macro
/third_party/openssl/crypto/cms/
Dcms_dh.c223 if (!EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_PUB_KEY, &bn_pub_key)) in dh_cms_encrypt()
/third_party/openssl/doc/man3/
DEVP_PKEY_gettable_params.pod108 if (!EVP_PKEY_get_octet_string_param(key, OSSL_PKEY_PARAM_PUB_KEY,
/third_party/openssl/providers/fips/
Dself_test_data.inc1017 ST_KAT_PARAM_BIGNUM(OSSL_PKEY_PARAM_PUB_KEY, dh_pub),
1024 ST_KAT_PARAM_BIGNUM(OSSL_PKEY_PARAM_PUB_KEY, dh_peer_pub),
1066 ST_KAT_PARAM_OCTET(OSSL_PKEY_PARAM_PUB_KEY, ecdh_pub),
1071 ST_KAT_PARAM_OCTET(OSSL_PKEY_PARAM_PUB_KEY, ecdh_peer_pub),
1401 ST_KAT_PARAM_OCTET(OSSL_PKEY_PARAM_PUB_KEY, ecd_prime_pub),
1426 ST_KAT_PARAM_OCTET(OSSL_PKEY_PARAM_PUB_KEY, ecd_bin_pub),
1554 ST_KAT_PARAM_BIGNUM(OSSL_PKEY_PARAM_PUB_KEY, dsa_pub),

12