[Skiboot] [RFC PATCH v3 6/6] libstb/trustedboot: Map UV image measurement to PCR4

Ryan Grimm grimm at linux.ibm.com
Thu Jan 23 02:13:54 AEDT 2020


From: Claudio Carvalho <cclaudio at linux.ibm.com>

This maps the ultravisor image to be measured to PCR4. The image is
automatically verified and  measured hen it is loaded from PNOR.

Signed-off-by: Claudio Carvalho <cclaudio at linux.ibm.com>
---
 libstb/trustedboot.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libstb/trustedboot.c b/libstb/trustedboot.c
index 3f977de1..87f3b6bf 100644
--- a/libstb/trustedboot.c
+++ b/libstb/trustedboot.c
@@ -45,6 +45,7 @@ static struct {
 	{ RESOURCE_ID_KERNEL,		PCR_4},
 	{ RESOURCE_ID_CAPP,		PCR_4},
 	{ RESOURCE_ID_VERSION,		PCR_4}, /* Also data for Hostboot */
+	{ RESOURCE_ID_UV_IMAGE,		PCR_4},
 };
 
 /*
-- 
2.21.0



More information about the Skiboot mailing list