Sean Anderson 0abe3323f5 mkimage: fit: Fix signing of configs with external data
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@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-10-26 11:36:06 -04:00
..
2022-09-12 18:06:36 -04:00
2022-04-19 14:51:11 -04:00
2021-01-13 02:38:00 +01:00
2022-01-19 18:11:34 +01:00
2022-01-28 17:58:41 -05:00
2022-07-26 11:29:02 +02:00
2022-01-19 18:11:34 +01:00