summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/Kconfig
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2023-10-12 14:22:48 +0200
committerKeith Busch <kbusch@kernel.org>2023-10-12 08:04:49 -0700
commitd680063482885c15d68e958212c3d6ad40a510dd (patch)
tree781ff707b7f2ba5d59f396276bab1ae410d786cd /drivers/nvme/host/Kconfig
parent70525e5d82f62407d8436aa2a6c3385829ab5a3e (diff)
downloadlinux-d680063482885c15d68e958212c3d6ad40a510dd.tar.gz
linux-d680063482885c15d68e958212c3d6ad40a510dd.tar.bz2
linux-d680063482885c15d68e958212c3d6ad40a510dd.zip
nvme: rework NVME_AUTH Kconfig selection
Having a single Kconfig symbol NVME_AUTH conflates the selection of the authentication functions from nvme/common and nvme/host, causing kbuild robot to complain when building the nvme target only. So introduce a Kconfig symbol NVME_HOST_AUTH for the nvme host bits and use NVME_AUTH for the common functions only. And move the CRYPTO selection into nvme/common to make it easier to read. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202310120733.TlPOVeJm-lkp@intel.com/ Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers/nvme/host/Kconfig')
-rw-r--r--drivers/nvme/host/Kconfig9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/nvme/host/Kconfig b/drivers/nvme/host/Kconfig
index a517030d7d50..48f7d72de5e9 100644
--- a/drivers/nvme/host/Kconfig
+++ b/drivers/nvme/host/Kconfig
@@ -107,16 +107,11 @@ config NVME_TCP_TLS
If unsure, say N.
-config NVME_AUTH
+config NVME_HOST_AUTH
bool "NVM Express over Fabrics In-Band Authentication"
depends on NVME_CORE
select NVME_COMMON
- select CRYPTO
- select CRYPTO_HMAC
- select CRYPTO_SHA256
- select CRYPTO_SHA512
- select CRYPTO_DH
- select CRYPTO_DH_RFC7919_GROUPS
+ select NVME_AUTH
help
This provides support for NVMe over Fabrics In-Band Authentication.