boringssl/ssl
David Benjamin f2401eb42b Add a ssl_hs_flush_and_read_message wait mode.
Every flush but the last is always immediately followed by a read. Add a
combined wait mode to make things simpler. Unfortunately, both flights
we have (the state machine doesn't write the first ClientHello) are
followed immediately by a state change, which means we still need some
state in between because we must run code after write_message but before
read_message.

(This way to fix that is to get rid of the buffer BIO, change
write_message to write_flight, and allow things like init_message /
finish_message / init_message / finish_message / set_write_state /
init_message / finish_message / write_flight.)

Change-Id: Iebaa388ccbe7fcad48c1b2256e1c0d3a7c9c8a2a
Reviewed-on: https://boringssl-review.googlesource.com/8828
Reviewed-by: Steven Valdez <svaldez@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2016-07-19 08:01:47 +00:00
..
test Test if the ServerHello includes an unknown cipher suite. 2016-07-18 14:04:48 +00:00
CMakeLists.txt Add TLS 1.3 1-RTT. 2016-07-18 09:54:46 +00:00
custom_extensions.c Align the SSL stack on #include style. 2015-09-15 23:32:07 +00:00
d1_both.c Check for buffered handshake messages on cipher change in DTLS. 2016-07-16 08:25:02 +00:00
d1_lib.c Stop using the word 'buffer' everywhere. 2016-06-27 22:15:22 +00:00
d1_pkt.c Stop using the word 'buffer' everywhere. 2016-06-27 22:15:22 +00:00
d1_srtp.c Make kSRTPProfiles static. 2016-05-13 14:12:22 +00:00
dtls_method.c Check for buffered handshake messages on cipher change in DTLS. 2016-07-16 08:25:02 +00:00
dtls_record.c Fix the alias checks in dtls_record.c. 2016-06-09 21:11:22 +00:00
handshake_client.c Add TLS 1.3 1-RTT. 2016-07-18 09:54:46 +00:00
handshake_server.c Add TLS 1.3 1-RTT. 2016-07-18 09:54:46 +00:00
internal.h Add a ssl_hs_flush_and_read_message wait mode. 2016-07-19 08:01:47 +00:00
s3_both.c Implement TLS 1.3's downgrade signal. 2016-07-12 19:17:43 +00:00
s3_enc.c Don't call tls12_get_hash in the server handshake. 2016-07-12 16:30:10 +00:00
s3_lib.c Add TLS 1.3 1-RTT. 2016-07-18 09:54:46 +00:00
s3_pkt.c Add TLS 1.3 1-RTT. 2016-07-18 09:54:46 +00:00
ssl_aead_ctx.c Fixing iv_length for TLS 1.3. 2016-06-16 17:04:14 +00:00
ssl_asn1.c Disconnect handshake message creation from init_buf. 2016-06-27 22:15:01 +00:00
ssl_buffer.c Remove in-place TLS record assembly for now. 2016-06-09 19:47:44 +00:00
ssl_cert.c Moving ssl_check_leaf_certificate to ssl_cert. 2016-07-15 11:17:51 +00:00
ssl_cipher.c Forbid PSK ciphers in TLS 1.3 for now. 2016-07-13 16:49:46 +00:00
ssl_ecdh.c Add TLS 1.3 1-RTT. 2016-07-18 09:54:46 +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 Add TLS 1.3 1-RTT. 2016-07-18 09:54:46 +00:00
ssl_rsa.c Give SSL_PRIVATE_KEY_METHOD a message-based API. 2016-07-15 18:26:45 +00:00
ssl_session.c Split unlock functions into read/write variants. 2016-05-31 21:09:29 +00:00
ssl_stat.c Remove a/b parameters to send_change_cipher_spec. 2016-06-29 18:50:47 +00:00
ssl_test.cc Test SSL_get_peer_certificate and SSL_get_peer_cert_chain behavior. 2016-07-14 15:52:21 +00:00
t1_enc.c Add TLS 1.3 1-RTT. 2016-07-18 09:54:46 +00:00
t1_lib.c Implement OCSP stapling in TLS 1.3. 2016-07-18 10:05:30 +00:00
tls13_both.c Add a ssl_hs_flush_and_read_message wait mode. 2016-07-19 08:01:47 +00:00
tls13_client.c Add TLS 1.3 1-RTT. 2016-07-18 09:54:46 +00:00
tls13_enc.c Add TLS 1.3 1-RTT. 2016-07-18 09:54:46 +00:00
tls13_server.c Add a ssl_hs_flush_and_read_message wait mode. 2016-07-19 08:01:47 +00:00
tls_method.c Add TLS 1.3 1-RTT. 2016-07-18 09:54:46 +00:00
tls_record.c Check for buffered handshake messages on cipher change in DTLS. 2016-07-16 08:25:02 +00:00