]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(arm): add ARM_ROTPK_LOCATION variant full key
authorlaurenw-arm <lauren.wehrmeister@arm.com>
Fri, 28 Oct 2022 16:26:32 +0000 (11:26 -0500)
committerlaurenw-arm <lauren.wehrmeister@arm.com>
Fri, 9 Dec 2022 20:54:50 +0000 (14:54 -0600)
commit5f899286eac994b8337959ad924a43c1a4a543c9
tree060c08d1354c36f0ad1aa28b75c8414096201581
parent10f4d1a2d053b0740644d704d7583666913e5092
feat(arm): add ARM_ROTPK_LOCATION variant full key

Add support for ARM_ROTPK_LOCATION=devel_full_dev_rsa_key, which
implements the scenario where the platform provides the full ROTPK, as
opposed to the hash of it. This returns a 2kB development RSA key
embedded into the firmware.

The motivation for this patch is to extend our test coverage in the CI.
Right now, the authentication framework allows platforms to return
either the full ROTPK or a hash of it (*). However, the FVP platform
only supports returning a hash currently so we cannot easily exercise
the full key scenario. This patch adds that capability.

(*) Or even no key at all if it's not deployed on the platform yet, as
is typically the case on pre-production/developement platforms.

Signed-off-by: Lauren Wehrmeister <lauren.wehrmeister@arm.com>
Change-Id: Ie869cca1082410e63894e2b7dea2d31155684105
include/plat/arm/common/arm_def.h
include/plat/arm/common/plat_arm.h
plat/arm/board/common/board_arm_trusted_boot.c
plat/arm/board/common/board_common.mk
plat/arm/board/common/rotpk/arm_full_dev_rsa_rotpk.S [new file with mode: 0644]