]>
Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
0b81d077 | 2 | config FS_ENCRYPTION |
643fa961 | 3 | bool "FS Encryption (Per-file encryption)" |
0b81d077 | 4 | select CRYPTO |
ede7a09f HX |
5 | select CRYPTO_HASH |
6 | select CRYPTO_SKCIPHER | |
0b81d077 | 7 | select KEYS |
0b81d077 JK |
8 | help |
9 | Enable encryption of files and directories. This | |
10 | feature is similar to ecryptfs, but it is more memory | |
11 | efficient since it avoids caching the encrypted and | |
643fa961 CR |
12 | decrypted pages in the page cache. Currently Ext4, |
13 | F2FS and UBIFS make use of this feature. | |
ede7a09f HX |
14 | |
15 | # Filesystems supporting encryption must select this if FS_ENCRYPTION. This | |
16 | # allows the algorithms to be built as modules when all the filesystems are. | |
17 | config FS_ENCRYPTION_ALGS | |
18 | tristate | |
19 | select CRYPTO_AES | |
20 | select CRYPTO_CBC | |
21 | select CRYPTO_CTS | |
22 | select CRYPTO_ECB | |
23 | select CRYPTO_HMAC | |
edc440e3 | 24 | select CRYPTO_SHA256 |
ede7a09f HX |
25 | select CRYPTO_SHA512 |
26 | select CRYPTO_XTS |