summaryrefslogtreecommitdiff
path: root/drivers/md/Kconfig
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry_baryshkov@mentor.com>2020-04-20 16:46:59 +0300
committerMike Snitzer <snitzer@redhat.com>2020-05-15 10:29:34 -0400
commit27f5411a718c431c20007e3a2fbba6589942d04f (patch)
treeef2fa1b3b429a7351b4a102366a4f7cd80e0b273 /drivers/md/Kconfig
parent2ef96a5bb12be62ef75b5828c0aab838ebb29cb8 (diff)
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