Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nvmet-auth: select the intended CRYPTO_DH_RFC7919_GROUPS

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>

authored by

Lukas Bulwahn and committed by
Jens Axboe
4cf42ec3 be2ada6d

+1 -1
+1 -1
drivers/nvme/target/Kconfig
··· 93 93 select CRYPTO_SHA256 94 94 select CRYPTO_SHA512 95 95 select CRYPTO_DH 96 - select CRYPTO_DH_GROUPS_RFC7919 96 + select CRYPTO_DH_RFC7919_GROUPS 97 97 help 98 98 This enables support for NVMe over Fabrics In-band Authentication 99 99