Home
last modified time | relevance | path

Searched refs:EVP_PKEY_get0_RSA (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/crypto/openssh/regress/unittests/sshkey/
H A Dcommon.c93 RSA_get0_key(EVP_PKEY_get0_RSA(k->pkey), &n, NULL, NULL); in rsa_n()
104 RSA_get0_key(EVP_PKEY_get0_RSA(k->pkey), NULL, &e, NULL); in rsa_e()
114 ASSERT_PTR_NE(EVP_PKEY_get0_RSA(k->pkey), NULL); in rsa_p()
115 RSA_get0_factors(EVP_PKEY_get0_RSA(k->pkey), &p, NULL); in rsa_p()
125 ASSERT_PTR_NE(EVP_PKEY_get0_RSA(k->pkey), NULL); in rsa_q()
126 RSA_get0_factors(EVP_PKEY_get0_RSA(k->pkey), NULL, &q); in rsa_q()
H A Dtest_sshkey.c274 ASSERT_PTR_NE(EVP_PKEY_get0_RSA(kr->pkey), NULL); in sshkey_tests()
318 ASSERT_PTR_NE(EVP_PKEY_get0_RSA(k1->pkey), NULL); in sshkey_tests()
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_pmeth.c115 OPENSSL_malloc(RSA_size(EVP_PKEY_get0_RSA(pk->pkey)))) == NULL) { in setup_tbuf()
144 RSA *rsa = (RSA *)EVP_PKEY_get0_RSA(ctx->pkey); in pkey_rsa_sign()
214 RSA *rsa = (RSA *)EVP_PKEY_get0_RSA(ctx->pkey); in pkey_rsa_verifyrecover()
265 RSA *rsa = (RSA *)EVP_PKEY_get0_RSA(ctx->pkey); in pkey_rsa_verify()
323 RSA *rsa = (RSA *)EVP_PKEY_get0_RSA(ctx->pkey); in pkey_rsa_encrypt()
356 RSA *rsa = (RSA *)EVP_PKEY_get0_RSA(ctx->pkey); in pkey_rsa_decrypt()
842 rsa = EVP_PKEY_get0_RSA(ctx->pkey); in pkey_pss_init()
/freebsd/crypto/openssl/doc/man3/
H A DEVP_PKEY_set1_RSA.pod7 EVP_PKEY_get0_RSA, EVP_PKEY_get0_DSA, EVP_PKEY_get0_DH, EVP_PKEY_get0_EC_KEY,
44 const RSA *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
103 EVP_PKEY_get0_RSA(), EVP_PKEY_get0_DSA(), EVP_PKEY_get0_DH() and
121 EVP_PKEY_get0_RSA(), EVP_PKEY_get0_DSA(), EVP_PKEY_get0_DH() or
151 The keys returned from the functions EVP_PKEY_get0_RSA(), EVP_PKEY_get0_DSA(),
217 EVP_PKEY_get0_RSA, EVP_PKEY_get0_DSA, EVP_PKEY_get0_DH, EVP_PKEY_get0_EC_KEY,
223 The return value from EVP_PKEY_get0_RSA, EVP_PKEY_get0_DSA, EVP_PKEY_get0_DH,
H A DEVP_PKEY_set_type.pod55 L<EVP_PKEY_assign(3)>, L<EVP_PKEY_get_id(3)>, L<EVP_PKEY_get0_RSA(3)>,
/freebsd/crypto/openssl/crypto/evp/
H A Dp_legacy.c43 const RSA *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey) in EVP_PKEY_get0_RSA() function
H A Dctrl_params_translate.c1796 bn = RSA_get0_n(EVP_PKEY_get0_RSA(ctx->p2)); in get_rsa_payload_n()
1810 bn = RSA_get0_e(EVP_PKEY_get0_RSA(ctx->p2)); in get_rsa_payload_e()
1824 bn = RSA_get0_d(EVP_PKEY_get0_RSA(ctx->p2)); in get_rsa_payload_d()
1834 const RSA *r = EVP_PKEY_get0_RSA(ctx->p2); in get_rsa_payload_factor()
1864 const RSA *r = EVP_PKEY_get0_RSA(ctx->p2); in get_rsa_payload_exponent()
1894 const RSA *r = EVP_PKEY_get0_RSA(ctx->p2); in get_rsa_payload_coefficient()
/freebsd/contrib/libfido2/fuzz/
H A Dwrapped.sym54 EVP_PKEY_get0_RSA
H A Dwrap.c122 EVP_PKEY_get0_RSA,
/freebsd/crypto/openssh/
H A Dssh-rsa.c80 if ((rsa = EVP_PKEY_get0_RSA(key->pkey)) == NULL) in ssh_rsa_serialize_public()
99 if ((rsa = EVP_PKEY_get0_RSA(key->pkey)) == NULL) in ssh_rsa_serialize_private()
165 if ((rsa_from = EVP_PKEY_get0_RSA(from->pkey)) == NULL || in ssh_rsa_copy_public()
H A Dssh-pkcs11.c1009 if (EVP_PKEY_get0_RSA(evp) == NULL) { in pkcs11_fetch_x509_pubkey()
1013 if ((rsa = RSAPublicKey_dup(EVP_PKEY_get0_RSA(evp))) == NULL) { in pkcs11_fetch_x509_pubkey()
H A Dssh-keygen.c382 EVP_PKEY_get0_RSA(k->pkey))) in do_convert_to_pkcs8()
410 EVP_PKEY_get0_RSA(k->pkey))) in do_convert_to_pem()
835 EVP_PKEY_get0_RSA(k->pkey), NULL, NULL, 0, in do_convert_from()
/freebsd/contrib/ntp/include/
H A Dlibssl_compat.h90 #define EVP_PKEY_get0_RSA sslshim_EVP_PKEY_get0_RSA macro
/freebsd/crypto/openssl/crypto/asn1/
H A Di2d_evp.c136 return i2d_RSAPublicKey(EVP_PKEY_get0_RSA(a), pp); in i2d_PublicKey()
/freebsd/contrib/libfido2/src/
H A Drs256.c16 #define get0_RSA(x) EVP_PKEY_get0_RSA((x))
/freebsd/crypto/openssl/doc/internal/man7/
H A DEVP_PKEY.pod67 be extracted with functions like L<EVP_PKEY_get0_RSA(3)> and then
70 L<EVP_PKEY_get0_RSA(3)> is a cached copy of the key. Changes to the cached
/freebsd/crypto/openssl/crypto/pem/
H A Dpem_info.c290 EVP_PKEY_get0_RSA(xi->x_pkey->dec_pkey), in PEM_X509_INFO_write_bio()
H A Dpvkfmt.c561 bitlen = check_bitlen_rsa(EVP_PKEY_get0_RSA(pk), ispub, &magic); in do_i2b()
598 write_rsa(&p, EVP_PKEY_get0_RSA(pk), ispub); in do_i2b()
/freebsd/crypto/openssl/apps/
H A Drsa.c97 const RSA *rsa = EVP_PKEY_get0_RSA(pkey); in try_legacy_encoding()
/freebsd/contrib/ntp/util/
H A Dntp-keygen.c989 RSA_print_fp(stderr, EVP_PKEY_get0_RSA(parkey),
/freebsd/contrib/ntp/ntpd/
H A Dntp_crypto.c2513 if ((rsa = EVP_PKEY_get0_RSA(peer->ident_pkey->pkey)) == NULL) { in crypto_alice2()
2590 rsa = EVP_PKEY_get0_RSA(gqkey_info->pkey); in crypto_bob2()
2702 if ((rsa = EVP_PKEY_get0_RSA(peer->ident_pkey->pkey)) == NULL) { in crypto_gq()
3752 RSA_print_fp(stdout, EVP_PKEY_get0_RSA(pkey), 0); in crypto_key()
/freebsd/crypto/openssl/test/
H A Dthreadstest.c442 if (EVP_PKEY_get0_RSA(shared_evp_pkey) == NULL) in thread_downgrade_shared_evp_pkey()
/freebsd/crypto/openssl/doc/man7/
H A Dmigration_guide.pod425 Functions such as L<EVP_PKEY_get0_RSA(3)> behave slightly differently in
440 L<EVP_PKEY_get0_RSA(3)>, L<EVP_PKEY_get0_DSA(3)>, L<EVP_PKEY_get0_EC_KEY(3)> and
1793 EVP_PKEY_get0_DH(), EVP_PKEY_get0_DSA(), EVP_PKEY_get0_EC_KEY(), EVP_PKEY_get0_RSA(),
/freebsd/crypto/openssl/include/openssl/
H A Devp.h1348 const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
/freebsd/secure/lib/libcrypto/
H A DVersion.map1597 EVP_PKEY_get0_RSA;

12