boringssl/crypto/evp
David Benjamin 4f57074bfa Check input length to pkey_rsa_verify and add initial tests.
This is imported from upstream's
71bbc79b7d3b1195a7a7dd5f547d52ddce32d6f0 and test vectors taken
initially from 2d7bbd6c9fb6865e0df480602c3612652189e182 (with a handful
more added).

The tests are a little odd because OpenSSL supports this "salt length
recovery" mode and they go through that codepath for all verifications.

Change-Id: I220104fe87e2a1a1458c99656f9791d8abfbbb98
Reviewed-on: https://boringssl-review.googlesource.com/12822
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: Adam Langley <agl@google.com>
2016-12-16 17:16:57 +00:00
..
CMakeLists.txt Pull EVP_PKEY print hooks out of the main method table. 2016-02-26 22:40:44 +00:00
digestsign.c Don't default to SHA-1 in |EVP_DigestSignInit|/|EVP_DigestVerifyInit|. 2015-10-26 21:26:51 +00:00
evp_asn1.c Adding ARRAY_SIZE macro for getting the size of constant arrays. 2016-08-19 19:30:39 +00:00
evp_ctx.c Change |EVP_PKEY_up_ref| to return int. 2016-07-12 17:55:41 +00:00
evp_extra_test.cc Remove the remaining bssl::Main wrappers. 2016-12-08 00:54:17 +00:00
evp_test.cc Check input length to pkey_rsa_verify and add initial tests. 2016-12-16 17:16:57 +00:00
evp_tests.txt Check input length to pkey_rsa_verify and add initial tests. 2016-12-16 17:16:57 +00:00
evp.c Add various 1.1.0 accessors. 2016-08-10 16:52:15 +00:00
internal.h Decouple crypto/evp from the OID table. 2016-03-31 22:12:46 +00:00
p_dsa_asn1.c Decouple crypto/evp from the OID table. 2016-03-31 22:12:46 +00:00
p_ec_asn1.c Fix memory leak on invalid ecPublicKey parameters. 2016-04-15 19:43:26 +00:00
p_ec.c Remove some easy obj.h dependencies. 2016-03-31 20:50:33 +00:00
p_rsa_asn1.c Decouple crypto/evp from the OID table. 2016-03-31 22:12:46 +00:00
p_rsa.c Check input length to pkey_rsa_verify and add initial tests. 2016-12-16 17:16:57 +00:00
pbkdf_test.cc Remove unnecessary include. 2016-03-28 15:57:17 +00:00
pbkdf.c Reject iterations=0 when calling PKCS5_PBKDF2_HMAC(). 2015-10-13 19:40:55 +00:00
print.c Use C99 for size_t loops. 2016-09-12 19:44:24 +00:00
sign.c Take advantage of normalized return values. 2015-03-13 19:40:42 +00:00