summaryrefslogtreecommitdiffstats
path: root/src/usr/secureboot/trusted/base
diff options
context:
space:
mode:
authorChris Engel <cjengel@us.ibm.com>2015-11-19 11:37:23 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-03-27 23:15:23 -0400
commite3d766322fb0715c0def3ca6dd850deccbd9fbbc (patch)
treef7fe4125bb2e2a2e2b00b7d745b0c7968a14c47d /src/usr/secureboot/trusted/base
parent6c5ba7c0b4d3d1694a2cdf2d6c5365027534ef5a (diff)
downloadtalos-hostboot-e3d766322fb0715c0def3ca6dd850deccbd9fbbc.tar.gz
talos-hostboot-e3d766322fb0715c0def3ca6dd850deccbd9fbbc.zip
Trustedboot support for PCR Read
cherry picked from commit 93cd77a2455e60f01b003f747368e69cfef1b844 RTC: 125287 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/701 Reviewed-by: Timothy R. Block <block@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Change-Id: I37103173d417ce1f378ee3ce76646f1028339ee0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22496 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christopher J. Engel <cjengel@us.ibm.com>
Diffstat (limited to 'src/usr/secureboot/trusted/base')
-rw-r--r--src/usr/secureboot/trusted/base/trustedTypes_base.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/secureboot/trusted/base/trustedTypes_base.C b/src/usr/secureboot/trusted/base/trustedTypes_base.C
index 3c3d8d737..bff23a911 100644
--- a/src/usr/secureboot/trusted/base/trustedTypes_base.C
+++ b/src/usr/secureboot/trusted/base/trustedTypes_base.C
@@ -130,7 +130,7 @@ namespace TRUSTEDBOOT
field32 = (uint32_t*)(i_tpmBuf);
val->pcrIndex = le32toh(*field32);
// Ensure a valid pcr index
- if (val->pcrIndex >= PCR_MAX)
+ if (val->pcrIndex >= IMPLEMENTATION_PCR)
{
*o_err = true;
i_tpmBuf = NULL;
OpenPOWER on IntegriCloud