From 5fa02a909075081da87ea537d13cb7a61e543176 Mon Sep 17 00:00:00 2001 From: Jaymes Wilks Date: Thu, 26 Oct 2017 09:37:07 -0500 Subject: Support selecting fips or op-build for signing process Adds a new '--build-type' option to genPnorImages.pl to specify either fspbuild or opbuild, which adds the appropriate magic value to the secure header during the signing process. Change-Id: I46a97f88666a5cc925797d3ad0e870a5f5bac89a RTC:163655 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48930 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Stephen M. Cprek Reviewed-by: Michael Baiocchi Reviewed-by: William G. Hoffa --- src/include/usr/secureboot/containerheader.H | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/include') diff --git a/src/include/usr/secureboot/containerheader.H b/src/include/usr/secureboot/containerheader.H index 49ecc9223..255566c9d 100644 --- a/src/include/usr/secureboot/containerheader.H +++ b/src/include/usr/secureboot/containerheader.H @@ -74,6 +74,13 @@ class ContainerHeader */ size_t totalContainerSize() const; + /** + * @brief Retrieves the prefix header flags + * + * @return uint32_t containing prefix header flags + */ + uint32_t prefixHeaderFlags() const; + /** * @brief Retrieves pointer to first hw key * @return ecc_key_t* - ptr to first hw key -- cgit v1.2.1