]> 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)
commit7a277c37d3522e9b2777d762bbbcecafae2b1f8d
treef73f4114c719970af9fb567ff051af7766d954e0
parentdb1312dd95488b5e6ff362ff66fcf953a46b1821
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