diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-03-01 23:59:48 -0800 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-03-27 07:35:01 -0700 |
| commit | be01b841d3dd667d873cbcd984d9839b7e98ef4f (patch) | |
| tree | ee0d7769995558aed90179299b4526c62f1f5ed5 /tools/perf/scripts/python | |
| parent | a67d096fe9761e3e503f40643228bca6d69c7c4e (diff) | |
nvme-auth: common: use crypto library in nvme_auth_generate_psk()
For the HMAC computation in nvme_auth_generate_psk(), use the crypto
library instead of crypto_shash. This is simpler, faster, and more
reliable. Notably, this eliminates the crypto transformation object
allocation for every call, which was very slow.
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
