From 868b68df85eb7aeed7eba3392303fa3be854e2a6 Mon Sep 17 00:00:00 2001 From: Ilya Smirnov Date: Thu, 6 Dec 2018 15:22:10 -0600 Subject: Secureboot: Add New TPM Commands For Nodecomm This commit adds four new TPM commands, and APIs thereto, for enhanced secure multinode communication protocol. The TPM commands are the base for the new protocol and will be used as part of it. Change-Id: I080ff87cd6001b5d2e13ae350a379cbc2c92bfcf RTC: 202364 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69725 Reviewed-by: Nicholas E. Bofferding Reviewed-by: Michael Baiocchi Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins Tested-by: Jenkins OP HW Reviewed-by: Daniel M. Crowell --- src/include/usr/secureboot/trustedboot_reasoncodes.H | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/include/usr/secureboot/trustedboot_reasoncodes.H') diff --git a/src/include/usr/secureboot/trustedboot_reasoncodes.H b/src/include/usr/secureboot/trustedboot_reasoncodes.H index 8c03fd272..60727239e 100644 --- a/src/include/usr/secureboot/trustedboot_reasoncodes.H +++ b/src/include/usr/secureboot/trustedboot_reasoncodes.H @@ -69,6 +69,14 @@ namespace TRUSTEDBOOT MOD_TEST_CMP_PRIMARY_AND_BACKUP_TPM = 0x17, MOD_TPM_GETRANDOM = 0x18, MOD_VALIDATE_TPM_HANDLE = 0x19, + MOD_TPM_CMD_CREATE_ATTEST = 0x1A, + MOD_CREATE_ATT_KEYS = 0x1B, + MOD_READ_AK_CERT = 0x1C, + MOD_TPM_CMD_READ_AK_CERT = 0x1D, + MOD_TPM_CMD_GEN_QUOTE = 0x1E, + MOD_GEN_QUOTE = 0x1F, + MOD_TPM_CMD_FLUSH_CONTEXT = 0x20, + MOD_FLUSH_CONTEXT = 0x21, }; enum TRUSTEDReasonCode @@ -104,6 +112,7 @@ namespace TRUSTEDBOOT RC_NON_FUNCTIONAL_TPM_HANDLE = TRBOOT_COMP_ID | 0xB9, RC_UNREACHABLE_TPM = TRBOOT_COMP_ID | 0xBA, RC_RAND_NUM_TOO_BIG = TRBOOT_COMP_ID | 0xBB, + RC_TPM_BAD_RESP = TRBOOT_COMP_ID | 0xBC, }; #ifdef __cplusplus } -- cgit v1.2.1