Home
last modified time | relevance | path

Searched refs:EVP_PKEY_Q_keygen (Results 1 – 21 of 21) sorted by relevance

/openssl/test/
H A Devp_pkey_dhkem_test.c251 if (!TEST_ptr(auth = EVP_PKEY_Q_keygen(libctx, NULL, "EC", "P-521"))) in test_ec_auth_key_curve_mismatch()
532 if (!TEST_ptr(recip = EVP_PKEY_Q_keygen(libctx, NULL, curve)) in test_ec_noikme()
534 && !TEST_ptr(sender_auth = EVP_PKEY_Q_keygen(libctx, NULL, in test_ec_noikme()
538 if (!TEST_ptr(recip = EVP_PKEY_Q_keygen(libctx, NULL, "EC", curve)) in test_ec_noikme()
540 && !TEST_ptr(sender_auth = EVP_PKEY_Q_keygen(libctx, NULL, in test_ec_noikme()
578 ret = TEST_ptr(key = EVP_PKEY_Q_keygen(libctx, NULL, "EC", curve)) in do_ec_curve_failtest()
760 if (!TEST_ptr(auth = EVP_PKEY_Q_keygen(libctx, NULL, "X448"))) in test_ecx_auth_key_curve_mismatch()
776 ret = TEST_ptr(key = EVP_PKEY_Q_keygen(libctx, NULL, "ED448")) in test_ed_curve_unsupported()
799 if (!TEST_ptr(rkey[TEST_KEYTYPE_P256] = EVP_PKEY_Q_keygen(libctx, NULL, in setup_tests()
803 if (!TEST_ptr(rkey[TEST_KEYTYPE_X25519] = EVP_PKEY_Q_keygen(libctx, NULL, in setup_tests()
H A Dpairwise_fail_test.c99 if (!TEST_ptr_null(pkey = EVP_PKEY_Q_keygen(libctx, NULL, "RSA", (size_t)2048))) in test_keygen_pairwise_failure()
106 if (!TEST_ptr_null(pkey = EVP_PKEY_Q_keygen(libctx, NULL, "EC", "P-256"))) in test_keygen_pairwise_failure()
H A Devp_extra_test2.c472 if (TEST_ptr(key = EVP_PKEY_Q_keygen(mainctx, NULL, "XOR"))) in test_new_keytype()
480 if (!TEST_ptr(key = EVP_PKEY_Q_keygen(mainctx, NULL, "XOR"))) in test_new_keytype()
517 || !TEST_ptr(key = EVP_PKEY_Q_keygen(mainctx, NULL, "EC", "P-256")) in test_ec_d2i_i2d_pubkey()
542 ret = TEST_ptr(key = EVP_PKEY_Q_keygen(mainctx, NULL, "EC", "P-256")) in test_ec_tofrom_data_select()
554 ret = TEST_ptr(key = EVP_PKEY_Q_keygen(mainctx, NULL, "X25519")) in test_ecx_tofrom_data_select()
568 ret = TEST_ptr(key = EVP_PKEY_Q_keygen(mainctx, NULL, "SM2")) in test_sm2_tofrom_data_select()
H A Dacvp_test.c154 if (!TEST_ptr(pkey = EVP_PKEY_Q_keygen(libctx, NULL, "EC", tst->curve_name)) in ecdsa_keygen_test()
284 if (!TEST_ptr(pkey = EVP_PKEY_Q_keygen(libctx, NULL, "EC", tst->curve_name))) in ecdsa_siggen_test()
366 if (!TEST_ptr(peer1 = EVP_PKEY_Q_keygen(libctx, NULL, "EC", curve))) in ecdh_cofactor_derive_test()
369 if (!TEST_ptr(peer2 = EVP_PKEY_Q_keygen(libctx, NULL, "EC", curve))) in ecdh_cofactor_derive_test()
497 if (!TEST_ptr(pkey = EVP_PKEY_Q_keygen(libctx, NULL, tst->curve_name)) in eddsa_keygen_test()
1428 if (!TEST_ptr(pkey = EVP_PKEY_Q_keygen(libctx, NULL, "RSA", tst->mod)) in rsa_siggen_test()
1507 if (!TEST_ptr(pkey = EVP_PKEY_Q_keygen(libctx, NULL, "RSA", (size_t)2048)) in rsa_decryption_primitive_test()
H A Devp_libctx_test.c552 if (!TEST_ptr(*priv = EVP_PKEY_Q_keygen(libctx, NULL, "RSA", (size_t)bits)) in rsa_keygen()
H A Dthreadstest.c866 pkey = EVP_PKEY_Q_keygen(multi_libctx, NULL, "RSA", (size_t)(isfips ? 2048 : 512)); in thread_general_worker()
/openssl/doc/man3/
H A DEVP_PKEY_keygen.pod5 EVP_PKEY_Q_keygen,
18 EVP_PKEY *EVP_PKEY_Q_keygen(OSSL_LIB_CTX *libctx, const char *propq,
94 EVP_PKEY_Q_keygen() abstracts from the explicit use of B<EVP_PKEY_CTX> while
106 EVP_PKEY_Q_keygen() may be usable with such key types as long as
116 EVP_PKEY_Q_keygen() returns an B<EVP_PKEY>, or NULL on failure.
228 EVP_PKEY_Q_keygen() and EVP_PKEY_generate() were added in OpenSSL 3.0.
H A DRSA_generate_key.pod34 Applications should instead use EVP_RSA_gen(), L<EVP_PKEY_Q_keygen(3)>, or
106 L<EVP_PKEY_Q_keygen(3)>
H A DEC_KEY_new.pod74 Applications should instead use EVP_EC_gen(), L<EVP_PKEY_Q_keygen(3)>, or
222 L<EVP_PKEY_Q_keygen(3)>
/openssl/demos/signature/
H A DEVP_ED_Signature_demo.c140 priv = EVP_PKEY_Q_keygen(libctx, NULL, "ED25519"); in create_key()
/openssl/demos/keyexch/
H A Dx25519.c78 local_peer->privk = EVP_PKEY_Q_keygen(libctx, propq, "X25519"); in keyexch_x25519_before()
/openssl/demos/pkey/
H A DEVP_PKEY_RSA_keygen.c113 pkey = EVP_PKEY_Q_keygen(libctx, propq, "RSA", (size_t)bits); in generate_rsa_key_short()
/openssl/doc/man7/
H A DEVP_PKEY-X25519.pod107 pkey = EVP_PKEY_Q_keygen(NULL, NULL, "X25519");
H A Dossl-guide-libcrypto-introduction.pod364 using the EVP APIs (for example see L<EVP_PKEY_Q_keygen(3)>). However it is often
H A Dossl-guide-migration.pod926 L<EVP_PKEY_Q_keygen(3)>
1156 The 'quick' one-shot function L<EVP_PKEY_Q_keygen(3)> and macros for the most
/openssl/include/openssl/
H A Drsa.h260 EVP_PKEY_Q_keygen(NULL, NULL, "RSA", (size_t)(0 + (bits)))
H A Dec.h1571 EVP_PKEY_Q_keygen(NULL, NULL, "EC", (char *)(strstr(curve, "")))
H A Devp.h2034 EVP_PKEY *EVP_PKEY_Q_keygen(OSSL_LIB_CTX *libctx, const char *propq,
/openssl/crypto/evp/
H A Devp_lib.c1221 EVP_PKEY *EVP_PKEY_Q_keygen(OSSL_LIB_CTX *libctx, const char *propq, in EVP_PKEY_Q_keygen() function
/openssl/util/
H A Dlibcrypto.num4959 EVP_PKEY_Q_keygen 5087 3_0_0 EXIST::FUNCTION:
/openssl/
H A DCHANGES.md2393 The 'quick' one-shot (yet somewhat limited) function L<EVP_PKEY_Q_keygen(3)>

Completed in 171 milliseconds