Skip to content

Commit

Permalink
remove redundancy
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuho committed Jun 14, 2019
1 parent d3a809c commit 557c663
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions draft-ietf-quic-tls.md
Expand Up @@ -1165,14 +1165,12 @@ another key update can be initiated.
Endpoints MAY limit the number of keys they retain to two sets for removing
packet protection.

An endpoint installs the new keys, possibly replacing the old keys, when it
unprotects the header protection of a received packet and detects that the
packet uses a new key phase. The detection can be done by tracking the lowest
packet number among the packets received with the currently active key phase.
If a packet is received that has a different KEY_PHASE bit and a lower packet
number than this value, the endpoint uses the old keys for unprotecting the
packet, if these keys are still available. If the packet has a higher packet
number, the endpoint installs the updated keys.
An endpoint can detect which keys to use by tracking the lowest packet number
among the packets received with the currently active key phase. If a packet is
received that has a different KEY_PHASE bit and a lower packet number than this
value, the endpoint uses the old keys for unprotecting the packet, if these keys
are still available. If the packet has a higher packet number, the endpoint
installs the updated keys.

Updating keys multiple times rapidly can cause packets to be effectively lost if
packets are significantly reordered. Therefore, an endpoint SHOULD NOT initiate
Expand Down

0 comments on commit 557c663

Please sign in to comment.