Skip to content
Commit c522949a authored by Philippe Reynes's avatar Philippe Reynes Committed by Tom Rini
Browse files

rsa: sig: fix config signature check for fit with padding



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: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarPhilippe Reynes <philippe.reynes@softathome.com>
parent eb7690e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment