summaryrefslogtreecommitdiffstats
path: root/src/usr/secureboot/trusted
diff options
context:
space:
mode:
authorChris Engel <cjengel@us.ibm.com>2016-11-28 16:11:47 -0600
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2016-12-05 10:25:26 -0500
commit514a00bedd44d2bd5a6438eb959220f54892a1b3 (patch)
tree7078f6bace27f2d92ddfeaf08706f937103dbc0e /src/usr/secureboot/trusted
parent3782e264d06a4e546fe2298bbd1d53e2de38d062 (diff)
downloadtalos-hostboot-514a00bedd44d2bd5a6438eb959220f54892a1b3.tar.gz
talos-hostboot-514a00bedd44d2bd5a6438eb959220f54892a1b3.zip
Fix TPM log header SPEC errata and invalid digest
Change-Id: I79a108fb547cb1eb3166ee14f675b8572d7e0cc8 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33071 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: Timothy R. Block <block@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33181 Reviewed-by: Christopher J. Engel <cjengel@us.ibm.com>
Diffstat (limited to 'src/usr/secureboot/trusted')
-rw-r--r--src/usr/secureboot/trusted/tpmLogMgr.C1
-rw-r--r--src/usr/secureboot/trusted/trustedTypes.H2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/secureboot/trusted/tpmLogMgr.C b/src/usr/secureboot/trusted/tpmLogMgr.C
index ecefe9e5b..cdc56f07e 100644
--- a/src/usr/secureboot/trusted/tpmLogMgr.C
+++ b/src/usr/secureboot/trusted/tpmLogMgr.C
@@ -103,6 +103,7 @@ namespace TRUSTEDBOOT
i_val->newEventPtr = i_val->eventLog;
memset(i_val->eventLog, 0, TPMLOG_BUFFER_SIZE);
+ memset(&eventLogEntry, 0, sizeof(eventLogEntry));
eventData = (TCG_EfiSpecIdEventStruct*) eventLogEntry.event;
// Add the header event log
diff --git a/src/usr/secureboot/trusted/trustedTypes.H b/src/usr/secureboot/trusted/trustedTypes.H
index 104eeab99..8a4cc434e 100644
--- a/src/usr/secureboot/trusted/trustedTypes.H
+++ b/src/usr/secureboot/trusted/trustedTypes.H
@@ -99,7 +99,7 @@ namespace TRUSTEDBOOT
// TPM Spec supported
TPM_SPEC_MAJOR = 2,
TPM_SPEC_MINOR = 0,
- TPM_SPEC_ERRATA = 0,
+ TPM_SPEC_ERRATA = 2,
TPM_PLATFORM_SERVER = 1,
// Command structure tags
OpenPOWER on IntegriCloud