]> git.baikalelectronics.ru Git - kernel.git/commitdiff
nvmet-auth: select the intended CRYPTO_DH_RFC7919_GROUPS
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Wed, 20 Jul 2022 11:37:17 +0000 (13:37 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Aug 2022 23:22:51 +0000 (17:22 -0600)
Commit 71ebe3842ebe ("nvmet-auth: Diffie-Hellman key exchange support")
intends to select 'Support for RFC 7919 FFDHE group parameters' for using
FFDHE groups for NVMe In-Band Authentication.

It however selects CRYPTO_DH_GROUPS_RFC7919, instead of the intended
CRYPTO_DH_RFC7919_GROUPS; notice the swapping of words here.

Correct the select to the intended config option.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/target/Kconfig

index f0c91f7686a39f531eb085e009dcc128fe2c657a..79fc64035ee30f92d88bc826f43ba00f1a3e7ef7 100644 (file)
@@ -93,7 +93,7 @@ config NVME_TARGET_AUTH
        select CRYPTO_SHA256
        select CRYPTO_SHA512
        select CRYPTO_DH
-       select CRYPTO_DH_GROUPS_RFC7919
+       select CRYPTO_DH_RFC7919_GROUPS
        help
          This enables support for NVMe over Fabrics In-band Authentication