Skip to content

Commit

Permalink
Merge pull request #305 from GaPhil/master
Browse files Browse the repository at this point in the history
Update HKDFLabel variable to match naming conventions
  • Loading branch information
bifurcation committed Feb 12, 2020
2 parents 9128dc8 + 9044398 commit ac53a7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions draft-ietf-mls-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -1301,16 +1301,16 @@ defined below:

~~~~~
HKDF-Expand-Label(Secret, Label, Context, Length) =
HKDF-Expand(Secret, HkdfLabel, Length)
HKDF-Expand(Secret, HKDFLabel, Length)

Where HkdfLabel is specified as:
Where HKDFLabel is specified as:

struct {
opaque group_context<0..255> = Hash(GroupContext_[n]);
uint16 length = Length;
opaque label<7..255> = "mls10 " + Label;
opaque context<0..2^32-1> = Context;
} HkdfLabel;
} HKDFLabel;

Derive-Secret(Secret, Label) =
HKDF-Expand-Label(Secret, Label, "", Hash.length)
Expand Down

0 comments on commit ac53a7d

Please sign in to comment.