/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa.c | 273 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 …]
|
D | rsa_impl.c | 260 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()
|
D | padding.c | 519 emLen = RSA_size(rsa); in RSA_verify_PKCS1_PSS_mgf1() 606 emLen = RSA_size(rsa); in RSA_padding_add_PKCS1_PSS_mgf1()
|
/external/openssh/ |
D | ssh-rsa.c | 105 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()
|
D | ssh-pkcs11-client.c | 132 if (slen <= (u_int)RSA_size(rsa)) { in pkcs11_rsa_private_encrypt()
|
D | ssh-pkcs11-helper.c | 185 slen = RSA_size(key->rsa); in process_sign()
|
D | ssh-pkcs11.c | 294 tlen = RSA_size(rsa); in pkcs11_rsa_private_encrypt()
|
/external/boringssl/src/crypto/rsa_extra/ |
D | rsa_test.cc | 413 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/ |
D | OpenSSLSignatureRawRSA.java | 106 int maxSize = NativeCrypto.RSA_size(key.getNativeRef()); in engineInitSign() 124 int maxSize = NativeCrypto.RSA_size(key.getNativeRef()); in engineInitVerify()
|
D | OpenSSLCipherRSA.java | 151 return NativeCrypto.RSA_size(this.key.getNativeRef()); in keySizeBytes() 212 buffer = new byte[NativeCrypto.RSA_size(this.key.getNativeRef())]; in engineInitInternal()
|
D | NativeCrypto.java | 122 static native int RSA_size(NativeRef.EVP_PKEY pkey); in RSA_size() method in NativeCrypto
|
/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 | 147 return NativeCrypto.RSA_size(this.key.getNativeRef()); in keySizeBytes() 208 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/iperf3/src/ |
D | iperf_auth.c | 217 keysize = RSA_size(rsa); in encrypt_rsa_message() 240 keysize = RSA_size(rsa); in decrypt_rsa_message()
|
/external/boringssl/src/util/fipstools/cavp/ |
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/boringssl/src/include/openssl/ |
D | rsa.h | 379 OPENSSL_EXPORT unsigned RSA_size(const RSA *rsa);
|
/external/boringssl/src/ssl/ |
D | handshake_client.cc | 1332 !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/ |
D | STYLE.md | 212 // least |RSA_size| bytes of space. It returns the number of bytes written, or
|
/external/boringssl/src/ssl/test/ |
D | test_config.cc | 1021 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/ |
D | speed.cc | 210 std::unique_ptr<uint8_t[]> sig(new uint8_t[RSA_size(key.get())]); 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/grpc-grpc/src/objective-c/ |
D | grpc_shadow_boringssl_symbol_list | 1103 RSA_size
|
/external/grpc-grpc/src/core/tsi/ |
D | grpc_shadow_boringssl.h | 1131 #define RSA_size GRPC_SHADOW_RSA_size macro
|