]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(tc): add delegated attest and measurement tests
authorMate Toth-Pal <mate.toth-pal@arm.com>
Fri, 21 Oct 2022 12:24:49 +0000 (14:24 +0200)
committerMate Toth-Pal <mate.toth-pal@arm.com>
Fri, 16 Dec 2022 16:15:57 +0000 (17:15 +0100)
commit25dd2172ae564c74b7e8b42aa96d5ee9a865ec75
treef9479f41e8f86d2e48b71a8091ab216e77817be3
parent3be9c27694bbec247e81746a45691d121535fd9f
feat(tc): add delegated attest and measurement tests

This patch adds Delegated Attestation and Measured Boot tests to the
plat/arm/board/tc platform.
The test suite can be activated by adding the build time option
`PLATFORM_TEST=1` to the make command. In this case the boot sequence is
not finished, plat_error_handler is called after the tests are run
(regardless of the test result.)

The actual test code is coming from the Trusted-Firmware-M project. Some
of the files of the tf-m-tests and tf-m-extras repo are linked to the
BL31 image.

Versions used for testing:
https://git.trustedfirmware.org/TF-M/tf-m-tests
    614e8c358377e4146e8ee13d1246e59d01b4bf1b

https: //git.trustedfirmware.org/TF-M/tf-m-extras
    3be9fdd557e6df449de93c2101973fb011699b3d

Change-Id: I98f0f5f760a39d2d7e0dd11d33663ddb75f0b6fc
Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
plat/arm/board/tc/include/platform_def.h
plat/arm/board/tc/include/tc_plat.h
plat/arm/board/tc/plat_tc_mbedtls_config.h [new file with mode: 0644]
plat/arm/board/tc/platform.mk
plat/arm/board/tc/platform_test.mk [new file with mode: 0644]
plat/arm/board/tc/region_defs.h [new file with mode: 0644]
plat/arm/board/tc/rss_ap_test_stubs.c [new file with mode: 0644]
plat/arm/board/tc/rss_ap_tests.c [new file with mode: 0644]
plat/arm/board/tc/rss_ap_testsuites.c [new file with mode: 0644]
plat/arm/board/tc/rss_ap_testsuites.h [new file with mode: 0644]
plat/arm/board/tc/tc_bl31_setup.c