diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2025-10-15 02:17:58 +0300 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2025-12-01 06:11:43 +0300 |
| commit | 924067ef183bd17f39d790752190f99982524598 (patch) | |
| tree | f36caddfd69f17ed6895cbc6ff808a8623333aba /tools/perf/scripts/python/stackcollapse.py | |
| parent | e009cb1e3093977c5b96a1c6697a7dc9332222d5 (diff) | |
| download | linux-924067ef183bd17f39d790752190f99982524598.tar.xz | |
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/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
