Home
last modified time | relevance | path

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

12

/external/chromium_org/chrome/common/extensions/api/networking_private/
Dnetworking_private_crypto_openssl.cc153 if (!rsa || ptr != end || RSA_size(rsa.get()) == 0) { in EncryptByteString()
158 scoped_ptr<uint8_t[]> rsa_output(new uint8_t[RSA_size(rsa.get())]); in EncryptByteString()
193 if (!rsa || RSA_size(rsa.get()) == 0) { in DecryptByteString()
198 scoped_ptr<uint8_t[]> rsa_output(new uint8_t[RSA_size(rsa.get())]); in DecryptByteString()
/external/openssl/crypto/pem/
Dpem_seal.c86 j=RSA_size(pubk[i]->pkey.rsa); in PEM_SealInit()
110 RSA_size(pubk[i]->pkey.rsa)); in PEM_SealInit()
158 i=RSA_size(priv->pkey.rsa); in PEM_SealFinal()
/external/openssl/crypto/rsa/
Drsa_saos.c79 j=RSA_size(rsa); in RSA_sign_ASN1_OCTET_STRING()
114 if (siglen != (unsigned int)RSA_size(rsa)) in RSA_verify_ASN1_OCTET_STRING()
Drsa_pss.c113 emLen = RSA_size(rsa); in RSA_verify_PKCS1_PSS_mgf1()
225 emLen = RSA_size(rsa); in RSA_padding_add_PKCS1_PSS_mgf1()
Drsa_sign.c124 j=RSA_size(rsa); in RSA_sign()
192 if (siglen != (unsigned int)RSA_size(rsa)) in int_rsa_verify()
Drsa_crpt.c70 int RSA_size(const RSA *r) in RSA_size() function
Drsa.h283 int RSA_size(const RSA *rsa);
Drsa_pmeth.c266 ret = RSA_private_encrypt(RSA_size(rsa), rctx->tbuf, in pkey_rsa_sign()
Drsa_ameth.c160 return RSA_size(pkey->pkey.rsa); in int_rsa_size()
/external/chromium_org/third_party/boringssl/src/crypto/rsa/
Drsa.c181 if (!RSA_encrypt(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_public_encrypt()
202 if (!RSA_sign_raw(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_private_encrypt()
223 if (!RSA_decrypt(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_private_decrypt()
244 if (!RSA_verify_raw(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_public_decrypt()
251 unsigned RSA_size(const RSA *rsa) { in RSA_size() function
407 const unsigned rsa_size = RSA_size(rsa); in RSA_sign()
444 const size_t rsa_size = RSA_size(rsa); in RSA_verify()
Drsa_test.c287 RSA_size(key) > sizeof(buf)) { in test_only_d_given()
354 if (RSA_size(key2) > buf_len) { in test_recover_crt_params()
Drsa_impl.c92 const unsigned rsa_size = RSA_size(rsa); in encrypt()
329 const unsigned rsa_size = RSA_size(rsa); in sign_raw()
379 const unsigned rsa_size = RSA_size(rsa); in decrypt()
440 const unsigned rsa_size = RSA_size(rsa); in verify_raw()
Dpadding.c581 emLen = RSA_size(rsa); in RSA_verify_PKCS1_PSS_mgf1()
694 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.getPkeyContext()); in engineInitSign()
118 int maxSize = NativeCrypto.RSA_size(key.getPkeyContext()); in engineInitVerify()
DOpenSSLCipherRSA.java141 return NativeCrypto.RSA_size(this.key.getPkeyContext()); in keySizeBytes()
187 buffer = new byte[NativeCrypto.RSA_size(this.key.getPkeyContext())]; in engineInitInternal()
/external/openssl/crypto/evp/
Dp_open.c89 size=RSA_size(priv->pkey.rsa); in EVP_OpenInit()
/external/chromium_org/third_party/boringssl/src/crypto/evp/
Dexample_sign.c127 if (sig_len != RSA_size(rsa)) { in example_EVP_DigestSignInit()
Dp_rsa_asn1.c157 return RSA_size(pkey->pkey.rsa); in int_rsa_size()
/external/chromium_org/crypto/
Dsignature_creator_openssl.cc68 signature->resize(RSA_size(rsa_key.get())); in Sign()
/external/openssl/apps/
Drsautl.c258 keysize = RSA_size(rsa); in MAIN()
/external/chromium_org/third_party/boringssl/src/tool/
Dspeed.cc136 std::unique_ptr<uint8_t[]> sig(new uint8_t[RSA_size(key)]); in SpeedRSA()
/external/chromium_org/third_party/boringssl/src/include/openssl/
Drsa.h259 OPENSSL_EXPORT unsigned RSA_size(const RSA *rsa);
/external/chromium_org/net/android/
Dkeystore_openssl.cc242 size_t expected_size = static_cast<size_t>(RSA_size(rsa)); in RsaMethodSignRaw()
Dkeystore_unittest.cc280 max_signature_size = static_cast<size_t>(RSA_size(rsa.get())); in SignWithOpenSSL()
/external/openssl/include/openssl/
Drsa.h283 int RSA_size(const RSA *rsa);

12