Kconfig (8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17) Kconfig (c1f1f5bf413936a93fea0f920e9aafff3551ad56)
1# SPDX-License-Identifier: GPL-2.0-only
2config FS_ENCRYPTION
3 bool "FS Encryption (Per-file encryption)"
4 select CRYPTO
5 select CRYPTO_HASH
6 select CRYPTO_SKCIPHER
7 select CRYPTO_LIB_SHA256
8 select KEYS
9 help
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,
1# SPDX-License-Identifier: GPL-2.0-only
2config FS_ENCRYPTION
3 bool "FS Encryption (Per-file encryption)"
4 select CRYPTO
5 select CRYPTO_HASH
6 select CRYPTO_SKCIPHER
7 select CRYPTO_LIB_SHA256
8 select KEYS
9 help
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.
14 F2FS, UBIFS, and CephFS make use of this feature.
15
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# whereas selecting them from FS_ENCRYPTION would force them to be built-in.
19#
20# Note: this option only pulls in the algorithms that filesystem encryption
21# needs "by default". If userspace will use "non-default" encryption modes such
22# as Adiantum encryption, then those other modes need to be explicitly enabled

--- 24 unchanged lines hidden ---
15
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# whereas selecting them from FS_ENCRYPTION would force them to be built-in.
19#
20# Note: this option only pulls in the algorithms that filesystem encryption
21# needs "by default". If userspace will use "non-default" encryption modes such
22# as Adiantum encryption, then those other modes need to be explicitly enabled

--- 24 unchanged lines hidden ---