Re: [PATCH 13/21] nvme-auth: host: use crypto library in nvme_auth_dhchap_setup_host_response()
From: Hannes Reinecke
Date: Tue Mar 03 2026 - 02:41:22 EST
On 3/2/26 08:59, Eric Biggers wrote:
For the HMAC computation in nvme_auth_dhchap_setup_host_response(), useReviewed-by: Hannes Reinecke <hare@xxxxxxx>
the crypto library instead of crypto_shash. This is simpler, faster,
and more reliable.
Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
---
drivers/nvme/host/auth.c | 59 ++++++++++++++--------------------------
1 file changed, 21 insertions(+), 38 deletions(-)
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@xxxxxxx +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich