Symbol: EVP_PKEY_RSA
crypto/openssh/ssh-keygen.c
730
case EVP_PKEY_RSA:
crypto/openssh/ssh-pkcs11.c
1008
if (EVP_PKEY_base_id(evp) == EVP_PKEY_RSA) {
crypto/openssh/ssh-rsa.c
132
if ((ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_RSA, NULL)) == NULL) {
crypto/openssh/sshkey.c
3558
if (EVP_PKEY_base_id(pk) == EVP_PKEY_RSA &&
crypto/openssl/apps/lib/s_cb.c
234
case EVP_PKEY_RSA:
crypto/openssl/apps/lib/s_cb.c
434
case EVP_PKEY_RSA:
crypto/openssl/apps/speed.c
3305
st = (rsa_key = d2i_PrivateKey(EVP_PKEY_RSA, NULL, &p,
crypto/openssl/crypto/asn1/d2i_pr.c
231
keytype = EVP_PKEY_RSA;
crypto/openssl/crypto/asn1/d2i_pu.c
58
case EVP_PKEY_RSA:
crypto/openssl/crypto/asn1/i2d_evp.c
140
case EVP_PKEY_RSA:
crypto/openssl/crypto/evp/ctrl_params_translate.c
1841
if (EVP_PKEY_get_base_id(ctx->p2) != EVP_PKEY_RSA
crypto/openssl/crypto/evp/ctrl_params_translate.c
1855
if (EVP_PKEY_get_base_id(ctx->p2) != EVP_PKEY_RSA
crypto/openssl/crypto/evp/ctrl_params_translate.c
1869
if (EVP_PKEY_get_base_id(ctx->p2) != EVP_PKEY_RSA
crypto/openssl/crypto/evp/ctrl_params_translate.c
1964
if (EVP_PKEY_get_base_id(ctx->p2) != EVP_PKEY_RSA \
crypto/openssl/crypto/evp/ctrl_params_translate.c
1976
if (EVP_PKEY_get_base_id(ctx->p2) != EVP_PKEY_RSA \
crypto/openssl/crypto/evp/ctrl_params_translate.c
1989
if (EVP_PKEY_get_base_id(ctx->p2) != EVP_PKEY_RSA \
crypto/openssl/crypto/evp/ctrl_params_translate.c
2261
{ OSSL_ACTION_SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2265
{ OSSL_ACTION_GET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2270
{ OSSL_ACTION_SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2274
{ OSSL_ACTION_GET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2285
{ OSSL_ACTION_SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_TYPE_SIG,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2289
{ OSSL_ACTION_GET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_TYPE_SIG,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2294
{ OSSL_ACTION_SET, EVP_PKEY_RSA, 0, EVP_PKEY_OP_TYPE_CRYPT,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2297
{ OSSL_ACTION_GET, EVP_PKEY_RSA, 0, EVP_PKEY_OP_TYPE_CRYPT,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2306
{ OSSL_ACTION_SET, EVP_PKEY_RSA, 0, EVP_PKEY_OP_TYPE_CRYPT,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2309
{ OSSL_ACTION_GET, EVP_PKEY_RSA, 0, EVP_PKEY_OP_TYPE_CRYPT,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2313
{ OSSL_ACTION_SET, EVP_PKEY_RSA, 0, EVP_PKEY_OP_TYPE_CRYPT,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2328
{ OSSL_ACTION_SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2331
{ OSSL_ACTION_SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN,
crypto/openssl/crypto/evp/ctrl_params_translate.c
2334
{ OSSL_ACTION_SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN,
crypto/openssl/crypto/evp/p_dec.c
27
if (EVP_PKEY_get_id(priv) != EVP_PKEY_RSA) {
crypto/openssl/crypto/evp/p_enc.c
27
if (EVP_PKEY_get_id(pubk) != EVP_PKEY_RSA) {
crypto/openssl/crypto/evp/p_legacy.c
42
if (pkey->type != EVP_PKEY_RSA && pkey->type != EVP_PKEY_RSA_PSS) {
crypto/openssl/crypto/evp/p_lib.c
1057
{ EVP_PKEY_RSA, "RSA" },
crypto/openssl/crypto/evp/p_lib.c
1127
case EVP_PKEY_RSA:
crypto/openssl/crypto/evp/p_lib.c
755
case EVP_PKEY_RSA:
crypto/openssl/crypto/pem/pvkfmt.c
1063
if (EVP_PKEY_get_id(pk) == EVP_PKEY_RSA)
crypto/openssl/crypto/pem/pvkfmt.c
113
case EVP_PKEY_RSA:
crypto/openssl/crypto/pem/pvkfmt.c
71
(isdss == 0 ? EVP_PKEY_RSA : isdss == 1 ? EVP_PKEY_DSA \
crypto/openssl/crypto/pem/pvkfmt.c
84
if (!ossl_assert(evp_type == EVP_PKEY_RSA || evp_type == EVP_PKEY_DSA)) {
crypto/openssl/crypto/pem/pvkfmt.c
91
case EVP_PKEY_RSA:
crypto/openssl/crypto/rsa/rsa_ameth.c
1010
EVP_PKEY_RSA,
crypto/openssl/crypto/rsa/rsa_ameth.c
94
case EVP_PKEY_RSA:
crypto/openssl/crypto/rsa/rsa_ameth.c
969
{ EVP_PKEY_RSA,
crypto/openssl/crypto/rsa/rsa_ameth.c
970
EVP_PKEY_RSA,
crypto/openssl/crypto/rsa/rsa_backend.c
700
case EVP_PKEY_RSA:
crypto/openssl/crypto/rsa/rsa_lib.c
1083
return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_TYPE_CRYPT,
crypto/openssl/crypto/rsa/rsa_lib.c
1090
return int_set_rsa_md_name(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_TYPE_CRYPT,
crypto/openssl/crypto/rsa/rsa_lib.c
1098
return int_get_rsa_md_name(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_TYPE_CRYPT,
crypto/openssl/crypto/rsa/rsa_lib.c
1113
return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_TYPE_CRYPT,
crypto/openssl/crypto/rsa/rsa_lib.c
1352
ret = EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_KEYGEN,
crypto/openssl/crypto/rsa/rsa_lib.c
741
&& ctx->pmeth->pkey_id != EVP_PKEY_RSA
crypto/openssl/crypto/rsa/rsa_pmeth.c
817
EVP_PKEY_RSA,
crypto/openssl/crypto/x509/x509type.c
33
case EVP_PKEY_RSA:
crypto/openssl/demos/signature/rsa_pss_direct.c
136
pkey = d2i_PublicKey(EVP_PKEY_RSA, NULL, &ppub_key, sizeof(rsa_pub_key));
crypto/openssl/demos/signature/rsa_pss_direct.c
50
pkey = d2i_PrivateKey_ex(EVP_PKEY_RSA, NULL, &ppriv_key,
crypto/openssl/demos/signature/rsa_pss_hash.c
124
pkey = d2i_PublicKey(EVP_PKEY_RSA, NULL, &ppub_key, sizeof(rsa_pub_key));
crypto/openssl/demos/signature/rsa_pss_hash.c
44
pkey = d2i_PrivateKey_ex(EVP_PKEY_RSA, NULL, &ppriv_key,
crypto/openssl/engines/e_dasync.c
229
if ((dasync_rsa_orig = EVP_PKEY_meth_find(EVP_PKEY_RSA)) == NULL
crypto/openssl/engines/e_dasync.c
230
|| (dasync_rsa = EVP_PKEY_meth_new(EVP_PKEY_RSA,
crypto/openssl/engines/e_dasync.c
435
static const int rnid = EVP_PKEY_RSA;
crypto/openssl/engines/e_dasync.c
442
if (nid == EVP_PKEY_RSA) {
crypto/openssl/include/openssl/evp.h
509
#define EVP_PKEY_assign_RSA(pkey, rsa) EVP_PKEY_assign((pkey), EVP_PKEY_RSA, \
crypto/openssl/providers/implementations/encode_decode/decode_der2key.c
886
#define rsa_evp_type EVP_PKEY_RSA
crypto/openssl/providers/implementations/encode_decode/decode_der2key.c
912
valid = (ctx->desc->evp_type == EVP_PKEY_RSA);
crypto/openssl/providers/implementations/encode_decode/decode_msblob2key.c
125
|| (!isdss && ctx->desc->type != EVP_PKEY_RSA))
crypto/openssl/providers/implementations/encode_decode/encode_key2any.c
1001
return expected_type == EVP_PKEY_RSA;
crypto/openssl/providers/implementations/encode_decode/encode_key2any.c
1010
#define rsa_evp_type EVP_PKEY_RSA
crypto/openssl/ssl/ssl_cert_table.h
14
{ EVP_PKEY_RSA, SSL_aRSA }, /* SSL_PKEY_RSA */
crypto/openssl/ssl/t1_lib.c
2073
NID_sha256, SSL_MD_SHA256_IDX, EVP_PKEY_RSA, SSL_PKEY_RSA,
crypto/openssl/ssl/t1_lib.c
2078
NID_sha384, SSL_MD_SHA384_IDX, EVP_PKEY_RSA, SSL_PKEY_RSA,
crypto/openssl/ssl/t1_lib.c
2083
NID_sha512, SSL_MD_SHA512_IDX, EVP_PKEY_RSA, SSL_PKEY_RSA,
crypto/openssl/ssl/t1_lib.c
2089
NID_sha224, SSL_MD_SHA224_IDX, EVP_PKEY_RSA, SSL_PKEY_RSA,
crypto/openssl/ssl/t1_lib.c
2094
NID_sha1, SSL_MD_SHA1_IDX, EVP_PKEY_RSA, SSL_PKEY_RSA,
crypto/openssl/ssl/t1_lib.c
2164
EVP_PKEY_RSA, SSL_PKEY_RSA,
crypto/openssl/ssl/t1_lib.c
2718
if (pkeyid == EVP_PKEY_RSA)
crypto/openssl/ssl/t1_lib.c
2753
&& (lu->sig != EVP_PKEY_RSA_PSS || pkeyid != EVP_PKEY_RSA))) {
crypto/openssl/ssl/t1_lib.c
3464
if (rv == 0 && (!SSL_CONNECTION_IS_TLS13(s) || (lu->sig != EVP_PKEY_RSA && lu->hash != NID_sha1 && lu->hash != NID_sha224)))
crypto/openssl/ssl/t1_lib.c
3611
if (SSL_CONNECTION_IS_TLS13(s) && sigptr->sig == EVP_PKEY_RSA)
crypto/openssl/ssl/t1_lib.c
3700
*psig = EVP_PKEY_RSA;
crypto/openssl/ssl/t1_lib.c
3971
if (pknid == EVP_PKEY_RSA && mdnid == sigalg->hash)
crypto/openssl/ssl/t1_lib.c
4092
rsign = EVP_PKEY_RSA;
crypto/openssl/ssl/t1_lib.c
4594
|| lu->sig == EVP_PKEY_RSA
crypto/openssl/test/endecoder_legacy_test.c
173
{ "RSA", { "RSA", "type-specific" }, EVP_PKEY_RSA,
crypto/openssl/test/endecoder_legacy_test.c
238
{ "RSA", EVP_PKEY_RSA, NULL, NULL },
crypto/openssl/test/enginetest.c
206
static const int rnid = EVP_PKEY_RSA;
crypto/openssl/test/enginetest.c
212
if (nid == EVP_PKEY_RSA) {
crypto/openssl/test/enginetest.c
295
if (!TEST_ptr(test_rsa = EVP_PKEY_meth_new(EVP_PKEY_RSA, 0)))
crypto/openssl/test/evp_extra_test.c
4253
if (!TEST_ptr(ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_RSA, NULL)))
crypto/openssl/test/evp_extra_test.c
4259
|| !TEST_true(EVP_PKEY_set_type(tkey, EVP_PKEY_RSA))
crypto/openssl/test/evp_extra_test.c
5574
id = EVP_PKEY_RSA;
crypto/openssl/test/evp_extra_test.c
858
{ kExampleRSAKeyDER, sizeof(kExampleRSAKeyDER), "RSA", EVP_PKEY_RSA },
crypto/openssl/test/evp_extra_test.c
859
{ kExampleRSAKeyPKCS8, sizeof(kExampleRSAKeyPKCS8), "RSA", EVP_PKEY_RSA },
crypto/openssl/test/evp_extra_test.c
866
{ kExampleRSAKeyPKCS8_v2, sizeof(kExampleRSAKeyPKCS8_v2), "RSA", EVP_PKEY_RSA },
crypto/openssl/test/evp_extra_test.c
873
{ kExampleRSAKeyDER, sizeof(kExampleRSAKeyDER), "RSA", EVP_PKEY_RSA, 1, 1, 1,
crypto/openssl/test/evp_extra_test.c
875
{ kExampleBadRSAKeyDER, sizeof(kExampleBadRSAKeyDER), "RSA", EVP_PKEY_RSA,
crypto/openssl/test/evp_extra_test.c
877
{ kExampleBad2RSAKeyDER, sizeof(kExampleBad2RSAKeyDER), "RSA", EVP_PKEY_RSA,
crypto/openssl/test/evp_extra_test2.c
1507
{ kExampleRSAKeyDER, sizeof(kExampleRSAKeyDER), EVP_PKEY_RSA },
crypto/openssl/test/evp_extra_test2.c
1508
{ kExampleRSAKeyPKCS8, sizeof(kExampleRSAKeyPKCS8), EVP_PKEY_RSA },
crypto/openssl/test/evp_extra_test2.c
1860
if (ak->evptype == EVP_PKEY_RSA) {
crypto/openssl/test/evp_libctx_test.c
703
if (!TEST_ptr(d2i_PublicKey(EVP_PKEY_RSA, pub, &pp, len)))
crypto/openssl/test/fake_rsaprov.c
1082
#define rsa_evp_type EVP_PKEY_RSA
crypto/openssl/test/pkcs12_format_test.c
3488
if (!TEST_ptr(pkey = d2i_PrivateKey_ex(EVP_PKEY_RSA, NULL, &p,
crypto/openssl/test/ssl_cert_table_internal_test.c
48
&& test_cert_table(EVP_PKEY_RSA, SSL_aRSA, SSL_PKEY_RSA)
crypto/openssl/test/ssl_old_test.c
756
case EVP_PKEY_RSA:
crypto/openssl/test/sslapitest.c
3155
static const int validlist1[] = { NID_sha256, EVP_PKEY_RSA };
crypto/openssl/test/sslapitest.c
3157
static const int validlist2[] = { NID_sha256, EVP_PKEY_RSA, NID_sha512, EVP_PKEY_EC };
crypto/openssl/test/sslapitest.c
3160
static const int invalidlist1[] = { NID_undef, EVP_PKEY_RSA };
crypto/openssl/test/sslapitest.c
3162
static const int invalidlist3[] = { NID_sha256, EVP_PKEY_RSA, NID_sha256 };