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

Clarify the use of HKDF-Expand-Label. #1372

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
6 changes: 6 additions & 0 deletions draft-ietf-tls-rfc8446bis.md
Original file line number Diff line number Diff line change
Expand Up @@ -4319,6 +4319,12 @@ in some cases a zero-length Context (indicated by "") is passed to
HKDF-Expand-Label. The labels specified in this document are all
ASCII strings and do not include a trailing NUL byte.

Any extensions to TLS which use "HKDF-Expand-Label" use the
HkdfLabel definition associated with the version of TLS with which
they are being used. When used with this specification, that means
using HkdfLabel as defined above; when used with DTLS {{?RFC9147}} that
means using the version defined in {{RFC9147, Section 5.9}}.

Note: With common hash functions, any label longer than 12 characters
requires an additional iteration of the hash function to compute.
The labels in this specification have all been chosen to fit within
Expand Down