u-boot/boot
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: 8edecd3110 ("fit: Fix verification of images with external data")
Fixes: c522949a29 ("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
..
android_ab.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
boot_fit.c treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
bootdev-uclass.c bootstd: Fix listing boot devices 2022-10-17 21:17:12 -06:00
bootflow.c bootstd: Allow scanning for global bootmeths separately 2022-08-12 08:17:11 -04:00
bootm_os.c treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
bootm.c bootm: Change incorrect 'unsupported' error 2022-10-17 21:17:12 -06:00
bootmeth_distro.c Rename disto_[pxe_]getfile to distro_[pxe_]getfile 2022-08-26 16:33:48 -06:00
bootmeth_efi_mgr.c bootstd: Allow EFI bootmgr to support an invalid bootflow 2022-08-12 08:17:10 -04:00
bootmeth_efi.c bootstd: Add an implementation of EFI boot 2022-04-25 10:00:04 -04:00
bootmeth_pxe.c Rename disto_[pxe_]getfile to distro_[pxe_]getfile 2022-08-26 16:33:48 -06:00
bootmeth_sandbox.c bootstd: Add a sandbox bootmeth driver 2022-04-25 10:00:04 -04:00
bootmeth_script.c bootstd: Add an implementation of script boot 2022-04-25 10:00:04 -04:00
bootmeth-uclass.c bootstd: Allow scanning for global bootmeths separately 2022-08-12 08:17:11 -04:00
bootretry.c cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
bootstd-uclass.c bootstd: Drop the system bootdev 2022-08-12 08:17:11 -04:00
common_fit.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
fdt_region.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
image-android-dt.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
image-android.c treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
image-board.c treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
image-cipher.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-fdt.c boot: Pass the correct FDT to the EVT_FT_FIXUP event 2022-10-17 21:17:13 -06:00
image-fit-sig.c mkimage: fit: Fix signing of configs with external data 2022-10-26 11:36:06 -04:00
image-fit.c treewide: Drop bootm_headers_t typedef 2022-09-29 16:07:57 -04:00
image-host.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image-pre-load.c boot: image-pre-load: Check environment for location of signature info 2022-10-11 15:40:48 -04:00
image-sig.c Create a new boot/ directory 2021-11-11 19:01:56 -05:00
image.c treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
Kconfig sunxi: Kconfig: introduce SUNXI_MINIMUM_DRAM_MB 2022-10-19 14:15:02 +01:00
Makefile vbe: Add fixups for a basic set of OS requests 2022-10-17 21:17:13 -06:00
pxe_utils.c cmd: pxe: add alias devicetree-overlay for fdtoverlays 2022-10-11 15:40:48 -04:00
vbe_fixup.c vbe: Add fixups for a basic set of OS requests 2022-10-17 21:17:13 -06:00
vbe_simple.c boot: Tidy up logging and naming in vbe_simple 2022-10-17 21:17:13 -06:00
vbe.c boot: fix vbe_find_first_device() 2022-08-26 16:32:59 -06:00