fscrypto: remove unneeded Kconfig dependencies
authorEric Biggers <ebiggers@google.com>
Sat, 26 Nov 2016 20:06:43 +0000 (15:06 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 11 Dec 2016 21:26:07 +0000 (16:26 -0500)
SHA256 and ENCRYPTED_KEYS are not needed.  CTR shouldn't be needed
either, but I left it for now because it was intentionally added by
commit 71dea01ea2ed ("ext4 crypto: require CONFIG_CRYPTO_CTR if ext4
encryption is enabled").  So it sounds like there may be a dependency
problem elsewhere, which I have not been able to identify specifically,
that must be solved before CTR can be removed.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/crypto/Kconfig

index 92348fa..f514978 100644 (file)
@@ -8,9 +8,7 @@ config FS_ENCRYPTION
        select CRYPTO_XTS
        select CRYPTO_CTS
        select CRYPTO_CTR
-       select CRYPTO_SHA256
        select KEYS
-       select ENCRYPTED_KEYS
        help
          Enable encryption of files and directories.  This
          feature is similar to ecryptfs, but it is more memory