summaryrefslogtreecommitdiffstats
path: root/drivers/md/Kconfig
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry_baryshkov@mentor.com>2020-04-20 15:46:59 +0200
committerMike Snitzer <snitzer@redhat.com>2020-05-15 16:29:34 +0200
commit27f5411a718c431c20007e3a2fbba6589942d04f (patch)
treeef2fa1b3b429a7351b4a102366a4f7cd80e0b273 /drivers/md/Kconfig
parentLinux 5.7-rc5 (diff)
downloadlinux-27f5411a718c431c20007e3a2fbba6589942d04f.tar.xz
linux-27f5411a718c431c20007e3a2fbba6589942d04f.zip
dm crypt: support using encrypted keys
Allow one to use "encrypted" in addition to "user" and "logon" key types for device encryption. Signed-off-by: Dmitry Baryshkov <dmitry_baryshkov@mentor.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/Kconfig')
-rw-r--r--drivers/md/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig
index d6d5ab23c088..8b0c646d2f59 100644
--- a/drivers/md/Kconfig
+++ b/drivers/md/Kconfig
@@ -269,6 +269,7 @@ config DM_UNSTRIPED
config DM_CRYPT
tristate "Crypt target support"
depends on BLK_DEV_DM
+ depends on (ENCRYPTED_KEYS || ENCRYPTED_KEYS=n)
select CRYPTO
select CRYPTO_CBC
select CRYPTO_ESSIV