[PATCH v3 2/2] rsa: sig: fix config signature check for fit with padding
Tom Rini
trini at konsulko.com
Fri May 1 23:57:33 CEST 2020
On Wed, Apr 29, 2020 at 03:26:17PM +0200, Philippe Reynes wrote:
> The signature check on config node is broken on fit with padding.
> To compute the signature for config node, U-Boot compute the
> signature on all properties of requested node for this config,
> except for the property "data". But, when padding is used for
> binary in a fit, there isn't a property "data" but two properties:
> "data-offset" and "data-size". So to fix the check of signature,
> we also don't use the properties "data-offset" and "data-size"
> when checking the signature on config node.
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
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/20200501/e8db4f62/attachment.sig>
More information about the U-Boot
mailing list