summaryrefslogtreecommitdiffstats
path: root/drivers/md/Kconfig
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2019-08-19 16:17:37 +0200
committerMike Snitzer <snitzer@redhat.com>2019-09-03 22:45:54 +0200
commita1a262b66e5554974b56b1dcacb3f0aec9b273a1 (patch)
tree5d6b20e5d0959d4aee220068c08940347bd5ec17 /drivers/md/Kconfig
parentcrypto: essiv - create wrapper template for ESSIV generation (diff)
downloadlinux-a1a262b66e5554974b56b1dcacb3f0aec9b273a1.tar.xz
linux-a1a262b66e5554974b56b1dcacb3f0aec9b273a1.zip
dm crypt: switch to ESSIV crypto API template
Replace the explicit ESSIV handling in the dm-crypt driver with calls into the crypto API, which now possesses the capability to perform this processing within the crypto subsystem. Note that we reorder the AEAD cipher_api string parsing with the TFM instantiation: this is needed because cipher_api is mangled by the ESSIV handling, and throws off the parsing of "authenc(" otherwise. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Tested-by: Milan Broz <gmazyland@gmail.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 1856c0fb665d..9b82d74fe2e5 100644
--- a/drivers/md/Kconfig
+++ b/drivers/md/Kconfig
@@ -271,6 +271,7 @@ config DM_CRYPT
depends on BLK_DEV_DM
select CRYPTO
select CRYPTO_CBC
+ select CRYPTO_ESSIV
---help---
This device-mapper target allows you to create a device that
transparently encrypts the data on it. You'll need to activate