rev180: Move TPM_CC_FIRST/LAST to TpmTypes.h

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
Stefan Berger 2023-12-11 15:24:44 -05:00 committed by Stefan Berger
parent 6d38dc72da
commit 9dfa4b4e4f
2 changed files with 2 additions and 2 deletions

View File

@ -219,8 +219,6 @@
#endif
#define MAX_TDES_BLOCK_SIZE_BYTES TDES_MAX_BLOCK_SIZE
// Additional values for benefit of code
#define TPM_CC_FIRST 0x0000011F
#define TPM_CC_LAST 0x0000019A
#if COMPRESSED_LISTS
#define ADD_FILL 0
#else

View File

@ -172,6 +172,7 @@ typedef UINT16 TPM_ECC_CURVE;
/* TPM 2.0 Part 2: Table 2:12 - Definition of TPM_CC Constants */
typedef UINT32 TPM_CC;
#define TYPE_OF_TPM_CC UINT32
#define TPM_CC_FIRST (TPM_CC)(0x0000011F)
#define TPM_CC_NV_UndefineSpaceSpecial (TPM_CC)(0x0000011F)
#define TPM_CC_EvictControl (TPM_CC)(0x00000120)
#define TPM_CC_HierarchyControl (TPM_CC)(0x00000121)
@ -293,6 +294,7 @@ typedef UINT32 TPM_CC;
#define TPM_CC_ACT_SetTimeout (TPM_CC)(0x00000198)
#define TPM_CC_ECC_Encrypt (TPM_CC)(0x00000199)
#define TPM_CC_ECC_Decrypt (TPM_CC)(0x0000019A)
#define TPM_CC_LAST (TPM_CC)(0x0000019A)
#define CC_VEND 0x20000000
#define TPM_CC_Vendor_TCG_Test (TPM_CC)(0x20000000)