summaryrefslogtreecommitdiffstats
path: root/src/usr/secureboot/base
diff options
context:
space:
mode:
authorNick Bofferding <bofferdn@us.ibm.com>2017-04-20 16:33:39 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-04-28 14:18:34 -0400
commitf30075299ce2c078705192b1835b70eff4f08fc1 (patch)
treef8d45e2052765457bee020e7b9b3b60d37f5b6a4 /src/usr/secureboot/base
parent21187e0ac2c55cd238b915a0d1c9e80ff2fbaacd (diff)
downloadtalos-hostboot-f30075299ce2c078705192b1835b70eff4f08fc1.tar.gz
talos-hostboot-f30075299ce2c078705192b1835b70eff4f08fc1.zip
Support setting security mode based on SBE key indicator bit
Change-Id: I9db3857b73116db5761b55eb3aa6ec7e47dd4c3d RTC: 170650 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39515 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/secureboot/base')
-rw-r--r--src/usr/secureboot/base/containerheader.C6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr/secureboot/base/containerheader.C b/src/usr/secureboot/base/containerheader.C
index 7c518adbf..e01ab381f 100644
--- a/src/usr/secureboot/base/containerheader.C
+++ b/src/usr/secureboot/base/containerheader.C
@@ -233,8 +233,10 @@ void ContainerHeader::parseFlags()
iv_sbFlags.hw_hb_fw = iv_headerInfo.hw_prefix_hdr.flags & HB_FW_FLAG;
iv_sbFlags.hw_opal = iv_headerInfo.hw_prefix_hdr.flags & OPAL_FLAG;
iv_sbFlags.hw_phyp = iv_headerInfo.hw_prefix_hdr.flags & PHYP_FLAG;
- iv_sbFlags.hw_key_transition = iv_headerInfo.hw_prefix_hdr.flags
- & KEY_TRANSITION_FLAG;
+ iv_sbFlags.hw_lab_override =( iv_headerInfo.hw_prefix_hdr.flags
+ & LAB_OVERRIDE_FLAG);
+ iv_sbFlags.hw_key_transition =( iv_headerInfo.hw_prefix_hdr.flags
+ & KEY_TRANSITION_FLAG);
}
void ContainerHeader::genHwKeyHash()
OpenPOWER on IntegriCloud