diff options
author | Hannes Reinecke <hare@suse.de> | 2022-06-27 11:52:06 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-08-02 17:14:50 -0600 |
commit | 7a277c37d3522e9b2777d762bbbcecafae2b1f8d (patch) | |
tree | f73f4114c719970af9fb567ff051af7766d954e0 /drivers/nvme/target/Kconfig | |
parent | db1312dd95488b5e6ff362ff66fcf953a46b1821 (diff) |
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>
Diffstat (limited to 'drivers/nvme/target/Kconfig')
-rw-r--r-- | drivers/nvme/target/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nvme/target/Kconfig b/drivers/nvme/target/Kconfig index df526b59b509..f0c91f7686a3 100644 --- a/drivers/nvme/target/Kconfig +++ b/drivers/nvme/target/Kconfig @@ -92,6 +92,8 @@ config NVME_TARGET_AUTH select CRYPTO_HMAC select CRYPTO_SHA256 select CRYPTO_SHA512 + select CRYPTO_DH + select CRYPTO_DH_GROUPS_RFC7919 help This enables support for NVMe over Fabrics In-band Authentication |