boringssl/ssl
David Benjamin 9550c3ac8b Decouple the handshake buffer and digest.
The handshake hash is initialized from the buffer as soon as the cipher
is known. When adding a message to the transcript, independently update
the buffer and rolling hash, whichever is active. This avoids the
complications around dont_free_handshake_buffer and EMS.

BUG=492371

Change-Id: I3b1065796a50fd1be5d42ead7210c2f253ef0aca
Reviewed-on: https://boringssl-review.googlesource.com/5615
Reviewed-by: Adam Langley <agl@google.com>
2015-08-07 01:10:33 +00:00
..
pqueue Fix some malloc test crashs. 2015-05-21 18:00:10 +00:00
test Add more aggressive DTLS replay tests. 2015-08-05 21:10:48 +00:00
CMakeLists.txt Implement custom extensions. 2015-07-31 01:12:00 +00:00
custom_extensions.c Implement custom extensions. 2015-07-31 01:12:00 +00:00
d1_both.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
d1_clnt.c Decouple the handshake buffer and digest. 2015-08-07 01:10:33 +00:00
d1_lib.c Decouple the handshake buffer and digest. 2015-08-07 01:10:33 +00:00
d1_meth.c Further tidy up cipher logic. 2015-06-01 22:48:30 +00:00
d1_pkt.c Clean up DTLS1_BITMAP code. 2015-08-05 21:23:05 +00:00
d1_srtp.c Convert the SRTP extension to the new system 2015-07-21 21:44:22 +00:00
d1_srvr.c Decouple the handshake buffer and digest. 2015-08-07 01:10:33 +00:00
internal.h Decouple the handshake buffer and digest. 2015-08-07 01:10:33 +00:00
s3_both.c Decouple the handshake buffer and digest. 2015-08-07 01:10:33 +00:00
s3_clnt.c Decouple the handshake buffer and digest. 2015-08-07 01:10:33 +00:00
s3_enc.c Decouple the handshake buffer and digest. 2015-08-07 01:10:33 +00:00
s3_lib.c Decouple the handshake buffer and digest. 2015-08-07 01:10:33 +00:00
s3_meth.c Further tidy up cipher logic. 2015-06-01 22:48:30 +00:00
s3_pkt.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
s3_srvr.c Decouple the handshake buffer and digest. 2015-08-07 01:10:33 +00:00
ssl_aead_ctx.c Fold away SSL_CIPHER_ALGORITHM2_VARIABLE_NONCE_INCLUDED_IN_RECORD. 2015-08-07 00:57:37 +00:00
ssl_algs.c Rename ssl_locl.h to internal.h 2015-04-10 22:14:09 +00:00
ssl_asn1.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
ssl_cert.c Reserve ex_data index zero for app_data. 2015-07-20 16:56:34 +00:00
ssl_cipher.c Rename algorithm2 to algorithm_prf. 2015-08-07 00:59:34 +00:00
ssl_lib.c Fold away EC point format negotiation. 2015-07-31 22:46:36 +00:00
ssl_rsa.c Add server-side support for asynchronous signing. 2015-07-31 01:14:29 +00:00
ssl_sess.c Reserve ex_data index zero for app_data. 2015-07-20 16:56:34 +00:00
ssl_stat.c Remove ssl2.h and ssl23.h. 2015-07-01 21:47:01 +00:00
ssl_test.cc Add tests for the padding extension. 2015-07-29 19:20:53 +00:00
ssl_txt.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
t1_enc.c Decouple the handshake buffer and digest. 2015-08-07 01:10:33 +00:00
t1_lib.c Decouple the handshake buffer and digest. 2015-08-07 01:10:33 +00:00