[PATCH] nvme-auth: use crypto_shash_tfm_digest()

Keith Busch kbusch at kernel.org
Mon Oct 30 08:03:05 PDT 2023


On Sat, Oct 28, 2023 at 10:00:40PM -0700, Eric Biggers wrote:
> From: Eric Biggers <ebiggers at google.com>
> 
> Simplify nvme_auth_augmented_challenge() by using
> crypto_shash_tfm_digest() instead of an alloc+init+update+final
> sequence.  This should also improve performance.
> 
> Signed-off-by: Eric Biggers <ebiggers at google.com>

Thanks, applied to nvme-6.7.



More information about the Linux-nvme mailing list