Home
last modified time | relevance | path

Searched refs:RSA_size (Results 1 – 18 of 18) sorted by relevance

/external/boringssl/src/crypto/rsa/
Drsa_test.cc544 ciphertext_len != RSA_size(key.get())) { in TestRSA()
562 ciphertext_len != RSA_size(key.get())) { in TestRSA()
709 RSA_size(key.get()) > sizeof(buf)) { in TestOnlyDGiven()
780 if (RSA_size(key2.get()) > buf_len) { in TestRecoverCRTParams()
Drsa.c202 if (!RSA_encrypt(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_public_encrypt()
226 if (!RSA_sign_raw(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_private_encrypt()
250 if (!RSA_decrypt(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_private_decrypt()
275 if (!RSA_verify_raw(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_public_decrypt()
286 unsigned RSA_size(const RSA *rsa) { in RSA_size() function
439 const unsigned rsa_size = RSA_size(rsa); in RSA_sign()
476 const size_t rsa_size = RSA_size(rsa); in RSA_verify()
Drsa_impl.c82 const unsigned rsa_size = RSA_size(rsa); in rsa_default_encrypt()
298 const unsigned rsa_size = RSA_size(rsa); in rsa_default_sign_raw()
347 const unsigned rsa_size = RSA_size(rsa); in rsa_default_decrypt()
413 const unsigned rsa_size = RSA_size(rsa); in rsa_default_verify_raw()
Dpadding.c526 emLen = RSA_size(rsa); in RSA_verify_PKCS1_PSS_mgf1()
634 emLen = RSA_size(rsa); in RSA_padding_add_PKCS1_PSS_mgf1()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLSignatureRawRSA.java100 int maxSize = NativeCrypto.RSA_size(key.getNativeRef()); in engineInitSign()
118 int maxSize = NativeCrypto.RSA_size(key.getNativeRef()); in engineInitVerify()
DOpenSSLCipherRSA.java141 return NativeCrypto.RSA_size(this.key.getNativeRef()); in keySizeBytes()
187 buffer = new byte[NativeCrypto.RSA_size(this.key.getNativeRef())]; in engineInitInternal()
DNativeCrypto.java119 public static native int RSA_size(NativeRef.EVP_PKEY pkey); in RSA_size() method in NativeCrypto
/external/libchrome/crypto/
Dsignature_creator_openssl.cc70 signature->resize(RSA_size(rsa_key.get())); in Sign()
/external/boringssl/src/include/openssl/
Drsa.h266 OPENSSL_EXPORT unsigned RSA_size(const RSA *rsa);
/external/boringssl/src/tool/
Dspeed.cc139 std::unique_ptr<uint8_t[]> sig(new uint8_t[RSA_size(key)]); in SpeedRSA()
/external/boringssl/src/
DSTYLE.md187 * least |RSA_size| bytes of space. It returns the number of bytes written, or
/external/boringssl/src/ssl/test/
Dbssl_shim.cc236 test_state->private_key_result.resize(RSA_size(rsa)); in AsyncPrivateKeyDecrypt()
238 RSA_size(rsa), in, in_len, RSA_NO_PADDING)) { in AsyncPrivateKeyDecrypt()
/external/boringssl/src/crypto/evp/
Dp_rsa_asn1.c164 return RSA_size(pkey->pkey.rsa); in int_rsa_size()
/external/boringssl/src/ssl/
Ds3_clnt.c1670 if (!CBB_reserve(enc_pms, &ptr, RSA_size(rsa)) || in ssl3_send_client_key_exchange()
1671 !RSA_encrypt(rsa, &enc_pms_len, ptr, RSA_size(rsa), pms, pms_len, in ssl3_send_client_key_exchange()
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c1156 len = RSA_size(rsa); in eay_rsa_sign()
1183 len = RSA_size(rsa);
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp1616 size_t expected_size = static_cast<size_t>(RSA_size(rsa));
1661 size_t expected_size = static_cast<size_t>(RSA_size(rsa));
1964 size_t expected_size = static_cast<size_t>(RSA_size(rsa));
3130 return static_cast<jint>(RSA_size(rsa.get()));
11079 NATIVE_METHOD(NativeCrypto, RSA_size, "(" REF_EVP_PKEY ")I"),
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c374 len = RSA_size(rsa); in cryptoapi_rsa_priv_enc()
/external/conscrypt/src/test/java/org/conscrypt/
DNativeCryptoTest.java2771 NativeCrypto.RSA_size(null); in test_RSA_size_null_key_Failure()