summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorStephen Cprek <smcprek@us.ibm.com>2017-05-18 13:10:15 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2017-06-06 00:43:51 -0400
commitd6edfb5f14ce156929ead04874972c5e40f5f19b (patch)
tree3f0869ed032df47b165d0262c9305d1d93d0169c /src/include/usr
parent24aed9157a24f7ce3e3cb6570fb69494415a78ec (diff)
downloadblackbird-hostboot-d6edfb5f14ce156929ead04874972c5e40f5f19b.tar.gz
blackbird-hostboot-d6edfb5f14ce156929ead04874972c5e40f5f19b.zip
Create map of SecureROM function types, versions, and offsets
Done to audit different algorithm versions and provide easy lookup to simplify filling in HDAT Change-Id: Iee1514efca9deb1af1341c2557c543b2ced81845 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40776 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/secureboot/service.H7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/usr/secureboot/service.H b/src/include/usr/secureboot/service.H
index c8c094fdf..8826fe252 100644
--- a/src/include/usr/secureboot/service.H
+++ b/src/include/usr/secureboot/service.H
@@ -31,6 +31,7 @@
#include <utility>
#include <cstdint>
#include <securerom/sha512.H>
+#include <securerom/ROM.H>
typedef uint8_t SHA512_t[SHA512_DIGEST_LENGTH];
@@ -199,6 +200,12 @@ namespace SECUREBOOT
TARGETING::Target* i_pProc
= TARGETING::MASTER_PROCESSOR_CHIP_TARGET_SENTINEL);
+ /* Defition in securerommgr.H */
+ sbFuncVer_t getSecRomFuncVersion(const sbFuncType_t i_funcType);
+
+ /* Defition in securerommgr.H */
+ uint64_t getSecRomFuncOffset(const sbFuncType_t i_funcType);
+
/**
* @brief Verify Signed Container
*
OpenPOWER on IntegriCloud