boringssl/ssl
David Benjamin 29a83c5a0c Rewrite DTLS outgoing message buffering.
Now that retransitting is a lot less stateful, a lot of surrounding code can
lose statefulness too. Rather than this overcomplicated pqueue structure,
hardcode that a handshake flight is capped at 7 messages (actually, DTLS can
only get up to 6 because we don't support NPN or Channel ID in DTLS) and used a
fixed size array.

This also resolves several TODOs.

Change-Id: I2b54c3441577a75ad5ca411d872b807d69aa08eb
Reviewed-on: https://boringssl-review.googlesource.com/8435
Reviewed-by: Adam Langley <agl@google.com>
2016-06-27 20:10:12 +00:00
..
pqueue
test Don't use bugs to test normal cipher/version pairs. 2016-06-27 17:03:22 +00:00
CMakeLists.txt Rename s3_{clnt,srvr}.c 2016-06-08 19:25:31 +00:00
custom_extensions.c Align the SSL stack on #include style. 2015-09-15 23:32:07 +00:00
d1_both.c Rewrite DTLS outgoing message buffering. 2016-06-27 20:10:12 +00:00
d1_lib.c Rewrite DTLS outgoing message buffering. 2016-06-27 20:10:12 +00:00
d1_meth.c A bit of cleanup post state machine merging. 2016-06-08 19:24:32 +00:00
d1_pkt.c Remove the 'ssl_' prefix on most SSL_PROTOCOL_METHOD hooks. 2016-06-27 18:43:33 +00:00
d1_srtp.c Make kSRTPProfiles static. 2016-05-13 14:12:22 +00:00
dtls_record.c Fix the alias checks in dtls_record.c. 2016-06-09 21:11:22 +00:00
handshake_client.c Always release init_buf after the handshake. 2016-06-27 20:09:47 +00:00
handshake_server.c Always release init_buf after the handshake. 2016-06-27 20:09:47 +00:00
internal.h Rewrite DTLS outgoing message buffering. 2016-06-27 20:10:12 +00:00
s3_both.c Fix ssl3_do_write error handling. 2016-06-09 23:51:08 +00:00
s3_enc.c Remove some easy obj.h dependencies. 2016-03-31 20:50:33 +00:00
s3_lib.c Stash a copy of the SKX params rather mess with init_buf. 2016-06-27 20:07:42 +00:00
s3_meth.c A bit of cleanup post state machine merging. 2016-06-08 19:24:32 +00:00
s3_pkt.c Remove the 'ssl_' prefix on most SSL_PROTOCOL_METHOD hooks. 2016-06-27 18:43:33 +00:00
ssl_aead_ctx.c Fixing iv_length for TLS 1.3. 2016-06-16 17:04:14 +00:00
ssl_asn1.c
ssl_buffer.c Remove in-place TLS record assembly for now. 2016-06-09 19:47:44 +00:00
ssl_cert.c Ensure we check i2d_X509 return val 2016-04-26 17:12:01 +00:00
ssl_cipher.c Add TLS 1.3 record layer to go implementation. 2016-06-21 21:43:40 +00:00
ssl_ecdh.c Generalizing curves to groups in preparation for TLS 1.3. 2016-05-20 17:43:11 +00:00
ssl_file.c Banish SSL_add_dir_cert_subjects_to_stack and OPENSSL_DIR_CTX to decrepit. 2016-04-27 18:40:25 +00:00
ssl_lib.c Remove the 'ssl_' prefix on most SSL_PROTOCOL_METHOD hooks. 2016-06-27 18:43:33 +00:00
ssl_rsa.c
ssl_session.c Split unlock functions into read/write variants. 2016-05-31 21:09:29 +00:00
ssl_stat.c Remove state parameters to ssl3_get_message. 2016-05-18 20:51:48 +00:00
ssl_test.cc Always set min_version / max_version. 2016-06-27 17:05:36 +00:00
t1_enc.c Remove some easy obj.h dependencies. 2016-03-31 20:50:33 +00:00
t1_lib.c Generalizing curves to groups in preparation for TLS 1.3. 2016-05-20 17:43:11 +00:00
tls_record.c Build up TLS 1.3 record-layer tests. 2016-06-27 17:02:01 +00:00