• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 CRYPTO_SHA512
11	select CRYPTO_HMAC
12	select KEYS
13	help
14	  Enable encryption of files and directories.  This
15	  feature is similar to ecryptfs, but it is more memory
16	  efficient since it avoids caching the encrypted and
17	  decrypted pages in the page cache.  Currently Ext4,
18	  F2FS and UBIFS make use of this feature.
19
20config FS_ENCRYPTION_INLINE_CRYPT
21	bool "Enable fscrypt to use inline crypto"
22	depends on FS_ENCRYPTION && BLK_INLINE_ENCRYPTION
23	help
24	  Enable fscrypt to use inline encryption hardware if available.
25