Home
last modified time | relevance | path

Searched refs:EVP_PKEY_RSA (Results 1 – 25 of 34) sorted by relevance

12

/external/boringssl/src/crypto/evp/
Dp_rsa.c544 EVP_PKEY_RSA,
561 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, -1, EVP_PKEY_CTRL_RSA_PADDING, in EVP_PKEY_CTX_set_rsa_padding()
566 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, -1, EVP_PKEY_CTRL_GET_RSA_PADDING, in EVP_PKEY_CTX_get_rsa_padding()
571 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, in EVP_PKEY_CTX_set_rsa_pss_saltlen()
577 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, in EVP_PKEY_CTX_get_rsa_pss_saltlen()
583 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_KEYGEN, in EVP_PKEY_CTX_set_rsa_keygen_bits()
588 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_KEYGEN, in EVP_PKEY_CTX_set_rsa_keygen_pubexp()
593 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_TYPE_CRYPT, in EVP_PKEY_CTX_set_rsa_oaep_md()
598 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_TYPE_CRYPT, in EVP_PKEY_CTX_get_rsa_oaep_md()
603 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, in EVP_PKEY_CTX_set_rsa_mgf1_md()
[all …]
Devp_extra_test.cc463 EVP_PKEY_RSA); in TEST()
465 EVP_PKEY_RSA); in TEST()
518 EXPECT_TRUE(ParsePrivateKey(EVP_PKEY_RSA, kExampleRSAKeyDER, in TEST()
522 EXPECT_TRUE(ParsePrivateKey(EVP_PKEY_RSA, kExampleRSAKeyPKCS8, in TEST()
Devp.c195 case EVP_PKEY_RSA: in evp_pkey_asn1_find()
225 return EVP_PKEY_assign(pkey, EVP_PKEY_RSA, key); in EVP_PKEY_assign_RSA()
229 if (pkey->type != EVP_PKEY_RSA) { in EVP_PKEY_get0_RSA()
Devp_asn1.c218 case EVP_PKEY_RSA: { in old_priv_decode()
321 return d2i_PrivateKey(EVP_PKEY_RSA, out, inp, len); in d2i_AutoPrivateKey()
327 case EVP_PKEY_RSA: in i2d_PublicKey()
Dp_rsa_asn1.c170 EVP_PKEY_RSA,
Devp_test.cc109 return EVP_PKEY_RSA; in GetKeyType()
Dprint.c427 EVP_PKEY_RSA,
/external/boringssl/src/ssl/
Dssl_privkey.cc75 return key_type == EVP_PKEY_RSA || key_type == EVP_PKEY_EC || in ssl_is_key_type_supported()
108 {SSL_SIGN_RSA_PKCS1_MD5_SHA1, EVP_PKEY_RSA, NID_undef, &EVP_md5_sha1, 0},
109 {SSL_SIGN_RSA_PKCS1_SHA1, EVP_PKEY_RSA, NID_undef, &EVP_sha1, 0},
110 {SSL_SIGN_RSA_PKCS1_SHA256, EVP_PKEY_RSA, NID_undef, &EVP_sha256, 0},
111 {SSL_SIGN_RSA_PKCS1_SHA384, EVP_PKEY_RSA, NID_undef, &EVP_sha384, 0},
112 {SSL_SIGN_RSA_PKCS1_SHA512, EVP_PKEY_RSA, NID_undef, &EVP_sha512, 0},
114 {SSL_SIGN_RSA_PSS_SHA256, EVP_PKEY_RSA, NID_undef, &EVP_sha256, 1},
115 {SSL_SIGN_RSA_PSS_SHA384, EVP_PKEY_RSA, NID_undef, &EVP_sha384, 1},
116 {SSL_SIGN_RSA_PSS_SHA512, EVP_PKEY_RSA, NID_undef, &EVP_sha512, 1},
152 if (alg->pkey_type == EVP_PKEY_RSA && !alg->is_rsa_pss) { in pkey_supports_algorithm()
Dssl_cert.cc760 if (EVP_PKEY_id(pkey) != EVP_PKEY_RSA) { in ssl_check_leaf_certificate()
Dssl_cipher.cc1378 case EVP_PKEY_RSA: in ssl_cipher_auth_mask_for_key()
Dhandshake_server.cc336 if (EVP_PKEY_id(hs->local_pubkey.get()) == EVP_PKEY_RSA) { in ssl_get_compatible_server_ciphers()
Dssl_test.cc3907 EXPECT_EQ(EVP_PKEY_RSA, in TEST()
3920 EXPECT_EQ(EVP_PKEY_RSA, in TEST()
/external/boringssl/src/crypto/x509/
Dalgorithm.c75 if (EVP_PKEY_id(pkey) == EVP_PKEY_RSA) { in x509_digest_sign_algorithm()
108 (EVP_PKEY_id(pkey) == EVP_PKEY_RSA) ? V_ASN1_NULL : V_ASN1_UNDEF; in x509_digest_sign_algorithm()
Di2d_pr.c69 case EVP_PKEY_RSA: in i2d_PrivateKey()
/external/libchrome/crypto/
Drsa_private_key.cc50 if (!pkey || CBS_len(&cbs) != 0 || EVP_PKEY_id(pkey.get()) != EVP_PKEY_RSA) in CreateFromPrivateKeyInfo()
61 if (EVP_PKEY_type(key->type) != EVP_PKEY_RSA) in CreateFromKey()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLKey.java264 case NativeConstants.EVP_PKEY_RSA: in getPublicKey()
297 case NativeConstants.EVP_PKEY_RSA: in getPrivateKey()
DOpenSSLRSAKeyFactory.java54 … return OpenSSLKey.getPublicKey((X509EncodedKeySpec) keySpec, NativeConstants.EVP_PKEY_RSA); in engineGeneratePublic()
72 NativeConstants.EVP_PKEY_RSA); in engineGeneratePrivate()
DOpenSSLSignature.java180 if (pkeyType != NativeConstants.EVP_PKEY_RSA) { in checkEngineType()
/external/conscrypt/constants/src/gen/cpp/
Dgenerate_constants.cc55 CONST(EVP_PKEY_RSA); in main()
/external/boringssl/src/crypto/pem/
Dpem_pkey.c131 ret = d2i_PrivateKey(EVP_PKEY_RSA, x, &p, len); in PEM_read_bio_PrivateKey()
Dpem_info.c174 ptype = EVP_PKEY_RSA; in STACK_OF()
/external/boringssl/src/include/openssl/
Devp.h171 #define EVP_PKEY_RSA NID_rsaEncryption macro
/external/wpa_supplicant_8/hs20/client/
Dest.c390 pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_RSA, NULL); in generate_csr()
/external/curl/lib/vtls/
Dopenssl.c842 if(pktype == EVP_PKEY_RSA) { in cert_stuff()
2847 case EVP_PKEY_RSA: in get_cert_chain()
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c1130 evp = d2i_PrivateKey(EVP_PKEY_RSA, NULL, (void *)&bp, privkey->l);

12