Skip to content

Commit

Permalink
Make the order of operations clearer.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinthomson committed Feb 7, 2018
1 parent 737c4ee commit 894e0fe
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions draft-ietf-quic-transport.md
Original file line number Diff line number Diff line change
Expand Up @@ -725,10 +725,13 @@ Reset ({{stateless-reset}}) in response to further packets that it receives.

For the packet header, the number of bits required to represent the packet
number are reduced by including only the least significant bits of the packet
number. The encoded packet number is protected as described in {{QUIC-TLS}}.
Protection of the packet number is removed prior to recovering the full packet
number. The full packet number is reconstructed at the receiver based on the
largest packet number received on a successfully authenticated packet.
number.

The encoded packet number is protected as described in {{QUIC-TLS}}. Protection
of the packet number is removed prior to recovering the full packet number. The
full packet number is reconstructed at the receiver based on the largest packet
number received on a successfully authenticated packet. Recovering the full
packet number is necessary to successfully remove packet protection.

Once packet number protection is removed, the packet number is decoded by
finding the packet number value that is closest to the next expected packet.
Expand Down

0 comments on commit 894e0fe

Please sign in to comment.