xref: /linux/fs/crypto/Kconfig (revision ec8f24b7faaf3d4799a7c3f4c1b87f6b02778ad1)
1*ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
20b81d077SJaegeuk Kimconfig FS_ENCRYPTION
3643fa961SChandan Rajendra	bool "FS Encryption (Per-file encryption)"
40b81d077SJaegeuk Kim	select CRYPTO
50b81d077SJaegeuk Kim	select CRYPTO_AES
60b81d077SJaegeuk Kim	select CRYPTO_CBC
70b81d077SJaegeuk Kim	select CRYPTO_ECB
80b81d077SJaegeuk Kim	select CRYPTO_XTS
90b81d077SJaegeuk Kim	select CRYPTO_CTS
10b7e7cf7aSDaniel Walter	select CRYPTO_SHA256
110b81d077SJaegeuk Kim	select KEYS
120b81d077SJaegeuk Kim	help
130b81d077SJaegeuk Kim	  Enable encryption of files and directories.  This
140b81d077SJaegeuk Kim	  feature is similar to ecryptfs, but it is more memory
150b81d077SJaegeuk Kim	  efficient since it avoids caching the encrypted and
16643fa961SChandan Rajendra	  decrypted pages in the page cache.  Currently Ext4,
17643fa961SChandan Rajendra	  F2FS and UBIFS make use of this feature.
18