boringssl/crypto
David Benjamin ece3de95c6 Enforce that sessions are resumed at the version they're created.
After sharding the session cache for fallbacks, the numbers have been pretty
good; 0.03% on dev and 0.02% on canary. Stable is at 0.06% but does not have
the sharded session cache. Before sharding, stable, beta, and dev had been
fairly closely aligned. Between 0.03% being low and the fallback saving us in
all but extremely contrived cases, I think this should be fairly safe.

Add tests for both the cipher suite and protocol version mismatch checks.

BUG=441456

Change-Id: I2374bf64d0aee0119f293d207d45319c274d89ab
Reviewed-on: https://boringssl-review.googlesource.com/3972
Reviewed-by: Adam Langley <agl@google.com>
2015-04-06 21:40:32 +00:00
..
aes Fix undefined behavior in shifts. 2015-03-19 11:33:46 +00:00
asn1 Clean up error reporting. 2015-03-20 22:12:59 +00:00
base64 Convert base64_test to C++. 2015-04-01 19:54:13 +00:00
bio Convert bio_test to C++. 2015-04-01 19:59:03 +00:00
bn Define __STDC_FORMAT_MACROS before inttypes.h. 2015-04-02 18:39:18 +00:00
buf Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
bytestring Check for leading zeros in CBS_get_asn1_uint64. 2015-04-06 20:54:53 +00:00
chacha Switch nonce type in chacha_vec.c to uint32_t. 2015-02-13 13:16:59 -08:00
cipher Clean up error reporting. 2015-03-20 22:12:59 +00:00
conf Add in missing curly braces part 1. 2015-02-11 19:31:01 +00:00
des Add support for 3DES ECB. 2015-03-18 19:55:14 +00:00
dh Add in missing curly braces part 1. 2015-02-11 19:31:01 +00:00
digest Convert digest_test to C++. 2015-03-31 23:10:24 +00:00
dsa Add in missing curly braces part 1. 2015-02-11 19:31:01 +00:00
ec Fix a failure to NULL a pointer freed on error. 2015-03-19 19:50:32 +00:00
ecdh Add in missing curly braces part 2. 2015-02-11 23:14:04 +00:00
ecdsa Add in missing curly braces part 2. 2015-02-11 23:14:04 +00:00
engine Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
err Enforce that sessions are resumed at the version they're created. 2015-04-06 21:40:32 +00:00
evp Convert pbkdf_test to C++11. 2015-03-31 23:12:11 +00:00
hkdf Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
hmac Convert hmac_test to C++. 2015-03-31 23:13:49 +00:00
lhash Remove more bits of ERR_STRING_DATA. 2015-02-10 02:10:46 +00:00
md4 Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
md5 Remove explicit .hiddens from x86_64 perlasm files. 2015-02-25 21:26:16 +00:00
modes Build 32-bit assembly with SSE2 enabled. 2015-03-26 23:35:56 +00:00
obj Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
pem Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
perlasm Remove Unused SPARC & PowerPC perlasm scripts. 2015-03-14 00:16:55 +00:00
pkcs8 Add in missing curly braces part 3. 2015-02-11 15:14:46 -08:00
poly1305 Add in missing curly braces part 3. 2015-02-11 15:14:46 -08:00
rand Lowercase some Windows headers. 2015-03-31 22:21:42 +00:00
rc4 Remove explicit .hiddens from x86_64 perlasm files. 2015-02-25 21:26:16 +00:00
rsa Export the PSS padding functions. 2015-03-31 22:26:57 +00:00
sha ARMv4 assembly pack: add Cortex-A15 performance data. 2015-03-10 02:32:05 +00:00
stack Add sk_deep_copy and its macro. 2015-02-13 10:59:10 -08:00
test Convert bn_test to C++. 2015-04-01 19:53:51 +00:00
x509 Fix a failure to NULL a pointer freed on error. 2015-03-19 19:50:32 +00:00
x509v3 Fix the standalone shared library build. 2015-04-02 21:07:17 +00:00
arm_arch.h
CMakeLists.txt Fix the standalone shared library build. 2015-04-02 21:07:17 +00:00
constant_time_test.c
cpu-arm-asm.S Don't probe for NEON with SIGILL on aarch64. 2015-02-03 19:56:25 +00:00
cpu-arm.c Don't set NEON_FUNCTIONAL in the getauxval path. 2015-03-31 00:26:25 +00:00
cpu-intel.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
cpu-x86_64-asm.pl Remove explicit .hiddens from x86_64 perlasm files. 2015-02-25 21:26:16 +00:00
cpu-x86-asm.pl Never set RC4_CHAR. 2015-02-20 23:59:59 +00:00
crypto_error.h
crypto.c
directory_posix.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
directory_win.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
directory.h
ex_data_impl.c
ex_data.c
header_removed.h
internal.h OPENSSL_EXPORT the threading functions. 2015-04-02 20:36:58 +00:00
mem.c Lowercase some Windows headers. 2015-03-31 22:21:42 +00:00
thread_pthread.c Add native support for onces and thread-local storage. 2015-03-31 22:37:12 +00:00
thread_test.c Add native support for onces and thread-local storage. 2015-03-31 22:37:12 +00:00
thread_win.c Rename p_thread_callback_base to p_thread_callback_boringssl. 2015-04-03 17:17:32 +00:00
thread.c Lowercase some Windows headers. 2015-03-31 22:21:42 +00:00
time_support.c Use libmingwex for gmtime_s. 2015-03-31 22:21:57 +00:00