Home
last modified time | relevance | path

Searched refs:EVP_PKEY_get_bn_param (Results 1 – 25 of 28) sorted by relevance

12

/openssl/demos/pkey/
H A DEVP_PKEY_RSA_keygen.c137 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 DEVP_PKEY_EC_keygen.c108 if (!EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_PRIV_KEY, &out_priv)) { in get_key_values()
H A Ddsa.inc96 if (EVP_PKEY_get_bn_param(pkey, name, &bn) == 0)
/openssl/doc/man3/
H A DEVP_PKEY_gettable_params.pod7 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 DDSA_SIG_new.pod47 L<EVP_PKEY_new(3)>, L<EVP_PKEY_free(3)>, L<EVP_PKEY_get_bn_param(3)>,
H A DDSA_get0_pqg.pod39 Applications should instead use L<EVP_PKEY_get_bn_param(3)>.
104 L<EVP_PKEY_get_bn_param(3)>,
H A DEVP_PKEY_is_a.pod83 if (EVP_PKEY_get_bn_param(pkey, "n", &modulus))
H A DDH_get0_pqg.pod42 Applications should instead use L<EVP_PKEY_get_bn_param(3)> for any methods that
H A DRSA_get0_key.pod56 Applications should instead use L<EVP_PKEY_get_bn_param(3)> for any methods that
/openssl/test/
H A Devp_pkey_provided_test.c435 || !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 Ddsatest.c267 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 Devp_extra_test2.c286 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 Dectest.c2604 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 Devp_extra_test.c1333 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 Devp_pkey_dhkem_test.c490 && TEST_true(EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_PRIV_KEY, in test_ec_dhkem_derivekey()
H A Dacvp_test.c76 if (!EVP_PKEY_get_bn_param(pkey, name, &bn)) in pkey_get_bn_bytes()
/openssl/apps/
H A Ddhparam.c382 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 Dgenrsa.c214 EVP_PKEY_get_bn_param(pkey, "e", &e); in genrsa_main()
H A Ddsa.c210 if (!EVP_PKEY_get_bn_param(pkey, "pub", &pub_key)) { in dsa_main()
H A Drsa.c281 EVP_PKEY_get_bn_param(pkey, "n", &n); in rsa_main()
H A Dx509.c1014 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 Dreq.c1010 if (!EVP_PKEY_get_bn_param(tpubkey, "n", &n)) in req_main()
/openssl/crypto/cms/
H A Dcms_dh.c224 if (!EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_PUB_KEY, &bn_pub_key)) in dh_cms_encrypt()
/openssl/ssl/statem/
H A Dstatem_srvr.c2602 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 Dp_lib.c2167 int EVP_PKEY_get_bn_param(const EVP_PKEY *pkey, const char *key_name, in EVP_PKEY_get_bn_param() function

Completed in 103 milliseconds

12