From: Michael Tretter <m.tretter@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>,
BAREBOX <barebox@lists.infradead.org>
Cc: Michael Tretter <m.tretter@pengutronix.de>
Subject: [PATCH 0/2] PBL: enable hash functions for Vendor Authorized Boot
Date: Mon, 28 Sep 2026 14:25:00 +0200 [thread overview]
Message-ID: <20260928-crypto-pbl-sha384-v1-0-bc7095590123@pengutronix.de> (raw)
Altera's Vendor Authorized Boot (VAB) uses a sha384 hash for verifying
the second stage boot loader.
As preparation for adding VAB, make the sha384 and sha512 hash functions
available in the PBL.
Loading the second stage loader from flash and verifying the signature
will follow as separate patch series.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
Michael Tretter (2):
crypto: make sha384 and sha512 available in PBL
PBL: add oneshot helper for sha384 and sha512
crypto/Makefile | 1 +
crypto/sha4.c | 11 ++++++-----
include/crypto/pbl-sha.h | 29 +++++++++++++++++++++++++++++
3 files changed, 36 insertions(+), 5 deletions(-)
---
base-commit: 4a752d2303440195e12ed1a4e642b0be5b450b8e
change-id: 20260928-crypto-pbl-sha384-e59cd7b4cd1d
Best regards,
--
Michael Tretter <m.tretter@pengutronix.de>
next reply other threads:[~2026-09-28 12:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-28 12:25 Michael Tretter [this message]
2026-09-28 12:25 ` [PATCH 1/2] crypto: make sha384 and sha512 available in PBL Michael Tretter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260928-crypto-pbl-sha384-v1-0-bc7095590123@pengutronix.de \
--to=m.tretter@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox