diff options
author | Chris Leech <cleech@redhat.com> | 2025-08-21 13:48:16 -0700 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2025-09-15 16:42:07 -0700 |
commit | c5931d590e793c0291c0ba9fd1247567786612ea (patch) | |
tree | a5c01100f716a02944eeca46b81b0d2721bcdb52 /tools/testing/selftests/net/lib/py/netns.py | |
parent | 1cab50da62aa810e532396fcaeb96cf9c3fdf87a (diff) |
nvme-auth: use hkdf_expand_label()
When generating keying material during an authentication transaction
(secure channel concatenation), the HKDF-Expand-Label function is part
of the specified key derivation process.
The current open-coded implementation misses the length prefix
requirements on the HkdfLabel label and context variable-length vectors
(RFC 8446 Section 3.4).
Instead, use the hkdf_expand_label() function.
Signed-off-by: Chris Leech <cleech@redhat.com>
Signed-off-by: Hannes Reinecke <hare@kernel.org>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/netns.py')
0 files changed, 0 insertions, 0 deletions