plat/arm: Retrieve the right ROTPK when using the dualroot CoT
The dualroot chain of trust involves 2 root-of-trust public keys:
- The classic ROTPK.
- The platform ROTPK (a.k.a. PROTPK).

Use the cookie argument as a key ID for plat_get_rotpk_info() to return the
appropriate one. This only applies if we are using the dualroot CoT ; if using
the TBBR one, the behaviour is unchanged.

Change-Id: I400707a87ec01afd5922b68db31d652d787f79bd
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
1 parent 8800570 commit d25625cac10579f71e808b2500edaab4c12afeda
@Sandrine Bailleux Sandrine Bailleux authored on 5 Feb 2020
Showing 1 changed file
View
plat/arm/board/common/board_arm_trusted_boot.c