1 # SPDX-License-Identifier: GPL-2.0-only
3 bool "FS Encryption (Per-file encryption)"
7 select CRYPTO_LIB_SHA256
10 Enable encryption of files and directories. This
11 feature is similar to ecryptfs, but it is more memory
12 efficient since it avoids caching the encrypted and
13 decrypted pages in the page cache. Currently Ext4,
14 F2FS and UBIFS make use of this feature.
16 # Filesystems supporting encryption must select this if FS_ENCRYPTION. This
17 # allows the algorithms to be built as modules when all the filesystems are.
18 config FS_ENCRYPTION_ALGS
28 config FS_ENCRYPTION_INLINE_CRYPT
29 bool "Enable fscrypt to use inline crypto"
30 depends on FS_ENCRYPTION && BLK_INLINE_ENCRYPTION
32 Enable fscrypt to use inline encryption hardware if available.