diff options
author | Philippe Reynes <philippe.reynes@softathome.com> | 2020-04-29 15:26:17 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-01 11:34:01 -0400 |
commit | c522949a29d44d728517cc2579ed719747da3e5d (patch) | |
tree | 416a6055031542966cdb63166c354204fb123429 /include/serial.h | |
parent | eb7690e81f527ae36ecc05e567848606ccebde01 (diff) | |
download | u-boot-c522949a29d44d728517cc2579ed719747da3e5d.tar.gz |
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: Simon Glass <sjg@chromium.org>
Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Diffstat (limited to 'include/serial.h')
0 files changed, 0 insertions, 0 deletions