CHROMIUM: config: enable DM_CRYPT target
authorKees Cook <keescook@chromium.org>
Thu, 9 Feb 2012 00:53:31 +0000 (16:53 -0800)
committerGrant Grundler <grundler@google.com>
Thu, 24 May 2012 22:06:09 +0000 (15:06 -0700)
The dm "crypt" target is needed for encrypted /var support. Additionally, since the
expected hash alg will be sha256, built it in, and ready future support for sha512
as a module.

BUG=chromium-os:22172
TEST=build, boot amd64-generic, verify target listed in "dmsetup targets"

Signed-off-by: Kees Cook <keescook@chromium.org>
Change-Id: I0f2396fdf613de9acf9d905177ffc00c5af6224c
Reviewed-on: https://gerrit.chromium.org/gerrit/15548
Reviewed-by: Kees Cook <keescook@chromium.org>
Tested-by: Kees Cook <keescook@chromium.org>
Commit-Ready: Kees Cook <keescook@chromium.org>

chromeos/config/base.config

index c4e67ce..105a445 100644 (file)
@@ -276,8 +276,8 @@ CONFIG_CRYPTO_RNG2=y
 # CONFIG_CRYPTO_SEQIV is not set
 # CONFIG_CRYPTO_SERPENT is not set
 CONFIG_CRYPTO_SHA1=y
-CONFIG_CRYPTO_SHA256=m
-# CONFIG_CRYPTO_SHA512 is not set
+CONFIG_CRYPTO_SHA256=y
+CONFIG_CRYPTO_SHA512=m
 # CONFIG_CRYPTO_TEA is not set
 # CONFIG_CRYPTO_TEST is not set
 # CONFIG_CRYPTO_TGR192 is not set
@@ -351,7 +351,7 @@ CONFIG_DEVTMPFS_MOUNT=y
 # CONFIG_DMADEVICES is not set
 # CONFIG_DMA_API_DEBUG is not set
 CONFIG_DM_BHT=y
-# CONFIG_DM_CRYPT is not set
+CONFIG_DM_CRYPT=y
 # CONFIG_DM_DEBUG is not set
 # CONFIG_DM_DELAY is not set
 # CONFIG_DM_FLAKEY is not set