1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 20b81d077SJaegeuk Kimconfig FS_ENCRYPTION 3643fa961SChandan Rajendra bool "FS Encryption (Per-file encryption)" 40b81d077SJaegeuk Kim select CRYPTO 5ede7a09fSHerbert Xu select CRYPTO_HASH 6ede7a09fSHerbert Xu select CRYPTO_SKCIPHER 70b81d077SJaegeuk Kim select KEYS 80b81d077SJaegeuk Kim help 90b81d077SJaegeuk Kim Enable encryption of files and directories. This 100b81d077SJaegeuk Kim feature is similar to ecryptfs, but it is more memory 110b81d077SJaegeuk Kim efficient since it avoids caching the encrypted and 12643fa961SChandan Rajendra decrypted pages in the page cache. Currently Ext4, 13643fa961SChandan Rajendra F2FS and UBIFS make use of this feature. 14ede7a09fSHerbert Xu 15ede7a09fSHerbert Xu# Filesystems supporting encryption must select this if FS_ENCRYPTION. This 16ede7a09fSHerbert Xu# allows the algorithms to be built as modules when all the filesystems are. 17ede7a09fSHerbert Xuconfig FS_ENCRYPTION_ALGS 18ede7a09fSHerbert Xu tristate 19ede7a09fSHerbert Xu select CRYPTO_AES 20ede7a09fSHerbert Xu select CRYPTO_CBC 21ede7a09fSHerbert Xu select CRYPTO_CTS 22ede7a09fSHerbert Xu select CRYPTO_ECB 23ede7a09fSHerbert Xu select CRYPTO_HMAC 24edc440e3SDaniel Rosenberg select CRYPTO_SHA256 25ede7a09fSHerbert Xu select CRYPTO_SHA512 26ede7a09fSHerbert Xu select CRYPTO_XTS 27*5fee3609SSatya Tangirala 28*5fee3609SSatya Tangiralaconfig FS_ENCRYPTION_INLINE_CRYPT 29*5fee3609SSatya Tangirala bool "Enable fscrypt to use inline crypto" 30*5fee3609SSatya Tangirala depends on FS_ENCRYPTION && BLK_INLINE_ENCRYPTION 31*5fee3609SSatya Tangirala help 32*5fee3609SSatya Tangirala Enable fscrypt to use inline encryption hardware if available. 33