Skip to content

Commit

Permalink
Merge pull request #162 from chris-wood/patch-2
Browse files Browse the repository at this point in the history
Clarify that header byte is (length-1)
  • Loading branch information
bifurcation authored Nov 16, 2023
2 parents 105a2d6 + 9a6baba commit 7e3540b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions draft-ietf-sframe-enc.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,14 +301,14 @@ Extended Key Id Flag (X, 1 bit):

Key or Key Length (K, 3 bits):
: This field contains the key id (KID) if the X flag is set to 0, or the key id
length if set to 1.
length, minus one, if set to 1.

Extended Counter Flag (Y, 1 bit):
: Indicates if the C field contains the counter or the counter length.

Counter or Counter Length (C, 3 bits):
: This field contains the counter (CTR) if the Y flag is set to 0, or the counter
length if set to 1.
length, minus one, if set to 1.

The Key ID and Counter fields are encoded as compact unsigned integers in
network (big-endian) byte order. If the value of one of these fields is in the
Expand Down

0 comments on commit 7e3540b

Please sign in to comment.