18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ciconfig FS_ENCRYPTION 38c2ecf20Sopenharmony_ci bool "FS Encryption (Per-file encryption)" 48c2ecf20Sopenharmony_ci select CRYPTO 58c2ecf20Sopenharmony_ci select CRYPTO_HASH 68c2ecf20Sopenharmony_ci select CRYPTO_SKCIPHER 78c2ecf20Sopenharmony_ci select CRYPTO_LIB_SHA256 88c2ecf20Sopenharmony_ci select KEYS 98c2ecf20Sopenharmony_ci help 108c2ecf20Sopenharmony_ci Enable encryption of files and directories. This 118c2ecf20Sopenharmony_ci feature is similar to ecryptfs, but it is more memory 128c2ecf20Sopenharmony_ci efficient since it avoids caching the encrypted and 138c2ecf20Sopenharmony_ci decrypted pages in the page cache. Currently Ext4, 148c2ecf20Sopenharmony_ci F2FS and UBIFS make use of this feature. 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci# Filesystems supporting encryption must select this if FS_ENCRYPTION. This 178c2ecf20Sopenharmony_ci# allows the algorithms to be built as modules when all the filesystems are. 188c2ecf20Sopenharmony_ciconfig FS_ENCRYPTION_ALGS 198c2ecf20Sopenharmony_ci tristate 208c2ecf20Sopenharmony_ci select CRYPTO_AES 218c2ecf20Sopenharmony_ci select CRYPTO_CBC 228c2ecf20Sopenharmony_ci select CRYPTO_CTS 238c2ecf20Sopenharmony_ci select CRYPTO_ECB 248c2ecf20Sopenharmony_ci select CRYPTO_HMAC 258c2ecf20Sopenharmony_ci select CRYPTO_SHA512 268c2ecf20Sopenharmony_ci select CRYPTO_XTS 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ciconfig FS_ENCRYPTION_INLINE_CRYPT 298c2ecf20Sopenharmony_ci bool "Enable fscrypt to use inline crypto" 308c2ecf20Sopenharmony_ci depends on FS_ENCRYPTION && BLK_INLINE_ENCRYPTION 318c2ecf20Sopenharmony_ci help 328c2ecf20Sopenharmony_ci Enable fscrypt to use inline encryption hardware if available. 33