boringssl/crypto
David Benjamin 22f9bccde5 Port ssl3_get_client_hello to CBS.
Also fix some DTLS cookie bugs. rcvd_cookie is never referenced after being
saved (and the length isn't saved, so it couldn't be used anyway), and the
cookie verification failed to check the length.

For convenience, add a CBS_mem_equal helper function. Saves a bit of
repetition.

Change-Id: I187137733b069f0ac8d8b1bf151eeb80d388b971
Reviewed-on: https://boringssl-review.googlesource.com/1174
Reviewed-by: Adam Langley <agl@google.com>
2014-07-15 18:30:09 +00:00
..
aes Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
asn1 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
base64 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
bio Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
bn Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
buf Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
bytestring Port ssl3_get_client_hello to CBS. 2014-07-15 18:30:09 +00:00
chacha Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
cipher Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
conf Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
des Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
dh Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
digest Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
dsa Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
ec Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
ecdh Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
ecdsa Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
engine Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
err Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
evp Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
hmac Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
lhash Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
md5 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
modes Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
obj Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
pem Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
perlasm perlasm/x86asm.pl: recognize elf-1 denoting old ELF platforms. 2014-06-20 13:17:39 -07:00
pkcs8 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
poly1305 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
rand Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
rc4 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
rsa Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
sha Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
stack Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
x509 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
x509v3 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
arm_arch.h Inital import. 2014-06-20 13:17:32 -07:00
CMakeLists.txt Include some build fixes for OS X. 2014-06-24 11:15:12 -07:00
cpu-arm.c Inital import. 2014-06-20 13:17:32 -07:00
cpu-intel.c Include some build fixes for OS X. 2014-06-24 11:15:12 -07:00
cpu-x86_64-asm.pl Inital import. 2014-06-20 13:17:32 -07:00
cpu-x86-asm.pl Inital import. 2014-06-20 13:17:32 -07:00
crypto_error.c Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
crypto_error.h Add ISC header to a handful of files. 2014-06-26 10:26:42 -07:00
directory_posix.c Support building with PNaCl. 2014-07-11 19:04:04 +00:00
directory_win.c Inital import. 2014-06-20 13:17:32 -07:00
directory.h Inital import. 2014-06-20 13:17:32 -07:00
ex_data_impl.c Inital import. 2014-06-20 13:17:32 -07:00
ex_data.c Inital import. 2014-06-20 13:17:32 -07:00
header_removed.h Add ISC header to a handful of files. 2014-06-26 10:26:42 -07:00
internal.h Inital import. 2014-06-20 13:17:32 -07:00
mem_clear.c Support building with PNaCl. 2014-07-11 19:04:04 +00:00
mem.c Support building with PNaCl. 2014-07-11 19:04:04 +00:00
thread.c Inital import. 2014-06-20 13:17:32 -07:00
time_support.c Support building with PNaCl. 2014-07-11 19:04:04 +00:00