fscrypto: remove unneeded Kconfig dependencies

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 71dea01ea2 ("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>
This commit is contained in:
Eric Biggers 2016-11-26 15:06:43 -05:00 committed by Theodore Ts'o
parent c1b2212990
commit 8048123576

View File

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