xref: /linux/fs/crypto/Kconfig (revision 8a79db5e83a5d52c74e6f3c40d6f312cf899213e)
1# SPDX-License-Identifier: GPL-2.0-only
2config FS_ENCRYPTION
3	bool "FS Encryption (Per-file encryption)"
4	select CRYPTO
5	select CRYPTO_AES
6	select CRYPTO_CBC
7	select CRYPTO_ECB
8	select CRYPTO_XTS
9	select CRYPTO_CTS
10	select CRYPTO_SHA512
11	select CRYPTO_HMAC
12	select KEYS
13	help
14	  Enable encryption of files and directories.  This
15	  feature is similar to ecryptfs, but it is more memory
16	  efficient since it avoids caching the encrypted and
17	  decrypted pages in the page cache.  Currently Ext4,
18	  F2FS and UBIFS make use of this feature.
19