mirror of
https://github.com/stefanberger/libtpms
synced 2026-01-09 22:36:18 +00:00
rev180: Move TPM_CC_FIRST/LAST to TpmTypes.h
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
6d38dc72da
commit
9dfa4b4e4f
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user