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