Merge tag '9p-for-5.9-rc1' of git://github.com/martinetd/linux
[linux-2.6-block.git] / fs / crypto / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
0b81d077 2config FS_ENCRYPTION
643fa961 3 bool "FS Encryption (Per-file encryption)"
0b81d077 4 select CRYPTO
ede7a09f
HX
5 select CRYPTO_HASH
6 select CRYPTO_SKCIPHER
bd0d97b7 7 select CRYPTO_LIB_SHA256
0b81d077 8 select KEYS
0b81d077
JK
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
643fa961
CR
13 decrypted pages in the page cache. Currently Ext4,
14 F2FS and UBIFS make use of this feature.
ede7a09f
HX
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.
18config FS_ENCRYPTION_ALGS
19 tristate
20 select CRYPTO_AES
21 select CRYPTO_CBC
22 select CRYPTO_CTS
23 select CRYPTO_ECB
24 select CRYPTO_HMAC
25 select CRYPTO_SHA512
26 select CRYPTO_XTS
5fee3609
ST
27
28config FS_ENCRYPTION_INLINE_CRYPT
29 bool "Enable fscrypt to use inline crypto"
30 depends on FS_ENCRYPTION && BLK_INLINE_ENCRYPTION
31 help
32 Enable fscrypt to use inline encryption hardware if available.