[Skiboot] [RFC PATCH v2 8/8] libstb/trustedboot: Map UV image measurement to PCR6

Ryan Grimm grimm at linux.ibm.com
Fri Sep 20 23:58:23 AEST 2019


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

This maps the ultravisor image to be measured to PCR6. 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..23b671b1 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_6},
 };
 
 /*
-- 
2.21.0



More information about the Skiboot mailing list