xref: /linux/fs/crypto/Kconfig (revision bef4d2037d2143a4df6430bbe1e970fc7e616f6c)
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