u-boot/test/py/tests
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
..
bootstd bootstd: Add setup for the bootflow tests 2022-04-25 10:00:04 -04:00
test_android test: Correct pylint errors 2022-03-02 10:28:12 -05:00
test_efi_bootmgr test: fix pylint warnings in test_efi_bootmgr 2022-03-31 19:06:16 +02:00
test_efi_capsule efi: test/py: authenticate fit capsules 2022-06-04 08:43:55 +02:00
test_efi_secboot test/py: Add more test cases for rejecting an EFI image 2022-05-07 23:17:26 +02:00
test_fs test: fix parsing the mksquashfs version number 2022-05-26 10:32:27 -04:00
vboot test: py: vboot: add test for global image signature 2022-03-31 14:12:23 -04:00
test_000_version.py SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
test_bind.py test: Correct pylint errors 2022-03-02 10:28:12 -05:00
test_bootmenu.py test: restore timeout after bootmenu unit test 2022-05-28 10:59:27 +02:00
test_button.py cmd/button: return button status 2020-10-14 11:16:34 -04:00
test_dfu.py test: Use single quote consistently 2019-01-15 15:28:41 -05:00
test_dm.py cmd: dm: Fixed/Added DM driver listing subcommands 2020-07-07 15:37:13 -04:00
test_efi_fit.py test: fix pylint warnings for test_efi_fit.py 2022-03-31 19:06:16 +02:00
test_efi_loader.py test: address some pylint warnings 2021-11-26 21:30:59 +01:00
test_efi_selftest.py test: don't change console timeout in EFI selftest. 2022-05-28 10:59:27 +02:00
test_env.py env: Allow text-env tests to run with awk 2022-04-07 16:50:53 -04:00
test_event_dump.py event: Add a script to decode the event-spy list 2022-03-10 08:28:36 -05:00
test_extension.py pytest: add sandbox test for "extension" command 2021-05-13 13:09:09 -04:00
test_fit.py arch: Kconfig: imply BINMAN for SANDBOX 2022-03-31 14:12:01 -04:00
test_fit_ecdsa.py test/py: ecdsa: Use mkimage keyfile instead of keydir argument 2021-04-14 15:23:01 -04:00
test_fit_hashes.py test/py: Check hashes produced by mkimage against known values 2021-10-05 08:50:15 -04:00
test_fpga.py test/py: Automated conversion to Python 3 2019-10-30 17:48:47 -04:00
test_gpio.py cmd: gpio: Add gpio read subcommand 2022-04-20 11:14:39 -04:00
test_gpt.py test: py: tests: test_gpt.py: add a simple test for the command gpt repair 2022-05-06 14:39:15 -04:00
test_handoff.py test: Fix the boardspec for the SPL handoff test 2020-01-02 10:27:23 -05:00
test_help.py sandbox: Avoid binman error when run without device tree 2022-05-05 09:29:57 -04:00
test_hush_if_test.py test: Allow hush tests to run in parallel 2021-10-05 08:50:15 -04:00
test_log.py sandbox: Drop the 'starting...' message 2021-03-12 09:57:29 -05:00
test_lsblk.py test: test_lsblk: Mark as sandbox specific 2022-01-14 12:26:42 -05:00
test_md.py SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
test_mmc_rd.py test/py: mmc: Fix 'mmc info' testcase 2020-03-27 15:42:04 -04:00
test_mmc_wr.py test/py: Automated conversion to Python 3 2019-10-30 17:48:47 -04:00
test_net.py test/py: use default load address for tftp 2019-02-12 07:19:24 -05:00
test_ofplatdata.py test: Re-enable test_ofplatdata 2021-03-12 09:57:29 -05:00
test_part.py test/py: test_part: Correct the test case name 2022-05-26 10:27:14 -04:00
test_pinmux.py cmd: pinmux: update result of do_status 2021-07-23 07:13:25 -04:00
test_pstore.py test: Add PStore command tests 2020-10-14 11:16:34 -04:00
test_pstore_data_console.hex test: Add PStore command tests 2020-10-14 11:16:34 -04:00
test_pstore_data_panic1.hex test: Add PStore command tests 2020-10-14 11:16:34 -04:00
test_pstore_data_panic2.hex test: Add PStore command tests 2020-10-14 11:16:34 -04:00
test_qfw.py test: qemu: add qfw sandbox driver, dm tests, qemu tests 2021-04-12 17:45:39 -04:00
test_sandbox_exit.py test: unit test for exception command 2020-12-13 07:58:17 -07:00
test_scp03.py test: py: add initial coverage for scp03 cmd 2021-03-14 11:50:16 -04:00
test_sf.py SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
test_shell_basics.py test: py: test_shell_run() with CONFIG_HUSH_PARSER=n 2020-08-07 22:31:32 -04:00
test_sleep.py test_sleep.py: make sleep time and margin configurable 2020-07-07 18:23:48 -04:00
test_spl.py test: Run only the selected SPL test 2020-10-29 14:42:18 -06:00
test_stackprotector.py Add support for stack-protector 2021-04-20 07:31:12 -04:00
test_tpm2.py configs: enable CMD_TPM on QEMU ARM 2021-11-30 09:23:37 +01:00
test_ums.py test: Use single quote consistently 2019-01-15 15:28:41 -05:00
test_unknown_cmd.py SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
test_ut.py bootstd: Add setup for the bootflow tests 2022-04-25 10:00:04 -04:00
test_vboot.py test: py: vboot: add test for global image signature 2022-03-31 14:12:23 -04:00
test_vpl.py vpl: Support running vpl tests 2022-05-02 09:58:13 -04:00
vboot_evil.py test: Correct pylint errors 2022-03-02 10:28:12 -05:00
vboot_forge.py fit: Don't allow verification of images with @ nodes 2021-02-15 19:17:25 -05:00