From 323f71eb613da944418317c76b6cf38ba7e0760e Mon Sep 17 00:00:00 2001 From: Mike Baiocchi Date: Thu, 14 Jun 2018 12:11:52 -0500 Subject: 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 Reviewed-by: Nicholas E. Bofferding Tested-by: Jenkins Server Reviewed-by: Marshall J. Wilks Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: William G. Hoffa --- src/include/usr/secureboot/secure_reasoncodes.H | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/include/usr') 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 }; -- cgit v1.2.3