+25
−69
Loading
For the HMAC computation in nvmet_auth_ctrl_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>