[PATCH v2] mkimage: fit: Fix signing of configs with external data

Tom Rini trini at konsulko.com
Wed Oct 26 21:27:35 CEST 2022


On Thu, Oct 20, 2022 at 03:41:10PM -0400, Sean Anderson wrote:

> Just like we exclude data-size, data-position, and data-offset from
> fit_config_check_sig, we must exclude them while signing as well.
> 
> While we're at it, use the FIT_DATA_* defines for fit_config_check_sig
> as welll.
> 
> Fixes: 8edecd3110e ("fit: Fix verification of images with external data")
> Fixes: c522949a29d ("rsa: sig: fix config signature check for fit with padding")
> Signed-off-by: Sean Anderson <sean.anderson at seco.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20221026/d83e5a95/attachment.sig>


More information about the U-Boot mailing list