summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorJaymes Wilks <mjwilks@us.ibm.com>2017-10-26 09:37:07 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2017-11-09 17:50:21 -0500
commit5fa02a909075081da87ea537d13cb7a61e543176 (patch)
tree5fb5437e9f54d6964f6bdb9c10bb8306b19ad585 /src/include
parent3378748dbc2e153ed005e832b8398adfb2729a74 (diff)
downloadtalos-hostboot-5fa02a909075081da87ea537d13cb7a61e543176.tar.gz
talos-hostboot-5fa02a909075081da87ea537d13cb7a61e543176.zip
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 <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/usr/secureboot/containerheader.H7
1 files changed, 7 insertions, 0 deletions
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
@@ -75,6 +75,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
*/
OpenPOWER on IntegriCloud