[PATCH 0/2] PBL: add support for optimized sha256
Sascha Hauer
s.hauer at pengutronix.de
Thu Jul 9 04:14:39 PDT 2026
When chainloading a full barebox from the PBL we have to verify the
loaded image with sha256. This can take some time for bigger image, so
add support for optimized implementations and ad the ARM64 Crypto
Extensions as a first implementation
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
Sascha Hauer (2):
PBL: add pbl_sha256()
ARM: pbl: add PBL support for crypto extensions
arch/arm/crypto/Makefile | 3 +--
arch/arm/crypto/sha2-ce-glue.c | 44 ++++++++++++++++++++++++++++++++++++++++++
include/crypto/pbl-sha.h | 14 ++++++++++++++
pbl/Makefile | 1 +
pbl/decomp.c | 6 +-----
pbl/sha256.c | 28 +++++++++++++++++++++++++++
6 files changed, 89 insertions(+), 7 deletions(-)
---
base-commit: 8057f993993040fdd3bea1c42cf8e37af5b6f5d3
change-id: 20260709-pbl-sha256-b60f9893126e
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list