boringssl/ssl/test/runner
David Benjamin e7c95d91f8 Run TLS 1.3 tests at all variants and fix bugs.
We were only running a random subset of TLS 1.3 tests with variants and
let a lot of bugs through as a result.

- HelloRetryRequest-EmptyCookie wasn't actually testing what we were
  trying to test.

- The second HelloRetryRequest detection needs tweaks in draft-22.

- The empty HelloRetryRequest logic can't be based on non-empty
  extensions in draft-22.

- We weren't sending ChangeCipherSpec correctly in HRR or testing it
  right.

- Rework how runner reads ChangeCipherSpec by setting a flag which
  affects the next readRecord. This cuts down a lot of cases and works
  correctly if the client didn't send early data. (In that case, we
  don't flush CCS until EndOfEarlyData and runner deadlocks waiting for
  the ChangeCipherSpec to arrive.)

Change-Id: I559c96ea3a8b350067e391941231713c6edb2f78
Reviewed-on: https://boringssl-review.googlesource.com/23125
Reviewed-by: Steven Valdez <svaldez@chromium.org>
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>
2017-11-20 18:19:18 +00:00
..
curve25519 Sync vendored copies of Go poly1305 and curve25519. 2017-03-30 20:04:23 +00:00
ed25519 Support Ed25519 keys in BoGo. 2017-04-05 23:21:30 +00:00
poly1305 Sync vendored copies of Go poly1305 and curve25519. 2017-03-30 20:04:23 +00:00
alert.go
cert.pem
chacha20_poly1305_test.go
chacha20_poly1305.go
channel_id_key.pem
cipher_suites.go Remove RC4 remnants in runner. 2017-11-01 16:45:36 +00:00
common.go Add tests for post-handshake CCS in draft "22". 2017-11-14 05:40:38 +00:00
conn.go Run TLS 1.3 tests at all variants and fix bugs. 2017-11-20 18:19:18 +00:00
deterministic.go
dtls.go Test DTLS record/packet packing more aggressively. 2017-10-13 17:32:55 +00:00
ecdsa_p224_cert.pem Support P-224 certificates as a server. 2017-02-27 21:27:39 +00:00
ecdsa_p224_key.pem Support P-224 certificates as a server. 2017-02-27 21:27:39 +00:00
ecdsa_p256_cert.pem
ecdsa_p256_key.pem
ecdsa_p384_cert.pem
ecdsa_p384_key.pem
ecdsa_p521_cert.pem
ecdsa_p521_key.pem
ed25519_cert.pem Support Ed25519 in TLS. 2017-04-06 15:30:17 +00:00
ed25519_key.pem Support Ed25519 in TLS. 2017-04-06 15:30:17 +00:00
fuzzer_mode.json Fix fuzzer mode suppressions. 2017-09-12 19:32:14 +00:00
handshake_client.go Run TLS 1.3 tests at all variants and fix bugs. 2017-11-20 18:19:18 +00:00
handshake_messages.go Run TLS 1.3 tests at all variants and fix bugs. 2017-11-20 18:19:18 +00:00
handshake_server.go Run TLS 1.3 tests at all variants and fix bugs. 2017-11-20 18:19:18 +00:00
hkdf_test.go
hkdf.go
key_agreement.go Test RSA premaster unpad better. 2017-10-13 18:22:58 +00:00
key.pem
packet_adapter.go
prf.go Adding support for draft 21 as a TLS 1.3 variant. 2017-11-01 21:32:36 +00:00
recordingconn.go Add DTLS fuzzers. 2017-09-07 22:26:50 +00:00
rsa_1024_cert.pem
rsa_1024_key.pem
rsa_chain_cert.pem
rsa_chain_key.pem
runner_test.go
runner.go Run TLS 1.3 tests at all variants and fix bugs. 2017-11-20 18:19:18 +00:00
shim_ticket.go
sign.go Support Ed25519 in TLS. 2017-04-06 15:30:17 +00:00
test_output.go
ticket.go Add Data-less Zero-RTT support. 2017-03-25 21:00:18 +00:00
tls.go Support Ed25519 keys in BoGo. 2017-04-05 23:21:30 +00:00