diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-03-01 23:59:49 -0800 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-03-27 07:35:01 -0700 |
| commit | 0002764c2faa769cd41b45e95af3dd5e1777df9f (patch) | |
| tree | 80b49fe4278fe290e570d362f206312b28ded341 /tools/perf/scripts/python | |
| parent | be01b841d3dd667d873cbcd984d9839b7e98ef4f (diff) | |
nvme-auth: common: use crypto library in nvme_auth_generate_digest()
For the HMAC computation in nvme_auth_generate_digest(), 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
