[PATCH u-boot v2019.04-aspeed-openbmc 0/7] Blackport SHA512 for FIT
Joel Stanley
joel at jms.id.au
Thu Jan 28 21:49:35 AEDT 2021
These patches bring SHA512 support to the FIT in u-boot, SPL and
mkimage. The majority of the feature comes in with "Add support for
SHA384 and SHA512", while the rest are relevant bugfixes that have been
made to master since v2019.04.
There is not yet a change to the configuration to enable the new
algorithm and therefore only a minor image size change (an increase of
247 bytes due to "image: Check hash-nodes when checking configurations").
Harald Seiler (1):
common: hash: Remove a debug printf statement
Heinrich Schuchardt (1):
image-fit: fit_check_format check for valid FDT
Patrick Doyle (1):
rsa: reject images with unknown padding
Reuben Dowle (1):
Add support for SHA384 and SHA512
Simon Glass (3):
image: Be a little more verbose when checking signatures
image: Return an error message from fit_config_verify_sig()
image: Check hash-nodes when checking configurations
Kconfig | 26 ++-
common/hash.c | 83 +++++++-
common/image-fit.c | 17 +-
common/image-sig.c | 69 +++++-
common/spl/Kconfig | 34 ++-
include/hash.h | 4 +
include/image.h | 18 ++
include/u-boot/rsa-checksum.h | 1 +
include/u-boot/sha512.h | 38 ++++
lib/Kconfig | 23 ++
lib/Makefile | 1 +
lib/sha512.c | 383 ++++++++++++++++++++++++++++++++++
tools/Makefile | 2 +
tools/image-host.c | 3 +-
14 files changed, 677 insertions(+), 25 deletions(-)
create mode 100644 include/u-boot/sha512.h
create mode 100644 lib/sha512.c
--
2.29.2
More information about the openbmc
mailing list