openssl/test/ssl-tests
Matt Caswell 0f1e51ea11 Start using the key_share data to derive the PMS
The previous commits put in place the logic to exchange key_share data. We
now need to do something with that information. In <= TLSv1.2 the equivalent
of the key_share extension is the ServerKeyExchange and ClientKeyExchange
messages. With key_share those two messages are no longer necessary.

The commit removes the SKE and CKE messages from the TLSv1.3 state machine.
TLSv1.3 is completely different to TLSv1.2 in the messages that it sends
and the transitions that are allowed. Therefore, rather than extend the
existing <=TLS1.2 state transition functions, we create a whole new set for
TLSv1.3. Intially these are still based on the TLSv1.2 ones, but over time
they will be amended.

The new TLSv1.3 transitions remove SKE and CKE completely. There's also some
cleanup for some stuff which is not relevant to TLSv1.3 and is easy to
remove, e.g. the DTLS support (we're not doing DTLSv1.3 yet) and NPN.

I also disable EXTMS for TLSv1.3. Using it was causing some added
complexity, so rather than fix it I removed it, since eventually it will not
be needed anyway.

Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-11-16 10:09:46 +00:00
..
01-simple.conf
01-simple.conf.in
02-protocol-version.conf
02-protocol-version.conf.in
03-custom_verify.conf
03-custom_verify.conf.in
04-client_auth.conf
04-client_auth.conf.in
05-sni.conf
05-sni.conf.in
06-sni-ticket.conf
06-sni-ticket.conf.in
07-dtls-protocol-version.conf
07-dtls-protocol-version.conf.in
08-npn.conf Start using the key_share data to derive the PMS 2016-11-16 10:09:46 +00:00
08-npn.conf.in Start using the key_share data to derive the PMS 2016-11-16 10:09:46 +00:00
09-alpn.conf
09-alpn.conf.in
10-resumption.conf
10-resumption.conf.in
11-dtls_resumption.conf
11-dtls_resumption.conf.in
12-ct.conf
12-ct.conf.in
13-fragmentation.conf
13-fragmentation.conf.in
14-curves.conf
14-curves.conf.in
15-certstatus.conf
15-certstatus.conf.in
16-certstatus.conf
16-dtls-certstatus.conf
16-dtls-certstatus.conf.in
17-renegotiate.conf Add server side support for supported_versions extension 2016-11-09 16:03:08 +00:00
17-renegotiate.conf.in Add server side support for supported_versions extension 2016-11-09 16:03:08 +00:00
18-dtls-renegotiate.conf
18-dtls-renegotiate.conf.in
protocol_version.pm Look at the supported_versions extension even if the server <TLS1.3 2016-11-09 16:03:08 +00:00
ssltests_base.pm