mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
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>
18 lines
282 B
Plaintext
18 lines
282 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
config NVME_COMMON
|
|
tristate
|
|
|
|
config NVME_KEYRING
|
|
bool
|
|
select KEYS
|
|
|
|
config NVME_AUTH
|
|
bool
|
|
select CRYPTO
|
|
select CRYPTO_HMAC
|
|
select CRYPTO_SHA256
|
|
select CRYPTO_SHA512
|
|
select CRYPTO_DH
|
|
select CRYPTO_DH_RFC7919_GROUPS
|