blob: 0701bb90f99c3422547fcb7baf79bf5fd4edca10 [file] [log] [blame]
xjb04a4022021-11-25 15:01:52 +08001config FS_ENCRYPTION
2 bool "FS Encryption (Per-file encryption)"
3 select CRYPTO
4 select CRYPTO_AES
5 select CRYPTO_CBC
6 select CRYPTO_ECB
7 select CRYPTO_XTS
8 select CRYPTO_CTS
9 select CRYPTO_SHA512
10 select CRYPTO_HMAC
11 select KEYS
12 help
13 Enable encryption of files and directories. This
14 feature is similar to ecryptfs, but it is more memory
15 efficient since it avoids caching the encrypted and
16 decrypted pages in the page cache. Currently Ext4,
17 F2FS and UBIFS make use of this feature.
18
19config FS_ENCRYPTION_INLINE_CRYPT
20 bool "Enable fscrypt to use inline crypto"
21 depends on FS_ENCRYPTION && BLK_INLINE_ENCRYPTION
22 help
23 Enable fscrypt to use inline encryption hardware if available.