diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-03-02 10:59:55 +0300 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-03-27 17:35:02 +0300 |
| commit | e501533f671f6576c032fa40376e413cba4bfb25 (patch) | |
| tree | 71c680bf836179c3d966cc6ac823435d96e484e4 /include/linux/console_struct.h | |
| parent | efe8df9f9ce12903244e42038346de6afec473de (diff) | |
| download | linux-e501533f671f6576c032fa40376e413cba4bfb25.tar.xz | |
nvme-auth: target: use crypto library in nvmet_auth_host_hash()
For the HMAC computation in nvmet_auth_host_hash(), 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 'include/linux/console_struct.h')
0 files changed, 0 insertions, 0 deletions
