[PATCH 0/2] nvme-auth: use SHASH_DESC_ON_STACK

Hannes Reinecke hare at kernel.org
Wed May 7 01:28:16 PDT 2025


From: Hannes Reinecke <hare at suse.de>

Hi all,

we should be using SHASH_DESC_ON_STACK in the
nvme authentication code to save some memory allocations.

Hannes Reinecke (2):
  nvme-auth: use SHASH_DESC_ON_STACK
  nvmet-auth: use SHASH_DESC_ON_STACK

 drivers/nvme/common/auth.c | 15 ++-------------
 drivers/nvme/target/auth.c | 12 ++----------
 2 files changed, 4 insertions(+), 23 deletions(-)

-- 
2.35.3




More information about the Linux-nvme mailing list