Files
linux/drivers
Sagi Grimberg 1f116dfd11 nvme-auth: don't override ctrl keys before validation
[ Upstream commit 01604350e1 ]

Replace ctrl ctrl_key/host_key only after nvme_auth_generate_key is successful.
Also, this fixes a bug where the keys are leaked.

Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:33:02 +01:00
..
2022-12-31 13:32:02 +01:00
2022-11-04 16:03:43 -07:00
2022-09-21 20:33:49 +02:00
2022-12-31 13:32:09 +01:00