test(fvp): Test trusted key certificate corruption
This also includes a test framework for use with corrupting the
root of trust private key certificate in the boot FIP, found
using its UUID.
Signed-off-by: Jimmy Brisson <jimmy.brisson@arm.com>
Change-Id: I988c517637edcf6fdcaf271628eb650781c276f8
diff --git a/plat/arm/fvp/include/platform_def.h b/plat/arm/fvp/include/platform_def.h
index b8871c4..e6ae4d7 100644
--- a/plat/arm/fvp/include/platform_def.h
+++ b/plat/arm/fvp/include/platform_def.h
@@ -89,6 +89,12 @@
#define SECURE_MEMORY_ACCESS_ADDR U(0xFD000000)
/*******************************************************************************
+ * Base address and size for the FIP.
+ ******************************************************************************/
+#define PLAT_ARM_FIP_BASE (FLASH_BASE)
+#define PLAT_ARM_FIP_SIZE (0x100000)
+
+/*******************************************************************************
* Base address and size for the FIP that contains FWU images.
******************************************************************************/
#define PLAT_ARM_FWU_FIP_BASE (FLASH_BASE + 0x400000)