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>
# 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
# 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