diff options
| author | Chris Engel <cjengel@us.ibm.com> | 2016-01-22 13:27:03 -0600 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-05-13 13:06:26 -0400 |
| commit | 004d1a204d653f7658427f7ebf10cca769ec3ef9 (patch) | |
| tree | 47cd3220d6a23a9a7f74b9b00211f746fc7aff44 /src/usr/secureboot/trusted/base | |
| parent | ec7c3db64967522e44713766119c0023382e9bc7 (diff) | |
| download | blackbird-hostboot-004d1a204d653f7658427f7ebf10cca769ec3ef9.tar.gz blackbird-hostboot-004d1a204d653f7658427f7ebf10cca769ec3ef9.zip | |
Extend basic config entries to TPM
Change-Id: I17c215c3120782d022ade0ac8343934c64e2e13e
Original-Change-Id: I92e2c7758ebac2912caa9f449c3531c584487bd5
FowardPort: yes
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22002
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24481
Tested-by: Jenkins Server
Tested-by: FSP CI Jenkins
Reviewed-by: Christopher J. Engel <cjengel@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/secureboot/trusted/base')
| -rw-r--r-- | src/usr/secureboot/trusted/base/trustedboot_base.C | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/usr/secureboot/trusted/base/trustedboot_base.C b/src/usr/secureboot/trusted/base/trustedboot_base.C index ea17bc39b..61e7a12a2 100644 --- a/src/usr/secureboot/trusted/base/trustedboot_base.C +++ b/src/usr/secureboot/trusted/base/trustedboot_base.C @@ -90,10 +90,8 @@ errlHndl_t pcrExtend(TPM_Pcr i_pcr, TRACDCOMP( g_trac_trustedboot, ENTER_MRK"pcrExtend()" ); TRACUCOMP( g_trac_trustedboot, - ENTER_MRK"pcrExtend() pcr=%d msg='%s' digest=%016llX", - i_pcr, - i_logMsg, - *(reinterpret_cast<uint64_t*>(i_digest))); + ENTER_MRK"pcrExtend() pcr=%d msg='%s'", i_pcr, i_logMsg); + TRACFBIN(g_trac_trustedboot, "pcrExtend() digest:", i_digest, i_digestSize); // Ensure proper digest size uint8_t digestData[fullDigestSize]; @@ -109,6 +107,7 @@ errlHndl_t pcrExtend(TPM_Pcr i_pcr, (strlen(i_logMsg) < MAX_TPM_LOG_MSG ? strlen(i_logMsg) : MAX_TPM_LOG_MSG)); + for (size_t idx = 0; idx < MAX_SYSTEM_TPMS; idx++) { // Add the event to this TPM, if an error occurs the TPM will |

