diff options
author | Oleksandr Suvorov <oleksandr.suvorov@foundries.io> | 2023-08-03 19:05:40 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-08-07 13:41:44 -0400 |
commit | af62d83cc0ee27ca5051718a0df44341f71abff1 (patch) | |
tree | a2dffd699096ebbb888b1180256963808e259a5d /lib/Kconfig | |
parent | 0d2761abbde00e1ff756426fdb77b4b30192311d (diff) | |
download | u-boot-af62d83cc0ee27ca5051718a0df44341f71abff1.tar.gz u-boot-af62d83cc0ee27ca5051718a0df44341f71abff1.tar.bz2 u-boot-af62d83cc0ee27ca5051718a0df44341f71abff1.zip |
spl: move SPL_CRC32 option to lib/Kconfig
All SPL hash algorithm options are collected in lib/Kconfig. Move
SPL_CRC32 there as well.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r-- | lib/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 3926652db6..07e61de5b6 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 |