summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/common/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nvme/common/Kconfig')
-rw-r--r--drivers/nvme/common/Kconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/nvme/common/Kconfig b/drivers/nvme/common/Kconfig
new file mode 100644
index 000000000..f1639db65
--- /dev/null
+++ b/drivers/nvme/common/Kconfig
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+config NVME_KEYRING
+ tristate
+ select KEYS
+
+config NVME_AUTH
+ tristate
+ select CRYPTO
+ select CRYPTO_DH
+ select CRYPTO_DH_RFC7919_GROUPS
+ select CRYPTO_LIB_SHA256
+ select CRYPTO_LIB_SHA512
+
+config NVME_AUTH_KUNIT_TEST
+ tristate "KUnit tests for NVMe authentication" if !KUNIT_ALL_TESTS
+ depends on KUNIT && NVME_AUTH
+ default KUNIT_ALL_TESTS
+ help
+ Enable KUnit tests for some of the common code for NVMe over Fabrics
+ In-Band Authentication.