]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet-auth: Diffie-Hellman key exchange support
authorHannes Reinecke <hare@suse.de>
Mon, 27 Jun 2022 09:52:06 +0000 (11:52 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Aug 2022 23:14:50 +0000 (17:14 -0600)
commitcd18b086ddb1438cc47ef11410a0cddd7caa0938
treef73f4114c719970af9fb567ff051af7766d954e0
parentae0f7c067e31fa1580a5784ef9a6a552ed8d455a
nvmet-auth: Diffie-Hellman key exchange support

Implement Diffie-Hellman key exchange using FFDHE groups for NVMe
In-Band Authentication.
This patch adds a new host configfs attribute 'dhchap_dhgroup' to
select the FFDHE group to use.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/target/Kconfig
drivers/nvme/target/auth.c
drivers/nvme/target/configfs.c
drivers/nvme/target/fabrics-cmd-auth.c
drivers/nvme/target/nvmet.h