boringssl/ssl
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
..
pqueue Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
test Port ssl3_get_client_hello to CBS. 2014-07-15 18:30:09 +00:00
CMakeLists.txt Remove heartbeat extension. 2014-06-26 20:48:19 +00:00
d1_both.c Make init_msg a uint8_t*. 2014-07-14 21:43:20 +00:00
d1_clnt.c Rename ssl3_get_key_exchange to ssl3_get_server_key_exchange. 2014-07-14 23:55:35 +00:00
d1_enc.c Remove crypto/comp and SSL_COMP support code. 2014-06-24 17:22:06 +00:00
d1_lib.c DTLS: fix memory leak when allocation fails. 2014-06-26 17:46:27 -07:00
d1_meth.c Inital import. 2014-06-20 13:17:32 -07:00
d1_pkt.c Remove heartbeat extension. 2014-06-26 20:48:19 +00:00
d1_srtp.c Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
d1_srvr.c Remove remnants of KRB5 support. 2014-07-14 20:49:57 +00:00
s3_both.c Make init_msg a uint8_t*. 2014-07-14 21:43:20 +00:00
s3_cbc.c Remove OPENSSL_FIPS blocks. 2014-07-07 20:31:50 +00:00
s3_clnt.c Port ssl3_get_client_hello to CBS. 2014-07-15 18:30:09 +00:00
s3_enc.c Remove CHARSET_EBCDIC 2014-07-07 19:30:35 +00:00
s3_lib.c Separate client and server certificate_types. 2014-07-09 19:51:08 +00:00
s3_meth.c Inital import. 2014-06-20 13:17:32 -07:00
s3_pkt.c Remove heartbeat extension. 2014-06-26 20:48:19 +00:00
s3_srvr.c Port ssl3_get_client_hello to CBS. 2014-07-15 18:30:09 +00:00
s23_clnt.c Remove OPENSSL_FIPS blocks. 2014-07-07 20:31:50 +00:00
s23_lib.c Inital import. 2014-06-20 13:17:32 -07:00
s23_meth.c Inital import. 2014-06-20 13:17:32 -07:00
s23_pkt.c Inital import. 2014-06-20 13:17:32 -07:00
s23_srvr.c Remove OPENSSL_FIPS blocks. 2014-07-07 20:31:50 +00:00
ssl_algs.c Inital import. 2014-06-20 13:17:32 -07:00
ssl_asn1.c Remove OPENSSL_NO_TLSEXT compilation option. 2014-07-07 20:31:37 +00:00
ssl_cert.c Separate client and server certificate_types. 2014-07-09 19:51:08 +00:00
ssl_ciph.c Be strict about requiring ServerKeyExchange. 2014-07-14 21:42:30 +00:00
ssl_error.c Rename ssl3_get_key_exchange to ssl3_get_server_key_exchange. 2014-07-14 23:55:35 +00:00
ssl_lib.c Port ssl3_get_client_hello to CBS. 2014-07-15 18:30:09 +00:00
ssl_locl.h Port ssl3_get_client_hello to CBS. 2014-07-15 18:30:09 +00:00
ssl_rsa.c Remove OPENSSL_NO_RSA 2014-07-07 20:20:53 +00:00
ssl_sess.c Port ssl3_get_client_hello to CBS. 2014-07-15 18:30:09 +00:00
ssl_stat.c Add support for asynchronous session lookup. 2014-06-20 13:17:32 -07:00
ssl_txt.c Port ssl3_get_new_session_ticket to CBS. 2014-07-14 23:38:16 +00:00
t1_clnt.c Inital import. 2014-06-20 13:17:32 -07:00
t1_enc.c Perform bounds checks in hmac_signctx. 2014-07-10 20:59:10 +00:00
t1_lib.c Port tls12_check_peer_sigalg to CBS. 2014-07-14 23:55:01 +00:00
t1_meth.c Inital import. 2014-06-20 13:17:32 -07:00
t1_reneg.c Port ssl3_get_client_hello to CBS. 2014-07-15 18:30:09 +00:00
t1_srvr.c Inital import. 2014-06-20 13:17:32 -07:00