Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa.c273 if (!RSA_encrypt(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_public_encrypt()
297 if (!RSA_sign_raw(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_private_encrypt()
321 if (!RSA_decrypt(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_private_decrypt()
336 if (!RSA_verify_raw(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_public_decrypt()
347 unsigned RSA_size(const RSA *rsa) { in RSA_size() function
506 const unsigned rsa_size = RSA_size(rsa); in RSA_sign()
542 size_t padded_len = RSA_size(rsa); in RSA_sign_pss_mgf1()
564 const size_t rsa_size = RSA_size(rsa); in RSA_verify()
617 size_t em_len = RSA_size(rsa); in RSA_verify_pss_mgf1()
629 if (em_len != RSA_size(rsa)) { in RSA_verify_pss_mgf1()
[all …]
Drsa_impl.c260 const unsigned rsa_size = RSA_size(rsa); in RSA_encrypt()
458 const unsigned rsa_size = RSA_size(rsa); in rsa_default_sign_raw()
505 const unsigned rsa_size = RSA_size(rsa); in rsa_default_decrypt()
577 const unsigned rsa_size = RSA_size(rsa); in RSA_verify_raw()
Dpadding.c519 emLen = RSA_size(rsa); in RSA_verify_PKCS1_PSS_mgf1()
606 emLen = RSA_size(rsa); in RSA_padding_add_PKCS1_PSS_mgf1()
/external/openssh/
Dssh-rsa.c105 slen = RSA_size(key->rsa); in ssh_rsa_sign()
198 modlen = RSA_size(key->rsa); in ssh_rsa_verify()
323 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.c294 tlen = RSA_size(rsa); in pkcs11_rsa_private_encrypt()
/external/boringssl/src/crypto/rsa_extra/
Drsa_test.cc413 EXPECT_EQ(RSA_size(key.get()), ciphertext_len); in TEST_P()
427 EXPECT_EQ(RSA_size(key.get()), ciphertext_len); in TEST_P()
564 ASSERT_LE(RSA_size(key.get()), sizeof(buf)); in TEST()
579 ASSERT_LE(RSA_size(key2.get()), sizeof(buf)); in TEST()
689 ASSERT_GE(sizeof(sig), RSA_size(rsa.get())); in TEST()
704 ASSERT_EQ(1024u / 8u, RSA_size(pub.get())); in TEST()
1061 ASSERT_LE(RSA_size(rsa_template.get()), sizeof(sig)); in TEST()
1096 ASSERT_LE(RSA_size(rsa.get()), sizeof(sig2)); in TEST()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLSignatureRawRSA.java106 int maxSize = NativeCrypto.RSA_size(key.getNativeRef()); in engineInitSign()
124 int maxSize = NativeCrypto.RSA_size(key.getNativeRef()); in engineInitVerify()
DOpenSSLCipherRSA.java151 return NativeCrypto.RSA_size(this.key.getNativeRef()); in keySizeBytes()
212 buffer = new byte[NativeCrypto.RSA_size(this.key.getNativeRef())]; in engineInitInternal()
DNativeCrypto.java122 static native int RSA_size(NativeRef.EVP_PKEY pkey); in RSA_size() method in NativeCrypto
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLSignatureRawRSA.java104 int maxSize = NativeCrypto.RSA_size(key.getNativeRef()); in engineInitSign()
122 int maxSize = NativeCrypto.RSA_size(key.getNativeRef()); in engineInitVerify()
DOpenSSLCipherRSA.java147 return NativeCrypto.RSA_size(this.key.getNativeRef()); in keySizeBytes()
208 buffer = new byte[NativeCrypto.RSA_size(this.key.getNativeRef())]; in engineInitInternal()
DNativeCrypto.java118 static native int RSA_size(NativeRef.EVP_PKEY pkey); in RSA_size() method in NativeCrypto
/external/iperf3/src/
Diperf_auth.c217 keysize = RSA_size(rsa); in encrypt_rsa_message()
240 keysize = RSA_size(rsa); in decrypt_rsa_message()
/external/boringssl/src/util/fipstools/cavp/
Dcavp_rsa2_siggen_test.cc78 std::vector<uint8_t> sig(RSA_size(ctx->key.get())); in TestRSA2SigGen()
/external/boringssl/src/crypto/evp/
Dp_rsa_asn1.c160 return RSA_size(pkey->pkey.rsa); in int_rsa_size()
/external/boringssl/src/include/openssl/
Drsa.h379 OPENSSL_EXPORT unsigned RSA_size(const RSA *rsa);
/external/boringssl/src/ssl/
Dhandshake_client.cc1332 !CBB_reserve(&enc_pms, &ptr, RSA_size(rsa)) || in do_send_client_key_exchange()
1333 !RSA_encrypt(rsa, &enc_pms_len, ptr, RSA_size(rsa), pms.data(), in do_send_client_key_exchange()
/external/boringssl/src/
DSTYLE.md212 // least |RSA_size| bytes of space. It returns the number of bytes written, or
/external/boringssl/src/ssl/test/
Dtest_config.cc1021 test_state->private_key_result.resize(RSA_size(rsa)); in AsyncPrivateKeyDecrypt()
1023 RSA_size(rsa), in, in_len, RSA_NO_PADDING)) { in AsyncPrivateKeyDecrypt()
/external/boringssl/src/tool/
Dspeed.cc210 std::unique_ptr<uint8_t[]> sig(new uint8_t[RSA_size(key.get())]); in SpeedRSA()
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c1156 len = RSA_size(rsa); in eay_rsa_sign()
1183 len = RSA_size(rsa);
/external/grpc-grpc/src/objective-c/
Dgrpc_shadow_boringssl_symbol_list1103 RSA_size
/external/grpc-grpc/src/core/tsi/
Dgrpc_shadow_boringssl.h1131 #define RSA_size GRPC_SHADOW_RSA_size macro

12