summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/parse_data_structs.py
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2025-10-14 16:17:58 -0700
committerSteve French <stfrench@microsoft.com>2025-11-30 21:11:43 -0600
commit924067ef183bd17f39d790752190f99982524598 (patch)
treef36caddfd69f17ed6895cbc6ff808a8623333aba /tools/lib/python/kdoc/parse_data_structs.py
parente009cb1e3093977c5b96a1c6697a7dc9332222d5 (diff)
ksmbd: Use HMAC-SHA256 library for message signing and key generation
Convert ksmbd_sign_smb2_pdu() and generate_key() to use the HMAC-SHA256 library instead of a "hmac(sha256)" crypto_shash. This is simpler and faster. With the library there's no need to allocate memory, no need to handle errors, and the HMAC-SHA256 code is accessed directly without inefficient indirect calls and other unnecessary API overhead. Signed-off-by: Eric Biggers <ebiggers@kernel.org> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions