boringssl/crypto/bytestring
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
..
bytestring_test.c Inital import. 2014-06-20 13:17:32 -07:00
cbb.c Inital import. 2014-06-20 13:17:32 -07:00
cbs.c Port ssl3_get_client_hello to CBS. 2014-07-15 18:30:09 +00:00
CMakeLists.txt Inital import. 2014-06-20 13:17:32 -07:00