You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The patch 'TLS PSK derivation fixes' was a bit too eager in adding
the 'length' field to the HKDF label.
The NVMe TCP spec defines
Retained PSK = HKDF-Expand-Label(PRK, “HostNQN”, NQNh, Length(Configured PSK))
which according to RFC 8446 translates to:
HKDF-Expand(PRK, HkdfLabel, Length(Configured PSK))
and
HkdfLabel {
(u16) Length(Configured PSK)
"tls13 HostNQN"
NQNh
}
The previous patch would tread both the 'label' and the 'context' field
as an HkdfLabel, which is wrong.
Signed-off-by: Hannes Reinecke <[email protected]>
0 commit comments