boringssl/ssl
Adam Langley 512a289a8a Add support for dummy PQ padding.
This extension will be used to measure the latency impact of potentially
sending a post-quantum key share by default. At this time it's purely
measuring the impact of the client sending the key share, not the server
replying with a ciphertext.

We could use the existing padding extension for this but that extension
doesn't allow the server to echo it, so we would need a different
extension in the future anyway. Thus we just create one now.

We can assume that modern clients will be using TLS 1.3 by the time that
PQ key-exchange is established and thus the key share will be sent in
all ClientHello messages. However, since TLS 1.3 isn't quite here yet,
this extension is also sent for TLS 1.0–1.2 ClientHellos. The latency
impact should be the same either way.

Change-Id: Ie4a17551f6589b28505797e8c54cddbe3338dfe5
Reviewed-on: https://boringssl-review.googlesource.com/24585
Commit-Queue: Adam Langley <agl@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
Reviewed-by: David Benjamin <davidben@google.com>
2018-01-10 00:27:31 +00:00
..
test Add support for dummy PQ padding. 2018-01-10 00:27:31 +00:00
bio_ssl.cc
CMakeLists.txt Rename all googletest CMake targets 2018-01-04 16:30:54 +00:00
custom_extensions.cc
d1_both.cc
d1_lib.cc
d1_pkt.cc
d1_srtp.cc
dtls_method.cc
dtls_record.cc Give DTLS1_STATE a destructor. 2017-10-25 03:23:26 +00:00
handshake_client.cc Add a draft TLS 1.3 anti-downgrade signal. 2017-12-21 01:50:33 +00:00
handshake_server.cc Add a draft TLS 1.3 anti-downgrade signal. 2017-12-21 01:50:33 +00:00
handshake.cc
internal.h Add support for dummy PQ padding. 2018-01-10 00:27:31 +00:00
s3_both.cc
s3_lib.cc Add a draft TLS 1.3 anti-downgrade signal. 2017-12-21 01:50:33 +00:00
s3_pkt.cc Remove deprecated TLS 1.3 variants. 2017-12-18 21:20:32 +00:00
span_test.cc Add bssl::SealRecord and bssl::OpenRecord. 2017-07-24 20:14:08 +00:00
ssl_aead_ctx.cc Remove deprecated TLS 1.3 variants. 2017-12-18 21:20:32 +00:00
ssl_asn1.cc Support high tag numbers in CBS/CBB. 2017-11-22 22:34:05 +00:00
ssl_buffer.cc
ssl_cert.cc
ssl_cipher.cc
ssl_file.cc
ssl_key_share.cc
ssl_lib.cc Add support for dummy PQ padding. 2018-01-10 00:27:31 +00:00
ssl_privkey.cc Unwind legacy SSL_PRIVATE_KEY_METHOD hooks. 2017-11-21 17:48:09 +00:00
ssl_session.cc
ssl_stat.cc
ssl_test.cc Update key share extension number for draft23. 2018-01-09 15:22:02 +00:00
ssl_transcript.cc
ssl_versions.cc Update key share extension number for draft23. 2018-01-09 15:22:02 +00:00
ssl_x509.cc Map NOT_YET_VALID errors to |certificate_expired|. 2018-01-05 23:40:40 +00:00
t1_enc.cc SSL_export_keying_material should work in half-RTT. 2017-12-18 16:53:13 +00:00
t1_lib.cc Add support for dummy PQ padding. 2018-01-10 00:27:31 +00:00
tls13_both.cc Add a draft TLS 1.3 anti-downgrade signal. 2017-12-21 01:50:33 +00:00
tls13_client.cc Update key share extension number for draft23. 2018-01-09 15:22:02 +00:00
tls13_enc.cc Remove deprecated TLS 1.3 variants. 2017-12-18 21:20:32 +00:00
tls13_server.cc Update key share extension number for draft23. 2018-01-09 15:22:02 +00:00
tls_method.cc
tls_record.cc Remove deprecated TLS 1.3 variants. 2017-12-18 21:20:32 +00:00