summaryrefslogtreecommitdiffstats
path: root/src/usr/secureboot/trusted/test
diff options
context:
space:
mode:
authorChris Engel <cjengel@us.ibm.com>2017-04-05 09:38:19 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-04-23 11:22:58 -0400
commit9349e6ece944f284f59b1b9315f27a82df60d196 (patch)
tree5c89628f4fea6fe337c73a11d81cd46adc44396b /src/usr/secureboot/trusted/test
parent5865a928059b01c1a467003f8328debd3e63a452 (diff)
downloadblackbird-hostboot-9349e6ece944f284f59b1b9315f27a82df60d196.tar.gz
blackbird-hostboot-9349e6ece944f284f59b1b9315f27a82df60d196.zip
Trustedboot support to log different event types
Change-Id: I811e9bd38c8c365acbcf204fa638ec0eb7302b7e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/38879 Reviewed-by: Timothy R. Block <block@us.ibm.com> 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> 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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/secureboot/trusted/test')
-rwxr-xr-xsrc/usr/secureboot/trusted/test/tpmLogMgrTest.H4
-rwxr-xr-xsrc/usr/secureboot/trusted/test/trustedbootTest.H1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/secureboot/trusted/test/tpmLogMgrTest.H b/src/usr/secureboot/trusted/test/tpmLogMgrTest.H
index 27ba7c2aa..988103928 100755
--- a/src/usr/secureboot/trusted/test/tpmLogMgrTest.H
+++ b/src/usr/secureboot/trusted/test/tpmLogMgrTest.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2016 */
+/* Contributors Listed Below - COPYRIGHT 2015,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -212,7 +212,7 @@ class TPMLogMgrTest: public CxxTest::TestSuite
// Get a TCG_PCR_EVENT2
TCG_PCR_EVENT2 eventLog = TpmLogMgr_genLogEventPcrExtend(
- pcr, algId,
+ pcr, EV_NO_ACTION, algId,
digest, digestSize,
TPM_ALG_SHA1, digest,
digestSize, i_logMsg);
diff --git a/src/usr/secureboot/trusted/test/trustedbootTest.H b/src/usr/secureboot/trusted/test/trustedbootTest.H
index 04f17e0f0..c092675a4 100755
--- a/src/usr/secureboot/trusted/test/trustedbootTest.H
+++ b/src/usr/secureboot/trusted/test/trustedbootTest.H
@@ -794,6 +794,7 @@ class TrustedBootTest: public CxxTest::TestSuite
num_ops++;
pcrExtendSingleTpm(pTpm,
PCR_DEBUG,
+ EV_POST_CODE,
TPM_ALG_SHA256,
digest,
TPM_ALG_SHA256_SIZE,
OpenPOWER on IntegriCloud