Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak TLS API #1512

Merged
merged 1 commit into from
Jul 30, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions draft-ietf-quic-tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -440,10 +440,10 @@ Important:

### Encryption Level Changes

At each change of encryption level in either direction, TLS signals QUIC,
providing the new level and the encryption keys. These events are not
asynchronous, they always occur immediately after TLS is provided with new
handshake octets, or after TLS produces handshake octets.
At each change of encryption level in either direction, TLS provides QUIC with
the new level and the encryption keys. These events are not asynchronous, they
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be a semicolon instead of a comma?

always occur immediately after TLS is provided with new handshake octets, or
after TLS produces handshake octets.

If 0-RTT is possible, it is ready after the client sends a TLS ClientHello
message or the server receives that message. After providing a QUIC client with
Expand All @@ -469,25 +469,27 @@ transmission.
Client Server

Get Handshake
Initial ------------>
Initial ------------->
Rekey tx to 0-RTT Keys
0-RTT -------------->
0-RTT --------------->
Handshake Received
Get Handshake
<------------ Initial
<------------- Initial
Rekey rx to 0-RTT keys
Handshake Received
Rekey rx to Handshake keys
Get Handshake
<----------- Handshake
Rekey tx to 1-RTT keys
<--------------- 1-RTT
Handshake Received
Rekey rx to Handshake keys
Handshake Received
Get Handshake
Handshake Complete
Handshake ----------->
Rekey tx to 1-RTT keys
Handshake ---------->
1-RTT --------------->
Handshake Received
Rekey rx to 1-RTT keys
Get Handshake
Expand Down