boringssl/ssl/test/runner
David Benjamin cd24a39f1b Limit DHE groups to 4096-bit.
dh.c had a 10k-bit limit but it wasn't quite correctly enforced. However,
that's still 1.12s of jank on the IO thread, which is too long. Since the SSL
code consumes DHE groups from the network, it should be responsible for
enforcing what sanity it needs on them.

Costs of various bit lengths on 2013 Macbook Air:
1024 - 1.4ms
2048 - 14ms
3072 - 24ms
4096 - 55ms
5000 - 160ms
10000 - 1.12s

UMA says that DHE groups are 0.2% 4096-bit and otherwise are 5.5% 2048-bit and
94% 1024-bit and some noise. Set the limit to 4096-bit to be conservative,
although that's already quite a lot of jank.

BUG=554295

Change-Id: I8e167748a67e4e1adfb62d73dfff094abfa7d215
Reviewed-on: https://boringssl-review.googlesource.com/6464
Reviewed-by: Adam Langley <agl@google.com>
2015-11-11 22:18:39 +00:00
..
alert.go Make the runner tests a go “test” 2015-09-30 17:10:45 +00:00
cert.pem Inital import. 2014-06-20 13:17:32 -07:00
chacha20_poly1305_test.go Make the runner tests a go “test” 2015-09-30 17:10:45 +00:00
chacha20_poly1305.go Make the runner tests a go “test” 2015-09-30 17:10:45 +00:00
channel_id_key.pem Add basic TLS Channel ID tests. 2014-08-26 17:40:36 +00:00
cipher_suites.go Make the runner tests a go “test” 2015-09-30 17:10:45 +00:00
common.go Add ssl_renegotiate_ignore. 2015-11-03 21:58:13 +00:00
conn.go Add ssl_renegotiate_ignore. 2015-11-03 21:58:13 +00:00
dtls.go Fix DTLS asynchronous write handling. 2015-11-02 23:16:22 +00:00
ecdsa_cert.pem Inital import. 2014-06-20 13:17:32 -07:00
ecdsa_key.pem Inital import. 2014-06-20 13:17:32 -07:00
handshake_client.go Ignore all extensions but renegotiation_info in SSL 3.0. 2015-10-11 20:47:19 +00:00
handshake_messages.go Make the runner tests a go “test” 2015-09-30 17:10:45 +00:00
handshake_server.go Test that the client doesn't offer TLS 1.2 ciphers when it shouldn't. 2015-11-06 19:18:24 +00:00
key_agreement.go Make the runner tests a go “test” 2015-09-30 17:10:45 +00:00
key.pem Inital import. 2014-06-20 13:17:32 -07:00
packet_adapter.go Make recordingconn emit more useful things for DTLS. 2015-11-02 23:01:01 +00:00
poly1305.go Make the runner tests a go “test” 2015-09-30 17:10:45 +00:00
prf.go Make the runner tests a go “test” 2015-09-30 17:10:45 +00:00
recordingconn.go Make recordingconn emit more useful things for DTLS. 2015-11-02 23:01:01 +00:00
runner_test.go Make the runner tests a go “test” 2015-09-30 17:10:45 +00:00
runner.go Limit DHE groups to 4096-bit. 2015-11-11 22:18:39 +00:00
test_output.go Make the runner tests a go “test” 2015-09-30 17:10:45 +00:00
ticket.go Make the runner tests a go “test” 2015-09-30 17:10:45 +00:00
tls.go Make the runner tests a go “test” 2015-09-30 17:10:45 +00:00