xref: /linux/fs/crypto/Kconfig (revision 72251fac062c0b4fe98670ec9e3db3f0702c50ae)
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 KEYS
11	help
12	  Enable encryption of files and directories.  This
13	  feature is similar to ecryptfs, but it is more memory
14	  efficient since it avoids caching the encrypted and
15	  decrypted pages in the page cache.  Currently Ext4,
16	  F2FS and UBIFS make use of this feature.
17