boringssl/crypto
David Benjamin af07365b49 Check for overflow when parsing a CBS with d2i_*.
Until we've done away with the d2i_* stack completely, boundaries need
to be mindful of the type mismatch. d2i_* takes a long, not a size_t.

Change-Id: If02f9ca2cfde02d0929ac18275d09bf5df400f3a
Reviewed-on: https://boringssl-review.googlesource.com/6491
Reviewed-by: Adam Langley <agl@google.com>
2015-11-16 23:17:42 +00:00
..
aes Fix the shared builders by exporting GCM symbols. 2015-10-26 23:26:40 +00:00
asn1 Become partially -Wmissing-variable-declarations-clean. 2015-11-12 20:09:20 +00:00
base64 Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
bio Test for underflow before subtraction. 2015-11-11 22:20:04 +00:00
bn Remove the unused |Ni| member of |BN_MONT_CTX|. 2015-11-12 20:04:43 +00:00
buf
bytestring Drop CBB allocation failure test. 2015-11-16 22:25:59 +00:00
chacha Change |CRYPTO_chacha_20| to use 96-bit nonces, 32-bit counters. 2015-10-26 23:58:46 +00:00
cipher Remove stl_compat.h. 2015-11-11 22:19:36 +00:00
cmac Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
conf
des Fix shared library build on OS X. 2015-10-26 23:39:47 +00:00
dh Become partially -Wmissing-variable-declarations-clean. 2015-11-12 20:09:20 +00:00
digest Improve crypto/digest/md32_common.h mechanism. 2015-11-04 00:01:09 +00:00
dsa Unwind DH_METHOD and DSA_METHOD. 2015-11-03 22:54:36 +00:00
ec Don't encode or decode ∞. 2015-11-12 23:52:37 +00:00
ecdh Clean up |ECDH_compute_key|. 2015-10-27 17:00:25 +00:00
ecdsa Remove stl_compat.h. 2015-11-11 22:19:36 +00:00
engine Unwind DH_METHOD and DSA_METHOD. 2015-11-03 22:54:36 +00:00
err Limit DHE groups to 4096-bit. 2015-11-11 22:18:39 +00:00
evp Become partially -Wmissing-variable-declarations-clean. 2015-11-12 20:09:20 +00:00
hkdf Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
hmac Remove condition which always evaluates to true (size_t >= 0). 2015-11-11 22:20:19 +00:00
lhash Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
md4 Improve crypto/digest/md32_common.h mechanism. 2015-11-04 00:01:09 +00:00
md5 Improve crypto/digest/md32_common.h mechanism. 2015-11-04 00:01:09 +00:00
modes modes/asm/ghash-armv4.pl: extend Apple fix to all clang cases. 2015-11-16 23:11:19 +00:00
obj
pem Fix all sign/unsigned warnings with Clang and GCC. 2015-10-27 22:48:00 +00:00
perlasm Get rid of all compiler version checks in perlasm files. 2015-10-28 19:33:04 +00:00
pkcs8 Check for overflow when parsing a CBS with d2i_*. 2015-11-16 23:17:42 +00:00
poly1305 Remove stl_compat.h. 2015-11-11 22:19:36 +00:00
rand Make RAND_seed read a byte of random data. 2015-11-16 21:58:46 +00:00
rc4 Fix a couple more signed/unsigned compares. 2015-10-27 16:07:26 -07:00
rsa Constify more BN_MONT_CTX parameters. 2015-11-06 20:04:36 +00:00
sha Enable AVX code for SHA-*. 2015-11-12 20:03:32 +00:00
stack
test Remove stl_compat.h. 2015-11-11 22:19:36 +00:00
x509 Check for overflow when parsing a CBS with d2i_*. 2015-11-16 23:17:42 +00:00
x509v3 Become partially -Wmissing-variable-declarations-clean. 2015-11-12 20:09:20 +00:00
CMakeLists.txt Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
constant_time_test.c
cpu-arm-asm.S
cpu-arm.c
cpu-intel.c
crypto.c Become partially -Wmissing-variable-declarations-clean. 2015-11-12 20:09:20 +00:00
directory_posix.c
directory_win.c
directory.h
ex_data.c
header_removed.h
internal.h
mem.c
refcount_c11.c
refcount_lock.c
refcount_test.c
thread_none.c
thread_pthread.c
thread_test.c
thread_win.c
thread.c
time_support.c