Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/evp/
Dp_rsa.c544 EVP_PKEY_RSA,
562 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, -1, EVP_PKEY_CTRL_RSA_PADDING, in EVP_PKEY_CTX_set_rsa_padding()
567 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, -1, EVP_PKEY_CTRL_GET_RSA_PADDING, in EVP_PKEY_CTX_get_rsa_padding()
572 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, in EVP_PKEY_CTX_set_rsa_pss_saltlen()
578 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, in EVP_PKEY_CTX_get_rsa_pss_saltlen()
584 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_KEYGEN, in EVP_PKEY_CTX_set_rsa_keygen_bits()
589 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_KEYGEN, in EVP_PKEY_CTX_set_rsa_keygen_pubexp()
594 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_TYPE_CRYPT, in EVP_PKEY_CTX_set_rsa_oaep_md()
599 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_TYPE_CRYPT, in EVP_PKEY_CTX_get_rsa_oaep_md()
604 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, in EVP_PKEY_CTX_set_rsa_mgf1_md()
[all …]
Devp_asn1.c227 case EVP_PKEY_RSA: { in old_priv_decode()
330 return d2i_PrivateKey(EVP_PKEY_RSA, out, inp, len); in d2i_AutoPrivateKey()
336 case EVP_PKEY_RSA: in i2d_PublicKey()
358 case EVP_PKEY_RSA: { in d2i_PublicKey()
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_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()
Dp_rsa_asn1.c170 EVP_PKEY_RSA,
Dprint.c427 EVP_PKEY_RSA,
Devp_test.cc111 return EVP_PKEY_RSA; in GetKeyType()
/external/boringssl/src/ssl/
Dssl_privkey.cc75 return key_type == EVP_PKEY_RSA || key_type == EVP_PKEY_EC || in ssl_is_key_type_supported()
105 {SSL_SIGN_RSA_PKCS1_MD5_SHA1, EVP_PKEY_RSA, NID_undef, &EVP_md5_sha1,
107 {SSL_SIGN_RSA_PKCS1_SHA1, EVP_PKEY_RSA, NID_undef, &EVP_sha1, false},
108 {SSL_SIGN_RSA_PKCS1_SHA256, EVP_PKEY_RSA, NID_undef, &EVP_sha256, false},
109 {SSL_SIGN_RSA_PKCS1_SHA384, EVP_PKEY_RSA, NID_undef, &EVP_sha384, false},
110 {SSL_SIGN_RSA_PKCS1_SHA512, EVP_PKEY_RSA, NID_undef, &EVP_sha512, false},
112 {SSL_SIGN_RSA_PSS_RSAE_SHA256, EVP_PKEY_RSA, NID_undef, &EVP_sha256, true},
113 {SSL_SIGN_RSA_PSS_RSAE_SHA384, EVP_PKEY_RSA, NID_undef, &EVP_sha384, true},
114 {SSL_SIGN_RSA_PSS_RSAE_SHA512, EVP_PKEY_RSA, NID_undef, &EVP_sha512, true},
156 if (alg->pkey_type == EVP_PKEY_RSA && !alg->is_rsa_pss) { in pkey_supports_algorithm()
[all …]
/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.java52 … return OpenSSLKey.getPublicKey((X509EncodedKeySpec) keySpec, NativeConstants.EVP_PKEY_RSA); in engineGeneratePublic()
70 NativeConstants.EVP_PKEY_RSA); in engineGeneratePrivate()
DSSLUtils.java250 case NativeConstants.EVP_PKEY_RSA: in getClientKeyTypeFromSignatureAlg()
DOpenSSLSignature.java178 if (pkeyType != NativeConstants.EVP_PKEY_RSA) { in checkEngineType()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLKey.java269 case NativeConstants.EVP_PKEY_RSA: in getPublicKey()
302 case NativeConstants.EVP_PKEY_RSA: in getPrivateKey()
DOpenSSLRSAKeyFactory.java57 … return OpenSSLKey.getPublicKey((X509EncodedKeySpec) keySpec, NativeConstants.EVP_PKEY_RSA); in engineGeneratePublic()
75 NativeConstants.EVP_PKEY_RSA); in engineGeneratePrivate()
DSSLUtils.java251 case NativeConstants.EVP_PKEY_RSA: in getClientKeyTypeFromSignatureAlg()
DOpenSSLSignature.java181 if (pkeyType != NativeConstants.EVP_PKEY_RSA) { in checkEngineType()
/external/conscrypt/constants/src/gen/cpp/
Dgenerate_constants.cc61 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.c188 key_type = EVP_PKEY_RSA; in STACK_OF()
/external/boringssl/src/include/openssl/
Devp.h184 #define EVP_PKEY_RSA NID_rsaEncryption macro
/external/openssh/
Dssh-pkcs11.c528 evp->type != EVP_PKEY_RSA || in pkcs11_fetch_keys_filter()
/external/wpa_supplicant_8/hs20/client/
Dest.c403 pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_RSA, NULL); in generate_csr()

12