u-boot/test/py/tests/test_efi_capsule
Vincent Stehlé 8645aefc8b efi: test/py: authenticate fit capsules
Add support for the authentication of UEFI capsules containing FIT images.

The authentication code is moved out of the function handling raw images
into a new function efi_firmware_capsule_authenticate(). The special case
for the FMP header coming from edk2 tools is preserved. There is no
functional change for capsules containing raw images.

The python test for signed capsules with raw images is renamed with no
functional change and a new test is added for signed capsules containing
FIT images.

This can be tested with sandbox64_defconfig or sandbox_flattree_defconfig,
plus CONFIG_EFI_CAPSULE_AUTHENTICATE=y.

Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
2022-06-04 08:43:55 +02:00
..
capsule_defs.py test/py: efi_capsule: add image authentication test 2022-02-11 20:07:55 +01:00
conftest.py efi: test/py: authenticate fit capsules 2022-06-04 08:43:55 +02:00
signature.dts test/py: efi_capsule: add image authentication test 2022-02-11 20:07:55 +01:00
test_capsule_firmware_fit.py test: capsule: Modify the capsule tests to use GUID values for sandbox 2022-04-15 10:43:18 +02:00
test_capsule_firmware_raw.py test: fix some pylint problems in test_capsule_firmware_raw.py 2022-05-03 21:39:22 +02:00
test_capsule_firmware_signed_fit.py efi: test/py: authenticate fit capsules 2022-06-04 08:43:55 +02:00
test_capsule_firmware_signed_raw.py efi: test/py: authenticate fit capsules 2022-06-04 08:43:55 +02:00
uboot_bin_env.its efi_loader: correct uboot_bin_env.its file format 2021-03-07 17:37:26 +01:00