summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-08-07 15:11:17 -0400
committerTom Rini <trini@konsulko.com>2023-08-07 15:11:17 -0400
commit543f7d0a3e86c50b5b0f088dd3ac92ea301de2ad (patch)
tree8c208d99fe64bd5c6fb7617a26da748e4fb03f1b /lib
parentb1a8ef746f6c1a152ec41a747a06cbfbeb051a3e (diff)
parent7ee1325a537b2b7938676e9ca3c99c16c8d8487d (diff)
Merge branch '2023-08-07-assorted-fixes'
- Update Azure jobs again, a few MAINTAINERS updates, a few Kconfig fixes, an erofs fix and a fix for the recent ten64 updates.
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 3926652db63..07e61de5b64 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -534,6 +534,17 @@ config SHA_HW_ACCEL
if SPL
+config SPL_CRC32
+ bool "Enable CRC32 support in SPL"
+ default y if SPL_LEGACY_IMAGE_SUPPORT || SPL_EFI_PARTITION
+ default y if SPL_ENV_SUPPORT || TPL_BLOBLIST
+ help
+ This option enables support of hashing using CRC32 algorithm.
+ The CRC32 algorithm produces 32-bit checksum value. For FIT
+ images, this is the least secure type of checksum, suitable for
+ detected accidental image corruption. For secure applications you
+ should consider SHA256 or SHA384.
+
config SPL_SHA1
bool "Enable SHA1 support in SPL"
default y if SHA1