1 # SPDX-License-Identifier: GPL-2.0-only 1 # SPDX-License-Identifier: GPL-2.0-only 2 config FS_ENCRYPTION 2 config FS_ENCRYPTION 3 bool "FS Encryption (Per-file encrypti 3 bool "FS Encryption (Per-file encryption)" 4 select CRYPTO 4 select CRYPTO 5 select CRYPTO_HASH 5 select CRYPTO_HASH 6 select CRYPTO_SKCIPHER 6 select CRYPTO_SKCIPHER 7 select CRYPTO_LIB_SHA256 7 select CRYPTO_LIB_SHA256 8 select KEYS 8 select KEYS 9 help 9 help 10 Enable encryption of files and direc 10 Enable encryption of files and directories. This 11 feature is similar to ecryptfs, but 11 feature is similar to ecryptfs, but it is more memory 12 efficient since it avoids caching th 12 efficient since it avoids caching the encrypted and 13 decrypted pages in the page cache. 13 decrypted pages in the page cache. Currently Ext4, 14 F2FS, UBIFS, and CephFS make use of !! 14 F2FS and UBIFS make use of this feature. 15 15 16 # Filesystems supporting encryption must selec 16 # Filesystems supporting encryption must select this if FS_ENCRYPTION. This 17 # allows the algorithms to be built as modules !! 17 # allows the algorithms to be built as modules when all the filesystems are. 18 # whereas selecting them from FS_ENCRYPTION wo << 19 # << 20 # Note: this option only pulls in the algorith << 21 # needs "by default". If userspace will use " << 22 # as Adiantum encryption, then those other mod << 23 # in the crypto API; see Documentation/filesys << 24 # << 25 # Also note that this option only pulls in the << 26 # algorithms, not any per-architecture optimiz << 27 # strongly recommended to enable optimized imp << 28 # disable these generic implementations if cor << 29 # implementations will always be available too << 30 # dependencies ('imply' rather than 'select'). << 31 # implementations if you're sure they will nev << 32 config FS_ENCRYPTION_ALGS 18 config FS_ENCRYPTION_ALGS 33 tristate 19 tristate 34 imply CRYPTO_AES !! 20 select CRYPTO_AES 35 imply CRYPTO_CBC !! 21 select CRYPTO_CBC 36 imply CRYPTO_CTS !! 22 select CRYPTO_CTS 37 imply CRYPTO_ECB !! 23 select CRYPTO_ECB 38 imply CRYPTO_HMAC !! 24 select CRYPTO_HMAC 39 imply CRYPTO_SHA512 !! 25 select CRYPTO_SHA512 40 imply CRYPTO_XTS !! 26 select CRYPTO_XTS 41 27 42 config FS_ENCRYPTION_INLINE_CRYPT 28 config FS_ENCRYPTION_INLINE_CRYPT 43 bool "Enable fscrypt to use inline cry 29 bool "Enable fscrypt to use inline crypto" 44 depends on FS_ENCRYPTION && BLK_INLINE 30 depends on FS_ENCRYPTION && BLK_INLINE_ENCRYPTION 45 help 31 help 46 Enable fscrypt to use inline encrypt 32 Enable fscrypt to use inline encryption hardware if available.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.