diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-03-02 10:59:46 +0300 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-03-27 17:35:01 +0300 |
| commit | 092c05f8de3d2f83242d70f6f044f339b8ba5df1 (patch) | |
| tree | 422c10dec7ee5e6d6491a6d1f1fba5a64ee48f0a /include | |
| parent | 4263ca1cae5cebc09ba95375c4a8927bf4b39d49 (diff) | |
| download | linux-092c05f8de3d2f83242d70f6f044f339b8ba5df1.tar.xz | |
nvme-auth: common: use crypto library in nvme_auth_transform_key()
For the HMAC computation in nvme_auth_transform_key(), use the crypto
library instead of crypto_shash. This is simpler, faster, and more
reliable. Notably, this eliminates the 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 'include')
0 files changed, 0 insertions, 0 deletions
