boringssl/crypto/rsa
David Benjamin b86b0f2824 RT 3493: fix RSA test
- Pass in the right ciphertext length to ensure we're indeed testing
  ciphertext corruption (and not truncation).
- Only test one mutation per byte to not make the test too slow.
- Add a separate test for truncated ciphertexts.

(Imported from upstream's 5f623eb61655688501cb1817a7ad0592299d894a.)

Change-Id: I425a77668beac9d391387e3afad8d15ae387468f
Reviewed-on: https://boringssl-review.googlesource.com/5945
Reviewed-by: Adam Langley <agl@google.com>
2015-09-23 23:56:40 +00:00
..
blinding.c Stop using |ERR_peek_last_error| in RSA blinding. 2015-09-08 23:32:48 +00:00
CMakeLists.txt Move arm_arch.h and fix up lots of include paths. 2015-08-26 01:57:59 +00:00
internal.h Avoid a copy when using RSA_PADDING_NONE. 2015-08-07 23:53:09 +00:00
padding.c Avoid a copy when using RSA_PADDING_NONE. 2015-08-07 23:53:09 +00:00
rsa_asn1.c Work around even more Estonian ID card misissuances. 2015-09-23 20:35:47 +00:00
rsa_impl.c Initialise |supports_digest|. 2015-09-14 21:51:18 +00:00
rsa_test.cc RT 3493: fix RSA test 2015-09-23 23:56:40 +00:00
rsa.c size_t RSA_private_decrypt's input. 2015-09-23 23:55:18 +00:00