/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa.c | 265 if (!RSA_encrypt(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_public_encrypt() 289 if (!RSA_sign_raw(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_private_encrypt() 313 if (!RSA_decrypt(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_private_decrypt() 328 if (!RSA_verify_raw(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_public_decrypt() 339 unsigned RSA_size(const RSA *rsa) { in RSA_size() function 498 const unsigned rsa_size = RSA_size(rsa); in RSA_sign() 534 size_t padded_len = RSA_size(rsa); in RSA_sign_pss_mgf1() 556 const size_t rsa_size = RSA_size(rsa); in RSA_verify() 609 size_t em_len = RSA_size(rsa); in RSA_verify_pss_mgf1() 621 if (em_len != RSA_size(rsa)) { in RSA_verify_pss_mgf1() [all …]
|
D | rsa_impl.c | 123 const unsigned rsa_size = RSA_size(rsa); in RSA_encrypt() 321 const unsigned rsa_size = RSA_size(rsa); in rsa_default_sign_raw() 367 const unsigned rsa_size = RSA_size(rsa); in rsa_default_decrypt() 436 const unsigned rsa_size = RSA_size(rsa); in RSA_verify_raw()
|
D | padding.c | 516 emLen = RSA_size(rsa); in RSA_verify_PKCS1_PSS_mgf1() 603 emLen = RSA_size(rsa); in RSA_padding_add_PKCS1_PSS_mgf1()
|
/external/boringssl/src/crypto/rsa_extra/ |
D | rsa_test.cc | 408 EXPECT_EQ(RSA_size(key.get()), ciphertext_len); in TEST_P() 422 EXPECT_EQ(RSA_size(key.get()), ciphertext_len); in TEST_P() 558 ASSERT_LE(RSA_size(key.get()), sizeof(buf)); in TEST() 573 ASSERT_LE(RSA_size(key2.get()), sizeof(buf)); in TEST() 683 ASSERT_GE(sizeof(sig), RSA_size(rsa.get())); in TEST() 698 ASSERT_EQ(1024u / 8u, RSA_size(pub.get())); in TEST()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLSignatureRawRSA.java | 104 int maxSize = NativeCrypto.RSA_size(key.getNativeRef()); in engineInitSign() 122 int maxSize = NativeCrypto.RSA_size(key.getNativeRef()); in engineInitVerify()
|
D | OpenSSLCipherRSA.java | 150 return NativeCrypto.RSA_size(this.key.getNativeRef()); in keySizeBytes() 211 buffer = new byte[NativeCrypto.RSA_size(this.key.getNativeRef())]; in engineInitInternal()
|
D | NativeCrypto.java | 118 static native int RSA_size(NativeRef.EVP_PKEY pkey); in RSA_size() method in NativeCrypto
|
/external/boringssl/src/fipstools/ |
D | cavp_rsa2_siggen_test.cc | 78 std::vector<uint8_t> sig(RSA_size(ctx->key.get())); in TestRSA2SigGen()
|
/external/boringssl/src/crypto/evp/ |
D | p_rsa_asn1.c | 160 return RSA_size(pkey->pkey.rsa); in int_rsa_size()
|
/external/nos/host/android/hals/keymaster/ |
D | import_key.cpp | 90 size_t parsedKeySize = RSA_size(rsa) * 8; in import_key_rsa()
|
/external/boringssl/src/include/openssl/ |
D | rsa.h | 347 OPENSSL_EXPORT unsigned RSA_size(const RSA *rsa);
|
/external/boringssl/src/ssl/ |
D | handshake_client.cc | 1328 if (!CBB_reserve(enc_pms, &ptr, RSA_size(rsa)) || in do_send_client_key_exchange() 1329 !RSA_encrypt(rsa, &enc_pms_len, ptr, RSA_size(rsa), pms.data(), in do_send_client_key_exchange()
|
/external/boringssl/src/ |
D | STYLE.md | 212 // least |RSA_size| bytes of space. It returns the number of bytes written, or
|
/external/boringssl/src/tool/ |
D | speed.cc | 149 std::unique_ptr<uint8_t[]> sig(new uint8_t[RSA_size(key)]); in SpeedRSA()
|
/external/ipsec-tools/src/racoon/ |
D | crypto_openssl.c | 1156 len = RSA_size(rsa); in eay_rsa_sign() 1183 len = RSA_size(rsa);
|
/external/boringssl/src/ssl/test/ |
D | bssl_shim.cc | 421 test_state->private_key_result.resize(RSA_size(rsa)); in AsyncPrivateKeyDecrypt() 423 RSA_size(rsa), in, in_len, RSA_NO_PADDING)) { in AsyncPrivateKeyDecrypt()
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 704 size_t expected_size = static_cast<size_t>(RSA_size(rsa)); in RsaMethodSignRaw() 1383 return static_cast<jint>(RSA_size(rsa.get())); in NativeCrypto_RSA_size() 9764 CONSCRYPT_NATIVE_METHOD(RSA_size, "(" REF_EVP_PKEY ")I"),
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_openssl.c | 412 len = RSA_size(rsa); in cryptoapi_rsa_priv_enc()
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | NativeCryptoTest.java | 2764 NativeCrypto.RSA_size(null); in RSA_size_NullArgumentFailure()
|