fit: Fix verification of images with external data
authorJohn Keeping <john@metanate.com>
Tue, 20 Apr 2021 18:19:44 +0000 (19:19 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 4 Aug 2021 19:57:13 +0000 (15:57 -0400)
commit8edecd3110e65ca96a50a37bf7ca65ed45070452
treeddffde6871041ef074cdc3caf783a24cd2188f27
parent66217225f7987fbfecdcc4eca3f16d0ec188dc76
fit: Fix verification of images with external data

The "-E" option to mkimage generates a FIT with external data using the
data-size and data-offset properties which must both be ignored when
verifying a signature.

Add "data-offset" to the list of excluded properties for signature
verification; since the line is now too long, re-format the list to
one-per-line and make it static since the data is constant.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/image-fit-sig.c