[PATCH] nvme-auth: use crypto_shash_tfm_digest()
Sagi Grimberg
sagi at grimberg.me
Mon Nov 20 05:51:48 PST 2023
>> 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.
>
> Nice:
>
> Reviewed-by: Christoph Hellwig <hch at lst.de>
Indeed. fwiw:
Reviewed-by: Sagi Grimberg <sagi at grimberg.me>
More information about the Linux-nvme
mailing list