forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 05e59e5fb0064c97a1c10921ecd549f2d4a58565
kernel/fs/verity/Kconfig
....@@ -3,9 +3,13 @@
33 config FS_VERITY
44 bool "FS Verity (read-only file-based authenticity protection)"
55 select CRYPTO
6
- # SHA-256 is selected as it's intended to be the default hash algorithm.
6
+ # SHA-256 is implied as it's intended to be the default hash algorithm.
77 # To avoid bloat, other wanted algorithms must be selected explicitly.
8
- select CRYPTO_SHA256
8
+ # Note that CRYPTO_SHA256 denotes the generic C implementation, but
9
+ # some architectures provided optimized implementations of the same
10
+ # algorithm that may be used instead. In this case, CRYPTO_SHA256 may
11
+ # be omitted even if SHA-256 is being used.
12
+ imply CRYPTO_SHA256
913 help
1014 This option enables fs-verity. fs-verity is the dm-verity
1115 mechanism implemented at the file level. On supported