boringssl/crypto/evp
Adam Langley 69a01608f3 Add malloc failure tests.
This commit fixes a number of crashes caused by malloc failures. They
were found using the -malloc-test=0 option to runner.go which runs tests
many times, causing a different allocation call to fail in each case.

(This test only works on Linux and only looks for crashes caused by
allocation failures, not memory leaks or other errors.)

This is not the complete set of crashes! More can be found by collecting
core dumps from running with -malloc-test=0.

Change-Id: Ia61d19f51e373bccb7bc604642c51e043a74bd83
Reviewed-on: https://boringssl-review.googlesource.com/2320
Reviewed-by: Adam Langley <agl@google.com>
2014-11-19 01:24:46 +00:00
..
algorithm.c
asn1.c Allow PKCS#8 in d2i_AutoPrivateKey. 2014-11-05 00:42:58 +00:00
CMakeLists.txt Rename example_sign to evp_test. 2014-11-05 00:43:09 +00:00
digestsign.c Make EVP_DigestVerifyFinal return only zero or one. 2014-10-28 20:22:46 +00:00
evp_ctx.c Add malloc failure tests. 2014-11-19 01:24:46 +00:00
evp_error.c Add malloc failure tests. 2014-11-19 01:24:46 +00:00
evp_test.c Rename example_sign to evp_test. 2014-11-05 00:43:09 +00:00
evp.c Add EVP_PKEY_supports_digest. 2014-11-18 22:18:36 +00:00
internal.h Add EVP_PKEY_supports_digest. 2014-11-18 22:18:36 +00:00
p_ec_asn1.c Add EVP_PKEY_supports_digest. 2014-11-18 22:18:36 +00:00
p_ec.c
p_hmac_asn1.c Add EVP_PKEY_supports_digest. 2014-11-18 22:18:36 +00:00
p_hmac.c Add malloc failure tests. 2014-11-19 01:24:46 +00:00
p_rsa_asn1.c Add EVP_PKEY_supports_digest. 2014-11-18 22:18:36 +00:00
p_rsa.c
pbkdf.c
sign.c Remove remnants of EVP_MD_FLAG_PKEY_METHOD_SIGNATURE. 2014-11-04 00:27:19 +00:00