Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/rsa/
Drsa.c179 if (!RSA_encrypt(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_public_encrypt()
200 if (!RSA_sign_raw(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_private_encrypt()
221 if (!RSA_decrypt(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_private_decrypt()
242 if (!RSA_verify_raw(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_public_decrypt()
249 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.c289 RSA_size(key) > sizeof(buf)) { in test_only_d_given()
358 if (RSA_size(key2) > buf_len) { in test_recover_crt_params()
Drsa_impl.c90 const unsigned rsa_size = RSA_size(rsa); in encrypt()
307 const unsigned rsa_size = RSA_size(rsa); in sign_raw()
356 const unsigned rsa_size = RSA_size(rsa); in decrypt()
416 const unsigned rsa_size = RSA_size(rsa); in verify_raw()
Dpadding.c584 emLen = RSA_size(rsa); in RSA_verify_PKCS1_PSS_mgf1()
696 emLen = RSA_size(rsa); in RSA_padding_add_PKCS1_PSS_mgf1()
/external/openssh/
Dssh-rsa.c59 slen = RSA_size(key->rsa); in ssh_rsa_sign()
154 modlen = RSA_size(key->rsa); in ssh_rsa_verify()
235 rsasize = RSA_size(rsa); in openssh_RSA_verify()
Dssh-pkcs11-client.c132 if (slen <= (u_int)RSA_size(rsa)) { in pkcs11_rsa_private_encrypt()
Dssh-pkcs11-helper.c185 slen = RSA_size(key->rsa); in process_sign()
Dssh-pkcs11.c286 tlen = RSA_size(rsa); in pkcs11_rsa_private_encrypt()
/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.java116 public static native int RSA_size(NativeRef.EVP_PKEY pkey); in RSA_size() method in NativeCrypto
/external/boringssl/src/include/openssl/
Drsa.h259 OPENSSL_EXPORT unsigned RSA_size(const RSA *rsa);
/external/boringssl/src/tool/
Dspeed.cc145 std::unique_ptr<uint8_t[]> sig(new uint8_t[RSA_size(key)]); in SpeedRSA()
/external/boringssl/src/
DSTYLE188 * least |RSA_size| bytes of space. It returns the number of bytes written, or
/external/boringssl/src/crypto/evp/
Dp_rsa_asn1.c161 return RSA_size(pkey->pkey.rsa); in int_rsa_size()
/external/libvncserver/x11vnc/
Denc.h1397 encrypted_keybuf = (unsigned char*) calloc(RSA_size(rsa), 1); in securevnc_setup()
1502 signature = (unsigned char *) calloc(RSA_size(client_rsa), 1); in securevnc_setup()
/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.cpp1612 size_t expected_size = static_cast<size_t>(RSA_size(rsa));
1657 size_t expected_size = static_cast<size_t>(RSA_size(rsa));
1960 size_t expected_size = static_cast<size_t>(RSA_size(rsa));
3196 return static_cast<jint>(RSA_size(rsa.get()));
10665 NATIVE_METHOD(NativeCrypto, RSA_size, "(" REF_EVP_PKEY ")I"),
/external/boringssl/src/ssl/
Ds3_clnt.c1733 if (!RSA_encrypt(rsa, &enc_pms_len, p, RSA_size(rsa), pms, pms_len, in ssl3_send_client_key_exchange()
Ds3_srvr.c1716 rsa_size = RSA_size(rsa); in ssl3_get_client_key_exchange()
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c264 len = RSA_size(rsa); in cryptoapi_rsa_priv_enc()
/external/conscrypt/src/test/java/org/conscrypt/
DNativeCryptoTest.java2620 NativeCrypto.RSA_size(null); in test_RSA_size_null_key_Failure()