/openssl/test/ |
H A D | evp_pkey_dhkem_test.c | 251 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 D | pairwise_fail_test.c | 99 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 D | evp_extra_test2.c | 472 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 D | acvp_test.c | 154 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 D | evp_libctx_test.c | 552 if (!TEST_ptr(*priv = EVP_PKEY_Q_keygen(libctx, NULL, "RSA", (size_t)bits)) in rsa_keygen()
|
H A D | threadstest.c | 866 pkey = EVP_PKEY_Q_keygen(multi_libctx, NULL, "RSA", (size_t)(isfips ? 2048 : 512)); in thread_general_worker()
|
/openssl/doc/man3/ |
H A D | EVP_PKEY_keygen.pod | 5 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 D | RSA_generate_key.pod | 34 Applications should instead use EVP_RSA_gen(), L<EVP_PKEY_Q_keygen(3)>, or 106 L<EVP_PKEY_Q_keygen(3)>
|
H A D | EC_KEY_new.pod | 74 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 D | EVP_ED_Signature_demo.c | 140 priv = EVP_PKEY_Q_keygen(libctx, NULL, "ED25519"); in create_key()
|
/openssl/demos/keyexch/ |
H A D | x25519.c | 78 local_peer->privk = EVP_PKEY_Q_keygen(libctx, propq, "X25519"); in keyexch_x25519_before()
|
/openssl/demos/pkey/ |
H A D | EVP_PKEY_RSA_keygen.c | 113 pkey = EVP_PKEY_Q_keygen(libctx, propq, "RSA", (size_t)bits); in generate_rsa_key_short()
|
/openssl/doc/man7/ |
H A D | EVP_PKEY-X25519.pod | 107 pkey = EVP_PKEY_Q_keygen(NULL, NULL, "X25519");
|
H A D | ossl-guide-libcrypto-introduction.pod | 364 using the EVP APIs (for example see L<EVP_PKEY_Q_keygen(3)>). However it is often
|
H A D | ossl-guide-migration.pod | 926 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 D | rsa.h | 260 EVP_PKEY_Q_keygen(NULL, NULL, "RSA", (size_t)(0 + (bits)))
|
H A D | ec.h | 1571 EVP_PKEY_Q_keygen(NULL, NULL, "EC", (char *)(strstr(curve, "")))
|
H A D | evp.h | 2034 EVP_PKEY *EVP_PKEY_Q_keygen(OSSL_LIB_CTX *libctx, const char *propq,
|
/openssl/crypto/evp/ |
H A D | evp_lib.c | 1221 EVP_PKEY *EVP_PKEY_Q_keygen(OSSL_LIB_CTX *libctx, const char *propq, in EVP_PKEY_Q_keygen() function
|
/openssl/util/ |
H A D | libcrypto.num | 4959 EVP_PKEY_Q_keygen 5087 3_0_0 EXIST::FUNCTION:
|
/openssl/ |
H A D | CHANGES.md | 2393 The 'quick' one-shot (yet somewhat limited) function L<EVP_PKEY_Q_keygen(3)>
|