boringssl/ssl
David Benjamin 31aad2dc2c Make low-level record errors idempotent.
Enough were to make record processing idempotent (we either consume a
record or we don't), but some errors would cause us to keep processing
records when we should get stuck.

This leaves errors in the layer between the record bits and the
handshake. I'm hoping that will be easier to resolve once they do not
depend on BIO, at which point the checks added in this CL may move
around.

Bug: 206
Change-Id: I6b177079388820335e25947c5bd736451780ab8f
Reviewed-on: https://boringssl-review.googlesource.com/21366
Commit-Queue: Steven Valdez <svaldez@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
Reviewed-by: Steven Valdez <svaldez@google.com>
2017-10-17 16:05:41 +00:00
..
test Always process handshake records in full. 2017-10-17 14:53:11 +00:00
bio_ssl.cc Switch a number of files to C++. 2017-07-12 20:54:02 +00:00
CMakeLists.txt Migrate TLS 1.2 and below state machines to the new style. 2017-08-29 19:23:22 +00:00
custom_extensions.cc Rename ssl3_send_alert and ssl3_protocol_version. 2017-10-12 16:24:35 +00:00
d1_both.cc Always process handshake records in full. 2017-10-17 14:53:11 +00:00
d1_lib.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
d1_pkt.cc Push read_shutdown logic down a layer. 2017-10-17 15:39:51 +00:00
d1_srtp.cc Clear a goto in d1_srtp.cc. 2017-09-22 15:15:48 +00:00
dtls_method.cc Always process handshake records in full. 2017-10-17 14:53:11 +00:00
dtls_record.cc Make low-level record errors idempotent. 2017-10-17 16:05:41 +00:00
handshake_client.cc Have a bit more fun with Span. 2017-10-12 19:01:34 +00:00
handshake_server.cc Have a bit more fun with Span. 2017-10-12 19:01:34 +00:00
handshake.cc Have a bit more fun with Span. 2017-10-12 19:01:34 +00:00
internal.h Make low-level record errors idempotent. 2017-10-17 16:05:41 +00:00
s3_both.cc Always process handshake records in full. 2017-10-17 14:53:11 +00:00
s3_lib.cc Make low-level record errors idempotent. 2017-10-17 16:05:41 +00:00
s3_pkt.cc Make low-level record errors idempotent. 2017-10-17 16:05:41 +00:00
span_test.cc Add bssl::SealRecord and bssl::OpenRecord. 2017-07-24 20:14:08 +00:00
ssl_aead_ctx.cc Push Span down a layer. 2017-10-10 14:27:58 +00:00
ssl_asn1.cc Make SNI per-connection, not per-session. 2017-09-06 20:25:26 +00:00
ssl_buffer.cc Push Span down a layer. 2017-10-10 14:27:58 +00:00
ssl_cert.cc Rename ssl3_send_alert and ssl3_protocol_version. 2017-10-12 16:24:35 +00:00
ssl_cipher.cc Switch int to bool in ssl_cipher.cc. 2017-10-02 20:41:20 +00:00
ssl_file.cc Switch OPENSSL_VERSION_NUMBER to 1.1.0. 2017-09-29 04:51:27 +00:00
ssl_key_share.cc Use constexpr to avoid kNamedGroups initializer 2017-10-10 21:01:59 +00:00
ssl_lib.cc Make low-level record errors idempotent. 2017-10-17 16:05:41 +00:00
ssl_privkey.cc Have a bit more fun with Span. 2017-10-12 19:01:34 +00:00
ssl_session.cc Rename ssl3_send_alert and ssl3_protocol_version. 2017-10-12 16:24:35 +00:00
ssl_stat.cc Migrate TLS 1.2 and below state machines to the new style. 2017-08-29 19:23:22 +00:00
ssl_test.cc Make low-level record errors idempotent. 2017-10-17 16:05:41 +00:00
ssl_transcript.cc Always process handshake records in full. 2017-10-17 14:53:11 +00:00
ssl_versions.cc Rename ssl3_send_alert and ssl3_protocol_version. 2017-10-12 16:24:35 +00:00
ssl_x509.cc Have fun with lock scopers. 2017-09-28 17:49:37 +00:00
t1_enc.cc Rename ssl3_send_alert and ssl3_protocol_version. 2017-10-12 16:24:35 +00:00
t1_lib.cc Fix uninitialized warning. 2017-10-16 19:09:02 +00:00
tls13_both.cc Have a bit more fun with Span. 2017-10-12 19:01:34 +00:00
tls13_client.cc Rename ssl3_send_alert and ssl3_protocol_version. 2017-10-12 16:24:35 +00:00
tls13_enc.cc Have a bit more fun with Span. 2017-10-12 19:01:34 +00:00
tls13_server.cc Have a bit more fun with Span. 2017-10-12 19:01:34 +00:00
tls_method.cc Always process handshake records in full. 2017-10-17 14:53:11 +00:00
tls_record.cc Make low-level record errors idempotent. 2017-10-17 16:05:41 +00:00