/openssl/demos/pkey/ |
H A D | EVP_PKEY_RSA_keygen.c | 137 if (EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_RSA_N, &n) == 0) { in dump_key() 146 if (EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_RSA_E, &e) == 0) { in dump_key() 155 if (EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_RSA_D, &d) == 0) { in dump_key() 164 if (EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_RSA_FACTOR1, &p) == 0) { in dump_key() 177 if (EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_RSA_FACTOR2, &q) == 0) { in dump_key()
|
H A D | EVP_PKEY_EC_keygen.c | 108 if (!EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_PRIV_KEY, &out_priv)) { in get_key_values()
|
H A D | dsa.inc | 96 if (EVP_PKEY_get_bn_param(pkey, name, &bn) == 0)
|
/openssl/doc/man3/ |
H A D | EVP_PKEY_gettable_params.pod | 7 EVP_PKEY_get_bn_param, EVP_PKEY_get_utf8_string_param, 21 int EVP_PKEY_get_bn_param(const EVP_PKEY *pkey, const char *key_name, 43 EVP_PKEY_get_size_t_param() or EVP_PKEY_get_bn_param(). Attempting to 51 parameters that do not fit into C<int> use EVP_PKEY_get_bn_param(). 55 parameters that do not fit into C<size_t> use EVP_PKEY_get_bn_param(). 57 EVP_PKEY_get_bn_param() retrieves a key I<pkey> BIGNUM value I<**bn> 112 if (!EVP_PKEY_get_bn_param(key, OSSL_PKEY_PARAM_PRIV_KEY, &bn_priv)) {
|
H A D | DSA_SIG_new.pod | 47 L<EVP_PKEY_new(3)>, L<EVP_PKEY_free(3)>, L<EVP_PKEY_get_bn_param(3)>,
|
H A D | DSA_get0_pqg.pod | 39 Applications should instead use L<EVP_PKEY_get_bn_param(3)>. 104 L<EVP_PKEY_get_bn_param(3)>,
|
H A D | EVP_PKEY_is_a.pod | 83 if (EVP_PKEY_get_bn_param(pkey, "n", &modulus))
|
H A D | DH_get0_pqg.pod | 42 Applications should instead use L<EVP_PKEY_get_bn_param(3)> for any methods that
|
H A D | RSA_get0_key.pod | 56 Applications should instead use L<EVP_PKEY_get_bn_param(3)> for any methods that
|
/openssl/test/ |
H A D | evp_pkey_provided_test.c | 435 || !TEST_true(EVP_PKEY_get_bn_param(pk, fromdata_params[i].key, in test_fromdata_rsa() 1017 || !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_PUB_KEY, in test_fromdata_dh_named_group() 1021 || !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_PRIV_KEY, in test_fromdata_dh_named_group() 1030 || !TEST_false(EVP_PKEY_get_bn_param(pk, in test_fromdata_dh_named_group() 1201 || !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_PUB_KEY, in test_fromdata_dh_fips186_4() 1213 || !TEST_false(EVP_PKEY_get_bn_param(pk, in test_fromdata_dh_fips186_4() 1704 if (!TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_EC_A, &a)) in test_fromdata_ec() 2018 || !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_FFC_P, in test_fromdata_dsa_fips186_4() 2021 || !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_FFC_Q, in test_fromdata_dsa_fips186_4() 2024 || !TEST_true(EVP_PKEY_get_bn_param(pk, OSSL_PKEY_PARAM_FFC_G, in test_fromdata_dsa_fips186_4() [all …]
|
H A D | dsatest.c | 267 if (!TEST_true(EVP_PKEY_get_bn_param(key, OSSL_PKEY_PARAM_FFC_P, &p_out)) in dsa_keygen_test() 269 || !TEST_true(EVP_PKEY_get_bn_param(key, OSSL_PKEY_PARAM_FFC_Q, &q_out)) in dsa_keygen_test() 271 || !TEST_true(EVP_PKEY_get_bn_param(key, OSSL_PKEY_PARAM_FFC_G, &g_out)) in dsa_keygen_test()
|
H A D | evp_extra_test2.c | 286 ret = EVP_PKEY_get_bn_param(key, privtag, &bn); in pkey_has_private() 611 if (!TEST_true(EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_RSA_D, in test_d2i_AutoPrivateKey_ex() 624 if (!TEST_true(EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_PRIV_KEY, in test_d2i_AutoPrivateKey_ex() 630 if (!TEST_true(EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_FFC_P, &p_bn)) in test_d2i_AutoPrivateKey_ex() 631 || !TEST_true(EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_FFC_G, in test_d2i_AutoPrivateKey_ex()
|
H A D | ectest.c | 2604 if (!TEST_true(EVP_PKEY_get_bn_param(pkeyparam, OSSL_PKEY_PARAM_EC_P, &p_out)) in do_test_custom_explicit_fromdata() 2606 || !TEST_true(EVP_PKEY_get_bn_param(pkeyparam, OSSL_PKEY_PARAM_EC_A, in do_test_custom_explicit_fromdata() 2609 || !TEST_true(EVP_PKEY_get_bn_param(pkeyparam, OSSL_PKEY_PARAM_EC_B, in do_test_custom_explicit_fromdata() 2612 || !TEST_true(EVP_PKEY_get_bn_param(pkeyparam, OSSL_PKEY_PARAM_EC_ORDER, in do_test_custom_explicit_fromdata() 2618 if (!TEST_true(EVP_PKEY_get_bn_param(pkeyparam, in do_test_custom_explicit_fromdata()
|
H A D | evp_extra_test.c | 1333 if (!EVP_PKEY_get_bn_param(keypair, OSSL_PKEY_PARAM_EC_PUB_X, &x) in test_evp_get_ec_pub() 1334 || !EVP_PKEY_get_bn_param(keypair, OSSL_PKEY_PARAM_EC_PUB_Y, &y)) in test_evp_get_ec_pub() 1469 if (!TEST_true(EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_EC_PUB_X, &x)) in test_evp_get_ec_pub_legacy() 1470 || !TEST_true(EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_EC_PUB_Y, &y))) in test_evp_get_ec_pub_legacy() 3545 if (!TEST_true(EVP_PKEY_get_bn_param(pkey1, OSSL_PKEY_PARAM_PUB_KEY, in test_EVP_PKEY_set1_DH()
|
H A D | evp_pkey_dhkem_test.c | 490 && TEST_true(EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_PRIV_KEY, in test_ec_dhkem_derivekey()
|
H A D | acvp_test.c | 76 if (!EVP_PKEY_get_bn_param(pkey, name, &bn)) in pkey_get_bn_bytes()
|
/openssl/apps/ |
H A D | dhparam.c | 382 if (!EVP_PKEY_get_bn_param(dh, OSSL_PKEY_PARAM_FFC_P, &bn_p) in dsa_to_dh() 383 || !EVP_PKEY_get_bn_param(dh, OSSL_PKEY_PARAM_FFC_Q, &bn_q) in dsa_to_dh() 384 || !EVP_PKEY_get_bn_param(dh, OSSL_PKEY_PARAM_FFC_G, &bn_g)) { in dsa_to_dh()
|
H A D | genrsa.c | 214 EVP_PKEY_get_bn_param(pkey, "e", &e); in genrsa_main()
|
H A D | dsa.c | 210 if (!EVP_PKEY_get_bn_param(pkey, "pub", &pub_key)) { in dsa_main()
|
H A D | rsa.c | 281 EVP_PKEY_get_bn_param(pkey, "n", &n); in rsa_main()
|
H A D | x509.c | 1014 EVP_PKEY_get_bn_param(pkey, "n", &n); in x509_main() 1021 EVP_PKEY_get_bn_param(pkey, "pub", &dsapub); in x509_main()
|
H A D | req.c | 1010 if (!EVP_PKEY_get_bn_param(tpubkey, "n", &n)) in req_main()
|
/openssl/crypto/cms/ |
H A D | cms_dh.c | 224 if (!EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_PUB_KEY, &bn_pub_key)) in dh_cms_encrypt()
|
/openssl/ssl/statem/ |
H A D | statem_srvr.c | 2602 if (!EVP_PKEY_get_bn_param(s->s3.tmp.pkey, OSSL_PKEY_PARAM_FFC_P, in tls_construct_server_key_exchange() 2604 || !EVP_PKEY_get_bn_param(s->s3.tmp.pkey, OSSL_PKEY_PARAM_FFC_G, in tls_construct_server_key_exchange() 2606 || !EVP_PKEY_get_bn_param(s->s3.tmp.pkey, in tls_construct_server_key_exchange()
|
/openssl/crypto/evp/ |
H A D | p_lib.c | 2167 int EVP_PKEY_get_bn_param(const EVP_PKEY *pkey, const char *key_name, in EVP_PKEY_get_bn_param() function
|