summaryrefslogtreecommitdiffstats
path: root/src/include/usr/secureboot
diff options
context:
space:
mode:
authorMike Baiocchi <mbaiocch@us.ibm.com>2018-06-14 12:11:52 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-06-21 15:54:05 -0400
commit323f71eb613da944418317c76b6cf38ba7e0760e (patch)
treefbe706480fe3d2043a1373a700b499463485eb83 /src/include/usr/secureboot
parent24f3312ea1d3d45feca870c7c919bcbd69ef0ff4 (diff)
downloadblackbird-hostboot-323f71eb613da944418317c76b6cf38ba7e0760e.tar.gz
blackbird-hostboot-323f71eb613da944418317c76b6cf38ba7e0760e.zip
Add TPM Calls to Node Communication ABUS Exchange Procedure
This commit adds the TPM calls to generate a random number and log ('extend') the nonces passed between the nodes via the ABUSes. It also cleans up some other TODOs and traces. Change-Id: I1389af2d809351421f3c2b3b954b3eaf6b0506aa RTC:184518 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60962 Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@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: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/usr/secureboot')
-rw-r--r--src/include/usr/secureboot/secure_reasoncodes.H10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/usr/secureboot/secure_reasoncodes.H b/src/include/usr/secureboot/secure_reasoncodes.H
index 8b18b9a5e..17abc8ce6 100644
--- a/src/include/usr/secureboot/secure_reasoncodes.H
+++ b/src/include/usr/secureboot/secure_reasoncodes.H
@@ -57,6 +57,11 @@ namespace SECUREBOOT
MOD_NC_MAP_ATTN = 0x23,
MOD_NCDD_PERFORM_OP = 0x24,
MOD_NCDD_WRITE = 0x25,
+ MOD_NCEX_MAIN = 0x26,
+ MOD_NCEX_MASTER = 0x27,
+ MOD_NCEX_SLAVE = 0x28,
+ MOD_NCEX_GET_RANDOM = 0x29,
+ MOD_NCEX_RECV = 0x2A,
};
enum SECUREReasonCode
@@ -91,6 +96,11 @@ namespace SECUREBOOT
RC_NC_TOO_MANY_ATTNS_FOUND = SECURE_COMP_ID | 0x24,
RC_NCDD_INVALID_ARGS = SECURE_COMP_ID | 0x25,
RC_NCDD_DATA_NOT_SENT = SECURE_COMP_ID | 0x26,
+ RC_NCEX_MISMATCH_RECV_LINKS = SECURE_COMP_ID | 0x27,
+ RC_NCEX_NO_FUNCTIONAL_TPMS = SECURE_COMP_ID | 0x28,
+ RC_NCEX_INVALID_PHYS_PATH = SECURE_COMP_ID | 0x29,
+ RC_NCEX_INVALID_INSTANCE_COUNT = SECURE_COMP_ID | 0x2A,
+ RC_NCEX_WAITING_TIMEOUT = SECURE_COMP_ID | 0x2B,
// Reason codes 0xA0 - 0xEF reserved for trustedboot_reasoncodes.H
};
OpenPOWER on IntegriCloud