iPXE
Data Structures | Macros | Typedefs | Functions
Tpm20.h File Reference

TPM2.0 Specification data structures (Trusted Platform Module Library Specification, Family "2.0", Level 00, Revision 00.96, @http://www.trustedcomputinggroup.org/resources/tpm_library_specification) More...

#include <ipxe/efi/IndustryStandard/Tpm12.h>

Go to the source code of this file.

Data Structures

struct  TPMA_ALGORITHM
 
struct  TPMA_OBJECT
 
struct  TPMA_SESSION
 
struct  TPMA_LOCALITY
 
struct  TPMA_PERMANENT
 
struct  TPMA_STARTUP_CLEAR
 
struct  TPMA_MEMORY
 
struct  TPMA_CC
 
struct  TPMS_ALGORITHM_DESCRIPTION
 
union  TPMU_HA
 
struct  TPMT_HA
 
struct  TPM2B_DIGEST
 
struct  TPM2B_DATA
 
struct  TPM2B_EVENT
 
struct  TPM2B_MAX_BUFFER
 
struct  TPM2B_MAX_NV_BUFFER
 
struct  TPM2B_TIMEOUT
 
struct  TPM2B_IV
 
union  TPMU_NAME
 
struct  TPM2B_NAME
 
struct  TPMS_PCR_SELECT
 
struct  TPMS_PCR_SELECTION
 
struct  TPMT_TK_CREATION
 
struct  TPMT_TK_VERIFIED
 
struct  TPMT_TK_AUTH
 
struct  TPMT_TK_HASHCHECK
 
struct  TPMS_ALG_PROPERTY
 
struct  TPMS_TAGGED_PROPERTY
 
struct  TPMS_TAGGED_PCR_SELECT
 
struct  TPML_CC
 
struct  TPML_CCA
 
struct  TPML_ALG
 
struct  TPML_HANDLE
 
struct  TPML_DIGEST
 
struct  TPML_DIGEST_VALUES
 
struct  TPM2B_DIGEST_VALUES
 
struct  TPML_PCR_SELECTION
 
struct  TPML_ALG_PROPERTY
 
struct  TPML_TAGGED_TPM_PROPERTY
 
struct  TPML_TAGGED_PCR_PROPERTY
 
struct  TPML_ECC_CURVE
 
union  TPMU_CAPABILITIES
 
struct  TPMS_CAPABILITY_DATA
 
struct  TPMS_CLOCK_INFO
 
struct  TPMS_TIME_INFO
 
struct  TPMS_TIME_ATTEST_INFO
 
struct  TPMS_CERTIFY_INFO
 
struct  TPMS_QUOTE_INFO
 
struct  TPMS_COMMAND_AUDIT_INFO
 
struct  TPMS_SESSION_AUDIT_INFO
 
struct  TPMS_CREATION_INFO
 
struct  TPMS_NV_CERTIFY_INFO
 
union  TPMU_ATTEST
 
struct  TPMS_ATTEST
 
struct  TPM2B_ATTEST
 
struct  TPMS_AUTH_COMMAND
 
struct  TPMS_AUTH_RESPONSE
 
union  TPMU_SYM_KEY_BITS
 
union  TPMU_SYM_MODE
 
struct  TPMT_SYM_DEF
 
struct  TPMT_SYM_DEF_OBJECT
 
struct  TPM2B_SYM_KEY
 
struct  TPMS_SYMCIPHER_PARMS
 
struct  TPM2B_SENSITIVE_DATA
 
struct  TPMS_SENSITIVE_CREATE
 
struct  TPM2B_SENSITIVE_CREATE
 
struct  TPMS_SCHEME_SIGHASH
 
struct  TPMS_SCHEME_XOR
 
union  TPMU_SCHEME_KEYEDHASH
 
struct  TPMT_KEYEDHASH_SCHEME
 
struct  TPMS_SCHEME_ECDAA
 
union  TPMU_SIG_SCHEME
 
struct  TPMT_SIG_SCHEME
 
struct  TPMS_SCHEME_OAEP
 
struct  TPMS_SCHEME_ECDH
 
struct  TPMS_SCHEME_MGF1
 
struct  TPMS_SCHEME_KDF1_SP800_56a
 
struct  TPMS_SCHEME_KDF2
 
struct  TPMS_SCHEME_KDF1_SP800_108
 
union  TPMU_KDF_SCHEME
 
struct  TPMT_KDF_SCHEME
 
union  TPMU_ASYM_SCHEME
 
struct  TPMT_ASYM_SCHEME
 
struct  TPMT_RSA_SCHEME
 
struct  TPMT_RSA_DECRYPT
 
struct  TPM2B_PUBLIC_KEY_RSA
 
struct  TPM2B_PRIVATE_KEY_RSA
 
struct  TPM2B_ECC_PARAMETER
 
struct  TPMS_ECC_POINT
 
struct  TPM2B_ECC_POINT
 
struct  TPMT_ECC_SCHEME
 
struct  TPMS_ALGORITHM_DETAIL_ECC
 
struct  TPMS_SIGNATURE_RSASSA
 
struct  TPMS_SIGNATURE_RSAPSS
 
struct  TPMS_SIGNATURE_ECDSA
 
union  TPMU_SIGNATURE
 
struct  TPMT_SIGNATURE
 
union  TPMU_ENCRYPTED_SECRET
 
struct  TPM2B_ENCRYPTED_SECRET
 
union  TPMU_PUBLIC_ID
 
struct  TPMS_KEYEDHASH_PARMS
 
struct  TPMS_ASYM_PARMS
 
struct  TPMS_RSA_PARMS
 
struct  TPMS_ECC_PARMS
 
union  TPMU_PUBLIC_PARMS
 
struct  TPMT_PUBLIC_PARMS
 
struct  TPMT_PUBLIC
 
struct  TPM2B_PUBLIC
 
struct  TPM2B_PRIVATE_VENDOR_SPECIFIC
 
union  TPMU_SENSITIVE_COMPOSITE
 
struct  TPMT_SENSITIVE
 
struct  TPM2B_SENSITIVE
 
struct  _PRIVATE
 
struct  TPM2B_PRIVATE
 
struct  _ID_OBJECT
 
struct  TPM2B_ID_OBJECT
 
struct  TPMA_NV
 
struct  TPMS_NV_PUBLIC
 
struct  TPM2B_NV_PUBLIC
 
struct  TPM2B_CONTEXT_SENSITIVE
 
struct  TPMS_CONTEXT_DATA
 
struct  TPM2B_CONTEXT_DATA
 
struct  TPMS_CONTEXT
 
struct  TPMS_CREATION_DATA
 
struct  TPM2B_CREATION_DATA
 
struct  TPM2_COMMAND_HEADER
 
struct  TPM2_RESPONSE_HEADER
 

Macros

#define SHA1_DIGEST_SIZE   20
 
#define SHA1_BLOCK_SIZE   64
 
#define SHA256_DIGEST_SIZE   32
 
#define SHA256_BLOCK_SIZE   64
 
#define SHA384_DIGEST_SIZE   48
 
#define SHA384_BLOCK_SIZE   128
 
#define SHA512_DIGEST_SIZE   64
 
#define SHA512_BLOCK_SIZE   128
 
#define SM3_256_DIGEST_SIZE   32
 
#define SM3_256_BLOCK_SIZE   64
 
#define MAX_SESSION_NUMBER   3
 
#define YES   1
 
#define NO   0
 
#define SET   1
 
#define CLEAR   0
 
#define MAX_RSA_KEY_BITS   2048
 
#define MAX_RSA_KEY_BYTES   ((MAX_RSA_KEY_BITS + 7) / 8)
 
#define MAX_ECC_KEY_BITS   256
 
#define MAX_ECC_KEY_BYTES   ((MAX_ECC_KEY_BITS + 7) / 8)
 
#define MAX_AES_KEY_BITS   128
 
#define MAX_AES_BLOCK_SIZE_BYTES   16
 
#define MAX_AES_KEY_BYTES   ((MAX_AES_KEY_BITS + 7) / 8)
 
#define MAX_SM4_KEY_BITS   128
 
#define MAX_SM4_BLOCK_SIZE_BYTES   16
 
#define MAX_SM4_KEY_BYTES   ((MAX_SM4_KEY_BITS + 7) / 8)
 
#define MAX_SYM_KEY_BITS   MAX_AES_KEY_BITS
 
#define MAX_SYM_KEY_BYTES   MAX_AES_KEY_BYTES
 
#define MAX_SYM_BLOCK_SIZE   MAX_AES_BLOCK_SIZE_BYTES
 
#define BUFFER_ALIGNMENT   4
 
#define IMPLEMENTATION_PCR   24
 
#define PLATFORM_PCR   24
 
#define DRTM_PCR   17
 
#define NUM_LOCALITIES   5
 
#define MAX_HANDLE_NUM   3
 
#define MAX_ACTIVE_SESSIONS   64
 
#define MAX_LOADED_SESSIONS   3
 
#define MAX_SESSION_NUM   3
 
#define MAX_LOADED_OBJECTS   3
 
#define MIN_EVICT_OBJECTS   2
 
#define PCR_SELECT_MIN   ((PLATFORM_PCR + 7) / 8)
 
#define PCR_SELECT_MAX   ((IMPLEMENTATION_PCR + 7) / 8)
 
#define NUM_POLICY_PCR_GROUP   1
 
#define NUM_AUTHVALUE_PCR_GROUP   1
 
#define MAX_CONTEXT_SIZE   4000
 
#define MAX_DIGEST_BUFFER   1024
 
#define MAX_NV_INDEX_SIZE   1024
 
#define MAX_CAP_BUFFER   1024
 
#define NV_MEMORY_SIZE   16384
 
#define NUM_STATIC_PCR   16
 
#define MAX_ALG_LIST_SIZE   64
 
#define TIMER_PRESCALE   100000
 
#define PRIMARY_SEED_SIZE   32
 
#define CONTEXT_ENCRYPT_ALG   TPM_ALG_AES
 
#define CONTEXT_ENCRYPT_KEY_BITS   MAX_SYM_KEY_BITS
 
#define CONTEXT_ENCRYPT_KEY_BYTES   ((CONTEXT_ENCRYPT_KEY_BITS + 7) / 8)
 
#define CONTEXT_INTEGRITY_HASH_ALG   TPM_ALG_SHA256
 
#define CONTEXT_INTEGRITY_HASH_SIZE   SHA256_DIGEST_SIZE
 
#define PROOF_SIZE   CONTEXT_INTEGRITY_HASH_SIZE
 
#define NV_CLOCK_UPDATE_INTERVAL   12
 
#define NUM_POLICY_PCR   1
 
#define MAX_COMMAND_SIZE   4096
 
#define MAX_RESPONSE_SIZE   4096
 
#define ORDERLY_BITS   8
 
#define MAX_ORDERLY_COUNT   ((1 << ORDERLY_BITS) - 1)
 
#define ALG_ID_FIRST   TPM_ALG_FIRST
 
#define ALG_ID_LAST   TPM_ALG_LAST
 
#define MAX_SYM_DATA   128
 
#define MAX_RNG_ENTROPY_SIZE   64
 
#define RAM_INDEX_SPACE   512
 
#define RSA_DEFAULT_PUBLIC_EXPONENT   0x00010001
 
#define CRT_FORMAT_RSA   YES
 
#define PRIVATE_VENDOR_SPECIFIC_BYTES   ((MAX_RSA_KEY_BYTES / 2) * ( 3 + CRT_FORMAT_RSA * 2))
 
#define MAX_CAP_DATA   (MAX_CAP_BUFFER - sizeof(TPM_CAP) - sizeof(UINT32))
 
#define MAX_CAP_ALGS   (MAX_CAP_DATA / sizeof(TPMS_ALG_PROPERTY))
 
#define MAX_CAP_HANDLES   (MAX_CAP_DATA / sizeof(TPM_HANDLE))
 
#define MAX_CAP_CC   (MAX_CAP_DATA / sizeof(TPM_CC))
 
#define MAX_TPM_PROPERTIES   (MAX_CAP_DATA / sizeof(TPMS_TAGGED_PROPERTY))
 
#define MAX_PCR_PROPERTIES   (MAX_CAP_DATA / sizeof(TPMS_TAGGED_PCR_SELECT))
 
#define MAX_ECC_CURVES   (MAX_CAP_DATA / sizeof(TPM_ECC_CURVE))
 
#define HASH_COUNT   5
 
#define TPM_GENERATED_VALUE   (TPM_GENERATED)(0xff544347)
 
#define TPM_ALG_ERROR   (TPM_ALG_ID)(0x0000)
 
#define TPM_ALG_FIRST   (TPM_ALG_ID)(0x0001)
 
#define TPM_ALG_SHA1   (TPM_ALG_ID)(0x0004)
 
#define TPM_ALG_AES   (TPM_ALG_ID)(0x0006)
 
#define TPM_ALG_KEYEDHASH   (TPM_ALG_ID)(0x0008)
 
#define TPM_ALG_SHA256   (TPM_ALG_ID)(0x000B)
 
#define TPM_ALG_SHA384   (TPM_ALG_ID)(0x000C)
 
#define TPM_ALG_SHA512   (TPM_ALG_ID)(0x000D)
 
#define TPM_ALG_NULL   (TPM_ALG_ID)(0x0010)
 
#define TPM_ALG_SM3_256   (TPM_ALG_ID)(0x0012)
 
#define TPM_ALG_SM4   (TPM_ALG_ID)(0x0013)
 
#define TPM_ALG_RSASSA   (TPM_ALG_ID)(0x0014)
 
#define TPM_ALG_RSAES   (TPM_ALG_ID)(0x0015)
 
#define TPM_ALG_RSAPSS   (TPM_ALG_ID)(0x0016)
 
#define TPM_ALG_OAEP   (TPM_ALG_ID)(0x0017)
 
#define TPM_ALG_ECDSA   (TPM_ALG_ID)(0x0018)
 
#define TPM_ALG_ECDH   (TPM_ALG_ID)(0x0019)
 
#define TPM_ALG_ECDAA   (TPM_ALG_ID)(0x001A)
 
#define TPM_ALG_SM2   (TPM_ALG_ID)(0x001B)
 
#define TPM_ALG_ECSCHNORR   (TPM_ALG_ID)(0x001C)
 
#define TPM_ALG_ECMQV   (TPM_ALG_ID)(0x001D)
 
#define TPM_ALG_KDF1_SP800_56a   (TPM_ALG_ID)(0x0020)
 
#define TPM_ALG_KDF2   (TPM_ALG_ID)(0x0021)
 
#define TPM_ALG_KDF1_SP800_108   (TPM_ALG_ID)(0x0022)
 
#define TPM_ALG_ECC   (TPM_ALG_ID)(0x0023)
 
#define TPM_ALG_SYMCIPHER   (TPM_ALG_ID)(0x0025)
 
#define TPM_ALG_CTR   (TPM_ALG_ID)(0x0040)
 
#define TPM_ALG_OFB   (TPM_ALG_ID)(0x0041)
 
#define TPM_ALG_CBC   (TPM_ALG_ID)(0x0042)
 
#define TPM_ALG_CFB   (TPM_ALG_ID)(0x0043)
 
#define TPM_ALG_ECB   (TPM_ALG_ID)(0x0044)
 
#define TPM_ALG_LAST   (TPM_ALG_ID)(0x0044)
 
#define TPM_ECC_NONE   (TPM_ECC_CURVE)(0x0000)
 
#define TPM_ECC_NIST_P192   (TPM_ECC_CURVE)(0x0001)
 
#define TPM_ECC_NIST_P224   (TPM_ECC_CURVE)(0x0002)
 
#define TPM_ECC_NIST_P256   (TPM_ECC_CURVE)(0x0003)
 
#define TPM_ECC_NIST_P384   (TPM_ECC_CURVE)(0x0004)
 
#define TPM_ECC_NIST_P521   (TPM_ECC_CURVE)(0x0005)
 
#define TPM_ECC_BN_P256   (TPM_ECC_CURVE)(0x0010)
 
#define TPM_ECC_BN_P638   (TPM_ECC_CURVE)(0x0011)
 
#define TPM_ECC_SM2_P256   (TPM_ECC_CURVE)(0x0020)
 
#define TPM_CC_FIRST   (TPM_CC)(0x0000011F)
 
#define TPM_CC_PP_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)
 
#define TPM_CC_NV_UndefineSpace   (TPM_CC)(0x00000122)
 
#define TPM_CC_ChangeEPS   (TPM_CC)(0x00000124)
 
#define TPM_CC_ChangePPS   (TPM_CC)(0x00000125)
 
#define TPM_CC_Clear   (TPM_CC)(0x00000126)
 
#define TPM_CC_ClearControl   (TPM_CC)(0x00000127)
 
#define TPM_CC_ClockSet   (TPM_CC)(0x00000128)
 
#define TPM_CC_HierarchyChangeAuth   (TPM_CC)(0x00000129)
 
#define TPM_CC_NV_DefineSpace   (TPM_CC)(0x0000012A)
 
#define TPM_CC_PCR_Allocate   (TPM_CC)(0x0000012B)
 
#define TPM_CC_PCR_SetAuthPolicy   (TPM_CC)(0x0000012C)
 
#define TPM_CC_PP_Commands   (TPM_CC)(0x0000012D)
 
#define TPM_CC_SetPrimaryPolicy   (TPM_CC)(0x0000012E)
 
#define TPM_CC_FieldUpgradeStart   (TPM_CC)(0x0000012F)
 
#define TPM_CC_ClockRateAdjust   (TPM_CC)(0x00000130)
 
#define TPM_CC_CreatePrimary   (TPM_CC)(0x00000131)
 
#define TPM_CC_NV_GlobalWriteLock   (TPM_CC)(0x00000132)
 
#define TPM_CC_PP_LAST   (TPM_CC)(0x00000132)
 
#define TPM_CC_GetCommandAuditDigest   (TPM_CC)(0x00000133)
 
#define TPM_CC_NV_Increment   (TPM_CC)(0x00000134)
 
#define TPM_CC_NV_SetBits   (TPM_CC)(0x00000135)
 
#define TPM_CC_NV_Extend   (TPM_CC)(0x00000136)
 
#define TPM_CC_NV_Write   (TPM_CC)(0x00000137)
 
#define TPM_CC_NV_WriteLock   (TPM_CC)(0x00000138)
 
#define TPM_CC_DictionaryAttackLockReset   (TPM_CC)(0x00000139)
 
#define TPM_CC_DictionaryAttackParameters   (TPM_CC)(0x0000013A)
 
#define TPM_CC_NV_ChangeAuth   (TPM_CC)(0x0000013B)
 
#define TPM_CC_PCR_Event   (TPM_CC)(0x0000013C)
 
#define TPM_CC_PCR_Reset   (TPM_CC)(0x0000013D)
 
#define TPM_CC_SequenceComplete   (TPM_CC)(0x0000013E)
 
#define TPM_CC_SetAlgorithmSet   (TPM_CC)(0x0000013F)
 
#define TPM_CC_SetCommandCodeAuditStatus   (TPM_CC)(0x00000140)
 
#define TPM_CC_FieldUpgradeData   (TPM_CC)(0x00000141)
 
#define TPM_CC_IncrementalSelfTest   (TPM_CC)(0x00000142)
 
#define TPM_CC_SelfTest   (TPM_CC)(0x00000143)
 
#define TPM_CC_Startup   (TPM_CC)(0x00000144)
 
#define TPM_CC_Shutdown   (TPM_CC)(0x00000145)
 
#define TPM_CC_StirRandom   (TPM_CC)(0x00000146)
 
#define TPM_CC_ActivateCredential   (TPM_CC)(0x00000147)
 
#define TPM_CC_Certify   (TPM_CC)(0x00000148)
 
#define TPM_CC_PolicyNV   (TPM_CC)(0x00000149)
 
#define TPM_CC_CertifyCreation   (TPM_CC)(0x0000014A)
 
#define TPM_CC_Duplicate   (TPM_CC)(0x0000014B)
 
#define TPM_CC_GetTime   (TPM_CC)(0x0000014C)
 
#define TPM_CC_GetSessionAuditDigest   (TPM_CC)(0x0000014D)
 
#define TPM_CC_NV_Read   (TPM_CC)(0x0000014E)
 
#define TPM_CC_NV_ReadLock   (TPM_CC)(0x0000014F)
 
#define TPM_CC_ObjectChangeAuth   (TPM_CC)(0x00000150)
 
#define TPM_CC_PolicySecret   (TPM_CC)(0x00000151)
 
#define TPM_CC_Rewrap   (TPM_CC)(0x00000152)
 
#define TPM_CC_Create   (TPM_CC)(0x00000153)
 
#define TPM_CC_ECDH_ZGen   (TPM_CC)(0x00000154)
 
#define TPM_CC_HMAC   (TPM_CC)(0x00000155)
 
#define TPM_CC_Import   (TPM_CC)(0x00000156)
 
#define TPM_CC_Load   (TPM_CC)(0x00000157)
 
#define TPM_CC_Quote   (TPM_CC)(0x00000158)
 
#define TPM_CC_RSA_Decrypt   (TPM_CC)(0x00000159)
 
#define TPM_CC_HMAC_Start   (TPM_CC)(0x0000015B)
 
#define TPM_CC_SequenceUpdate   (TPM_CC)(0x0000015C)
 
#define TPM_CC_Sign   (TPM_CC)(0x0000015D)
 
#define TPM_CC_Unseal   (TPM_CC)(0x0000015E)
 
#define TPM_CC_PolicySigned   (TPM_CC)(0x00000160)
 
#define TPM_CC_ContextLoad   (TPM_CC)(0x00000161)
 
#define TPM_CC_ContextSave   (TPM_CC)(0x00000162)
 
#define TPM_CC_ECDH_KeyGen   (TPM_CC)(0x00000163)
 
#define TPM_CC_EncryptDecrypt   (TPM_CC)(0x00000164)
 
#define TPM_CC_FlushContext   (TPM_CC)(0x00000165)
 
#define TPM_CC_LoadExternal   (TPM_CC)(0x00000167)
 
#define TPM_CC_MakeCredential   (TPM_CC)(0x00000168)
 
#define TPM_CC_NV_ReadPublic   (TPM_CC)(0x00000169)
 
#define TPM_CC_PolicyAuthorize   (TPM_CC)(0x0000016A)
 
#define TPM_CC_PolicyAuthValue   (TPM_CC)(0x0000016B)
 
#define TPM_CC_PolicyCommandCode   (TPM_CC)(0x0000016C)
 
#define TPM_CC_PolicyCounterTimer   (TPM_CC)(0x0000016D)
 
#define TPM_CC_PolicyCpHash   (TPM_CC)(0x0000016E)
 
#define TPM_CC_PolicyLocality   (TPM_CC)(0x0000016F)
 
#define TPM_CC_PolicyNameHash   (TPM_CC)(0x00000170)
 
#define TPM_CC_PolicyOR   (TPM_CC)(0x00000171)
 
#define TPM_CC_PolicyTicket   (TPM_CC)(0x00000172)
 
#define TPM_CC_ReadPublic   (TPM_CC)(0x00000173)
 
#define TPM_CC_RSA_Encrypt   (TPM_CC)(0x00000174)
 
#define TPM_CC_StartAuthSession   (TPM_CC)(0x00000176)
 
#define TPM_CC_VerifySignature   (TPM_CC)(0x00000177)
 
#define TPM_CC_ECC_Parameters   (TPM_CC)(0x00000178)
 
#define TPM_CC_FirmwareRead   (TPM_CC)(0x00000179)
 
#define TPM_CC_GetCapability   (TPM_CC)(0x0000017A)
 
#define TPM_CC_GetRandom   (TPM_CC)(0x0000017B)
 
#define TPM_CC_GetTestResult   (TPM_CC)(0x0000017C)
 
#define TPM_CC_Hash   (TPM_CC)(0x0000017D)
 
#define TPM_CC_PCR_Read   (TPM_CC)(0x0000017E)
 
#define TPM_CC_PolicyPCR   (TPM_CC)(0x0000017F)
 
#define TPM_CC_PolicyRestart   (TPM_CC)(0x00000180)
 
#define TPM_CC_ReadClock   (TPM_CC)(0x00000181)
 
#define TPM_CC_PCR_Extend   (TPM_CC)(0x00000182)
 
#define TPM_CC_PCR_SetAuthValue   (TPM_CC)(0x00000183)
 
#define TPM_CC_NV_Certify   (TPM_CC)(0x00000184)
 
#define TPM_CC_EventSequenceComplete   (TPM_CC)(0x00000185)
 
#define TPM_CC_HashSequenceStart   (TPM_CC)(0x00000186)
 
#define TPM_CC_PolicyPhysicalPresence   (TPM_CC)(0x00000187)
 
#define TPM_CC_PolicyDuplicationSelect   (TPM_CC)(0x00000188)
 
#define TPM_CC_PolicyGetDigest   (TPM_CC)(0x00000189)
 
#define TPM_CC_TestParms   (TPM_CC)(0x0000018A)
 
#define TPM_CC_Commit   (TPM_CC)(0x0000018B)
 
#define TPM_CC_PolicyPassword   (TPM_CC)(0x0000018C)
 
#define TPM_CC_ZGen_2Phase   (TPM_CC)(0x0000018D)
 
#define TPM_CC_EC_Ephemeral   (TPM_CC)(0x0000018E)
 
#define TPM_CC_LAST   (TPM_CC)(0x0000018E)
 
#define TPM_RC_SUCCESS   (TPM_RC)(0x000)
 
#define TPM_RC_BAD_TAG   (TPM_RC)(0x030)
 
#define RC_VER1   (TPM_RC)(0x100)
 
#define TPM_RC_INITIALIZE   (TPM_RC)(RC_VER1 + 0x000)
 
#define TPM_RC_FAILURE   (TPM_RC)(RC_VER1 + 0x001)
 
#define TPM_RC_SEQUENCE   (TPM_RC)(RC_VER1 + 0x003)
 
#define TPM_RC_PRIVATE   (TPM_RC)(RC_VER1 + 0x00B)
 
#define TPM_RC_HMAC   (TPM_RC)(RC_VER1 + 0x019)
 
#define TPM_RC_DISABLED   (TPM_RC)(RC_VER1 + 0x020)
 
#define TPM_RC_EXCLUSIVE   (TPM_RC)(RC_VER1 + 0x021)
 
#define TPM_RC_AUTH_TYPE   (TPM_RC)(RC_VER1 + 0x024)
 
#define TPM_RC_AUTH_MISSING   (TPM_RC)(RC_VER1 + 0x025)
 
#define TPM_RC_POLICY   (TPM_RC)(RC_VER1 + 0x026)
 
#define TPM_RC_PCR   (TPM_RC)(RC_VER1 + 0x027)
 
#define TPM_RC_PCR_CHANGED   (TPM_RC)(RC_VER1 + 0x028)
 
#define TPM_RC_UPGRADE   (TPM_RC)(RC_VER1 + 0x02D)
 
#define TPM_RC_TOO_MANY_CONTEXTS   (TPM_RC)(RC_VER1 + 0x02E)
 
#define TPM_RC_AUTH_UNAVAILABLE   (TPM_RC)(RC_VER1 + 0x02F)
 
#define TPM_RC_REBOOT   (TPM_RC)(RC_VER1 + 0x030)
 
#define TPM_RC_UNBALANCED   (TPM_RC)(RC_VER1 + 0x031)
 
#define TPM_RC_COMMAND_SIZE   (TPM_RC)(RC_VER1 + 0x042)
 
#define TPM_RC_COMMAND_CODE   (TPM_RC)(RC_VER1 + 0x043)
 
#define TPM_RC_AUTHSIZE   (TPM_RC)(RC_VER1 + 0x044)
 
#define TPM_RC_AUTH_CONTEXT   (TPM_RC)(RC_VER1 + 0x045)
 
#define TPM_RC_NV_RANGE   (TPM_RC)(RC_VER1 + 0x046)
 
#define TPM_RC_NV_SIZE   (TPM_RC)(RC_VER1 + 0x047)
 
#define TPM_RC_NV_LOCKED   (TPM_RC)(RC_VER1 + 0x048)
 
#define TPM_RC_NV_AUTHORIZATION   (TPM_RC)(RC_VER1 + 0x049)
 
#define TPM_RC_NV_UNINITIALIZED   (TPM_RC)(RC_VER1 + 0x04A)
 
#define TPM_RC_NV_SPACE   (TPM_RC)(RC_VER1 + 0x04B)
 
#define TPM_RC_NV_DEFINED   (TPM_RC)(RC_VER1 + 0x04C)
 
#define TPM_RC_BAD_CONTEXT   (TPM_RC)(RC_VER1 + 0x050)
 
#define TPM_RC_CPHASH   (TPM_RC)(RC_VER1 + 0x051)
 
#define TPM_RC_PARENT   (TPM_RC)(RC_VER1 + 0x052)
 
#define TPM_RC_NEEDS_TEST   (TPM_RC)(RC_VER1 + 0x053)
 
#define TPM_RC_NO_RESULT   (TPM_RC)(RC_VER1 + 0x054)
 
#define TPM_RC_SENSITIVE   (TPM_RC)(RC_VER1 + 0x055)
 
#define RC_MAX_FM0   (TPM_RC)(RC_VER1 + 0x07F)
 
#define RC_FMT1   (TPM_RC)(0x080)
 
#define TPM_RC_ASYMMETRIC   (TPM_RC)(RC_FMT1 + 0x001)
 
#define TPM_RC_ATTRIBUTES   (TPM_RC)(RC_FMT1 + 0x002)
 
#define TPM_RC_HASH   (TPM_RC)(RC_FMT1 + 0x003)
 
#define TPM_RC_VALUE   (TPM_RC)(RC_FMT1 + 0x004)
 
#define TPM_RC_HIERARCHY   (TPM_RC)(RC_FMT1 + 0x005)
 
#define TPM_RC_KEY_SIZE   (TPM_RC)(RC_FMT1 + 0x007)
 
#define TPM_RC_MGF   (TPM_RC)(RC_FMT1 + 0x008)
 
#define TPM_RC_MODE   (TPM_RC)(RC_FMT1 + 0x009)
 
#define TPM_RC_TYPE   (TPM_RC)(RC_FMT1 + 0x00A)
 
#define TPM_RC_HANDLE   (TPM_RC)(RC_FMT1 + 0x00B)
 
#define TPM_RC_KDF   (TPM_RC)(RC_FMT1 + 0x00C)
 
#define TPM_RC_RANGE   (TPM_RC)(RC_FMT1 + 0x00D)
 
#define TPM_RC_AUTH_FAIL   (TPM_RC)(RC_FMT1 + 0x00E)
 
#define TPM_RC_NONCE   (TPM_RC)(RC_FMT1 + 0x00F)
 
#define TPM_RC_PP   (TPM_RC)(RC_FMT1 + 0x010)
 
#define TPM_RC_SCHEME   (TPM_RC)(RC_FMT1 + 0x012)
 
#define TPM_RC_SIZE   (TPM_RC)(RC_FMT1 + 0x015)
 
#define TPM_RC_SYMMETRIC   (TPM_RC)(RC_FMT1 + 0x016)
 
#define TPM_RC_TAG   (TPM_RC)(RC_FMT1 + 0x017)
 
#define TPM_RC_SELECTOR   (TPM_RC)(RC_FMT1 + 0x018)
 
#define TPM_RC_INSUFFICIENT   (TPM_RC)(RC_FMT1 + 0x01A)
 
#define TPM_RC_SIGNATURE   (TPM_RC)(RC_FMT1 + 0x01B)
 
#define TPM_RC_KEY   (TPM_RC)(RC_FMT1 + 0x01C)
 
#define TPM_RC_POLICY_FAIL   (TPM_RC)(RC_FMT1 + 0x01D)
 
#define TPM_RC_INTEGRITY   (TPM_RC)(RC_FMT1 + 0x01F)
 
#define TPM_RC_TICKET   (TPM_RC)(RC_FMT1 + 0x020)
 
#define TPM_RC_RESERVED_BITS   (TPM_RC)(RC_FMT1 + 0x021)
 
#define TPM_RC_BAD_AUTH   (TPM_RC)(RC_FMT1 + 0x022)
 
#define TPM_RC_EXPIRED   (TPM_RC)(RC_FMT1 + 0x023)
 
#define TPM_RC_POLICY_CC   (TPM_RC)(RC_FMT1 + 0x024 )
 
#define TPM_RC_BINDING   (TPM_RC)(RC_FMT1 + 0x025)
 
#define TPM_RC_CURVE   (TPM_RC)(RC_FMT1 + 0x026)
 
#define TPM_RC_ECC_POINT   (TPM_RC)(RC_FMT1 + 0x027)
 
#define RC_WARN   (TPM_RC)(0x900)
 
#define TPM_RC_CONTEXT_GAP   (TPM_RC)(RC_WARN + 0x001)
 
#define TPM_RC_OBJECT_MEMORY   (TPM_RC)(RC_WARN + 0x002)
 
#define TPM_RC_SESSION_MEMORY   (TPM_RC)(RC_WARN + 0x003)
 
#define TPM_RC_MEMORY   (TPM_RC)(RC_WARN + 0x004)
 
#define TPM_RC_SESSION_HANDLES   (TPM_RC)(RC_WARN + 0x005)
 
#define TPM_RC_OBJECT_HANDLES   (TPM_RC)(RC_WARN + 0x006)
 
#define TPM_RC_LOCALITY   (TPM_RC)(RC_WARN + 0x007)
 
#define TPM_RC_YIELDED   (TPM_RC)(RC_WARN + 0x008)
 
#define TPM_RC_CANCELED   (TPM_RC)(RC_WARN + 0x009)
 
#define TPM_RC_TESTING   (TPM_RC)(RC_WARN + 0x00A)
 
#define TPM_RC_REFERENCE_H0   (TPM_RC)(RC_WARN + 0x010)
 
#define TPM_RC_REFERENCE_H1   (TPM_RC)(RC_WARN + 0x011)
 
#define TPM_RC_REFERENCE_H2   (TPM_RC)(RC_WARN + 0x012)
 
#define TPM_RC_REFERENCE_H3   (TPM_RC)(RC_WARN + 0x013)
 
#define TPM_RC_REFERENCE_H4   (TPM_RC)(RC_WARN + 0x014)
 
#define TPM_RC_REFERENCE_H5   (TPM_RC)(RC_WARN + 0x015)
 
#define TPM_RC_REFERENCE_H6   (TPM_RC)(RC_WARN + 0x016)
 
#define TPM_RC_REFERENCE_S0   (TPM_RC)(RC_WARN + 0x018)
 
#define TPM_RC_REFERENCE_S1   (TPM_RC)(RC_WARN + 0x019)
 
#define TPM_RC_REFERENCE_S2   (TPM_RC)(RC_WARN + 0x01A)
 
#define TPM_RC_REFERENCE_S3   (TPM_RC)(RC_WARN + 0x01B)
 
#define TPM_RC_REFERENCE_S4   (TPM_RC)(RC_WARN + 0x01C)
 
#define TPM_RC_REFERENCE_S5   (TPM_RC)(RC_WARN + 0x01D)
 
#define TPM_RC_REFERENCE_S6   (TPM_RC)(RC_WARN + 0x01E)
 
#define TPM_RC_NV_RATE   (TPM_RC)(RC_WARN + 0x020)
 
#define TPM_RC_LOCKOUT   (TPM_RC)(RC_WARN + 0x021)
 
#define TPM_RC_RETRY   (TPM_RC)(RC_WARN + 0x022)
 
#define TPM_RC_NV_UNAVAILABLE   (TPM_RC)(RC_WARN + 0x023)
 
#define TPM_RC_NOT_USED   (TPM_RC)(RC_WARN + 0x7F)
 
#define TPM_RC_H   (TPM_RC)(0x000)
 
#define TPM_RC_P   (TPM_RC)(0x040)
 
#define TPM_RC_S   (TPM_RC)(0x800)
 
#define TPM_RC_1   (TPM_RC)(0x100)
 
#define TPM_RC_2   (TPM_RC)(0x200)
 
#define TPM_RC_3   (TPM_RC)(0x300)
 
#define TPM_RC_4   (TPM_RC)(0x400)
 
#define TPM_RC_5   (TPM_RC)(0x500)
 
#define TPM_RC_6   (TPM_RC)(0x600)
 
#define TPM_RC_7   (TPM_RC)(0x700)
 
#define TPM_RC_8   (TPM_RC)(0x800)
 
#define TPM_RC_9   (TPM_RC)(0x900)
 
#define TPM_RC_A   (TPM_RC)(0xA00)
 
#define TPM_RC_B   (TPM_RC)(0xB00)
 
#define TPM_RC_C   (TPM_RC)(0xC00)
 
#define TPM_RC_D   (TPM_RC)(0xD00)
 
#define TPM_RC_E   (TPM_RC)(0xE00)
 
#define TPM_RC_F   (TPM_RC)(0xF00)
 
#define TPM_RC_N_MASK   (TPM_RC)(0xF00)
 
#define TPM_CLOCK_COARSE_SLOWER   (TPM_CLOCK_ADJUST)(-3)
 
#define TPM_CLOCK_MEDIUM_SLOWER   (TPM_CLOCK_ADJUST)(-2)
 
#define TPM_CLOCK_FINE_SLOWER   (TPM_CLOCK_ADJUST)(-1)
 
#define TPM_CLOCK_NO_CHANGE   (TPM_CLOCK_ADJUST)(0)
 
#define TPM_CLOCK_FINE_FASTER   (TPM_CLOCK_ADJUST)(1)
 
#define TPM_CLOCK_MEDIUM_FASTER   (TPM_CLOCK_ADJUST)(2)
 
#define TPM_CLOCK_COARSE_FASTER   (TPM_CLOCK_ADJUST)(3)
 
#define TPM_EO_EQ   (TPM_EO)(0x0000)
 
#define TPM_EO_NEQ   (TPM_EO)(0x0001)
 
#define TPM_EO_SIGNED_GT   (TPM_EO)(0x0002)
 
#define TPM_EO_UNSIGNED_GT   (TPM_EO)(0x0003)
 
#define TPM_EO_SIGNED_LT   (TPM_EO)(0x0004)
 
#define TPM_EO_UNSIGNED_LT   (TPM_EO)(0x0005)
 
#define TPM_EO_SIGNED_GE   (TPM_EO)(0x0006)
 
#define TPM_EO_UNSIGNED_GE   (TPM_EO)(0x0007)
 
#define TPM_EO_SIGNED_LE   (TPM_EO)(0x0008)
 
#define TPM_EO_UNSIGNED_LE   (TPM_EO)(0x0009)
 
#define TPM_EO_BITSET   (TPM_EO)(0x000A)
 
#define TPM_EO_BITCLEAR   (TPM_EO)(0x000B)
 
#define TPM_ST_RSP_COMMAND   (TPM_ST)(0x00C4)
 
#define TPM_ST_NULL   (TPM_ST)(0X8000)
 
#define TPM_ST_NO_SESSIONS   (TPM_ST)(0x8001)
 
#define TPM_ST_SESSIONS   (TPM_ST)(0x8002)
 
#define TPM_ST_ATTEST_NV   (TPM_ST)(0x8014)
 
#define TPM_ST_ATTEST_COMMAND_AUDIT   (TPM_ST)(0x8015)
 
#define TPM_ST_ATTEST_SESSION_AUDIT   (TPM_ST)(0x8016)
 
#define TPM_ST_ATTEST_CERTIFY   (TPM_ST)(0x8017)
 
#define TPM_ST_ATTEST_QUOTE   (TPM_ST)(0x8018)
 
#define TPM_ST_ATTEST_TIME   (TPM_ST)(0x8019)
 
#define TPM_ST_ATTEST_CREATION   (TPM_ST)(0x801A)
 
#define TPM_ST_CREATION   (TPM_ST)(0x8021)
 
#define TPM_ST_VERIFIED   (TPM_ST)(0x8022)
 
#define TPM_ST_AUTH_SECRET   (TPM_ST)(0x8023)
 
#define TPM_ST_HASHCHECK   (TPM_ST)(0x8024)
 
#define TPM_ST_AUTH_SIGNED   (TPM_ST)(0x8025)
 
#define TPM_ST_FU_MANIFEST   (TPM_ST)(0x8029)
 
#define TPM_SU_CLEAR   (TPM_SU)(0x0000)
 
#define TPM_SU_STATE   (TPM_SU)(0x0001)
 
#define TPM_SE_HMAC   (TPM_SE)(0x00)
 
#define TPM_SE_POLICY   (TPM_SE)(0x01)
 
#define TPM_SE_TRIAL   (TPM_SE)(0x03)
 
#define TPM_CAP_FIRST   (TPM_CAP)(0x00000000)
 
#define TPM_CAP_ALGS   (TPM_CAP)(0x00000000)
 
#define TPM_CAP_HANDLES   (TPM_CAP)(0x00000001)
 
#define TPM_CAP_COMMANDS   (TPM_CAP)(0x00000002)
 
#define TPM_CAP_PP_COMMANDS   (TPM_CAP)(0x00000003)
 
#define TPM_CAP_AUDIT_COMMANDS   (TPM_CAP)(0x00000004)
 
#define TPM_CAP_PCRS   (TPM_CAP)(0x00000005)
 
#define TPM_CAP_TPM_PROPERTIES   (TPM_CAP)(0x00000006)
 
#define TPM_CAP_PCR_PROPERTIES   (TPM_CAP)(0x00000007)
 
#define TPM_CAP_ECC_CURVES   (TPM_CAP)(0x00000008)
 
#define TPM_CAP_LAST   (TPM_CAP)(0x00000008)
 
#define TPM_CAP_VENDOR_PROPERTY   (TPM_CAP)(0x00000100)
 
#define TPM_PT_NONE   (TPM_PT)(0x00000000)
 
#define PT_GROUP   (TPM_PT)(0x00000100)
 
#define PT_FIXED   (TPM_PT)(PT_GROUP * 1)
 
#define TPM_PT_FAMILY_INDICATOR   (TPM_PT)(PT_FIXED + 0)
 
#define TPM_PT_LEVEL   (TPM_PT)(PT_FIXED + 1)
 
#define TPM_PT_REVISION   (TPM_PT)(PT_FIXED + 2)
 
#define TPM_PT_DAY_OF_YEAR   (TPM_PT)(PT_FIXED + 3)
 
#define TPM_PT_YEAR   (TPM_PT)(PT_FIXED + 4)
 
#define TPM_PT_MANUFACTURER   (TPM_PT)(PT_FIXED + 5)
 
#define TPM_PT_VENDOR_STRING_1   (TPM_PT)(PT_FIXED + 6)
 
#define TPM_PT_VENDOR_STRING_2   (TPM_PT)(PT_FIXED + 7)
 
#define TPM_PT_VENDOR_STRING_3   (TPM_PT)(PT_FIXED + 8)
 
#define TPM_PT_VENDOR_STRING_4   (TPM_PT)(PT_FIXED + 9)
 
#define TPM_PT_VENDOR_TPM_TYPE   (TPM_PT)(PT_FIXED + 10)
 
#define TPM_PT_FIRMWARE_VERSION_1   (TPM_PT)(PT_FIXED + 11)
 
#define TPM_PT_FIRMWARE_VERSION_2   (TPM_PT)(PT_FIXED + 12)
 
#define TPM_PT_INPUT_BUFFER   (TPM_PT)(PT_FIXED + 13)
 
#define TPM_PT_HR_TRANSIENT_MIN   (TPM_PT)(PT_FIXED + 14)
 
#define TPM_PT_HR_PERSISTENT_MIN   (TPM_PT)(PT_FIXED + 15)
 
#define TPM_PT_HR_LOADED_MIN   (TPM_PT)(PT_FIXED + 16)
 
#define TPM_PT_ACTIVE_SESSIONS_MAX   (TPM_PT)(PT_FIXED + 17)
 
#define TPM_PT_PCR_COUNT   (TPM_PT)(PT_FIXED + 18)
 
#define TPM_PT_PCR_SELECT_MIN   (TPM_PT)(PT_FIXED + 19)
 
#define TPM_PT_CONTEXT_GAP_MAX   (TPM_PT)(PT_FIXED + 20)
 
#define TPM_PT_NV_COUNTERS_MAX   (TPM_PT)(PT_FIXED + 22)
 
#define TPM_PT_NV_INDEX_MAX   (TPM_PT)(PT_FIXED + 23)
 
#define TPM_PT_MEMORY   (TPM_PT)(PT_FIXED + 24)
 
#define TPM_PT_CLOCK_UPDATE   (TPM_PT)(PT_FIXED + 25)
 
#define TPM_PT_CONTEXT_HASH   (TPM_PT)(PT_FIXED + 26)
 
#define TPM_PT_CONTEXT_SYM   (TPM_PT)(PT_FIXED + 27)
 
#define TPM_PT_CONTEXT_SYM_SIZE   (TPM_PT)(PT_FIXED + 28)
 
#define TPM_PT_ORDERLY_COUNT   (TPM_PT)(PT_FIXED + 29)
 
#define TPM_PT_MAX_COMMAND_SIZE   (TPM_PT)(PT_FIXED + 30)
 
#define TPM_PT_MAX_RESPONSE_SIZE   (TPM_PT)(PT_FIXED + 31)
 
#define TPM_PT_MAX_DIGEST   (TPM_PT)(PT_FIXED + 32)
 
#define TPM_PT_MAX_OBJECT_CONTEXT   (TPM_PT)(PT_FIXED + 33)
 
#define TPM_PT_MAX_SESSION_CONTEXT   (TPM_PT)(PT_FIXED + 34)
 
#define TPM_PT_PS_FAMILY_INDICATOR   (TPM_PT)(PT_FIXED + 35)
 
#define TPM_PT_PS_LEVEL   (TPM_PT)(PT_FIXED + 36)
 
#define TPM_PT_PS_REVISION   (TPM_PT)(PT_FIXED + 37)
 
#define TPM_PT_PS_DAY_OF_YEAR   (TPM_PT)(PT_FIXED + 38)
 
#define TPM_PT_PS_YEAR   (TPM_PT)(PT_FIXED + 39)
 
#define TPM_PT_SPLIT_MAX   (TPM_PT)(PT_FIXED + 40)
 
#define TPM_PT_TOTAL_COMMANDS   (TPM_PT)(PT_FIXED + 41)
 
#define TPM_PT_LIBRARY_COMMANDS   (TPM_PT)(PT_FIXED + 42)
 
#define TPM_PT_VENDOR_COMMANDS   (TPM_PT)(PT_FIXED + 43)
 
#define PT_VAR   (TPM_PT)(PT_GROUP * 2)
 
#define TPM_PT_PERMANENT   (TPM_PT)(PT_VAR + 0)
 
#define TPM_PT_STARTUP_CLEAR   (TPM_PT)(PT_VAR + 1)
 
#define TPM_PT_HR_NV_INDEX   (TPM_PT)(PT_VAR + 2)
 
#define TPM_PT_HR_LOADED   (TPM_PT)(PT_VAR + 3)
 
#define TPM_PT_HR_LOADED_AVAIL   (TPM_PT)(PT_VAR + 4)
 
#define TPM_PT_HR_ACTIVE   (TPM_PT)(PT_VAR + 5)
 
#define TPM_PT_HR_ACTIVE_AVAIL   (TPM_PT)(PT_VAR + 6)
 
#define TPM_PT_HR_TRANSIENT_AVAIL   (TPM_PT)(PT_VAR + 7)
 
#define TPM_PT_HR_PERSISTENT   (TPM_PT)(PT_VAR + 8)
 
#define TPM_PT_HR_PERSISTENT_AVAIL   (TPM_PT)(PT_VAR + 9)
 
#define TPM_PT_NV_COUNTERS   (TPM_PT)(PT_VAR + 10)
 
#define TPM_PT_NV_COUNTERS_AVAIL   (TPM_PT)(PT_VAR + 11)
 
#define TPM_PT_ALGORITHM_SET   (TPM_PT)(PT_VAR + 12)
 
#define TPM_PT_LOADED_CURVES   (TPM_PT)(PT_VAR + 13)
 
#define TPM_PT_LOCKOUT_COUNTER   (TPM_PT)(PT_VAR + 14)
 
#define TPM_PT_MAX_AUTH_FAIL   (TPM_PT)(PT_VAR + 15)
 
#define TPM_PT_LOCKOUT_INTERVAL   (TPM_PT)(PT_VAR + 16)
 
#define TPM_PT_LOCKOUT_RECOVERY   (TPM_PT)(PT_VAR + 17)
 
#define TPM_PT_NV_WRITE_RECOVERY   (TPM_PT)(PT_VAR + 18)
 
#define TPM_PT_AUDIT_COUNTER_0   (TPM_PT)(PT_VAR + 19)
 
#define TPM_PT_AUDIT_COUNTER_1   (TPM_PT)(PT_VAR + 20)
 
#define TPM_PT_PCR_FIRST   (TPM_PT_PCR)(0x00000000)
 
#define TPM_PT_PCR_SAVE   (TPM_PT_PCR)(0x00000000)
 
#define TPM_PT_PCR_EXTEND_L0   (TPM_PT_PCR)(0x00000001)
 
#define TPM_PT_PCR_RESET_L0   (TPM_PT_PCR)(0x00000002)
 
#define TPM_PT_PCR_EXTEND_L1   (TPM_PT_PCR)(0x00000003)
 
#define TPM_PT_PCR_RESET_L1   (TPM_PT_PCR)(0x00000004)
 
#define TPM_PT_PCR_EXTEND_L2   (TPM_PT_PCR)(0x00000005)
 
#define TPM_PT_PCR_RESET_L2   (TPM_PT_PCR)(0x00000006)
 
#define TPM_PT_PCR_EXTEND_L3   (TPM_PT_PCR)(0x00000007)
 
#define TPM_PT_PCR_RESET_L3   (TPM_PT_PCR)(0x00000008)
 
#define TPM_PT_PCR_EXTEND_L4   (TPM_PT_PCR)(0x00000009)
 
#define TPM_PT_PCR_RESET_L4   (TPM_PT_PCR)(0x0000000A)
 
#define TPM_PT_PCR_NO_INCREMENT   (TPM_PT_PCR)(0x00000011)
 
#define TPM_PT_PCR_DRTM_RESET   (TPM_PT_PCR)(0x00000012)
 
#define TPM_PT_PCR_POLICY   (TPM_PT_PCR)(0x00000013)
 
#define TPM_PT_PCR_AUTH   (TPM_PT_PCR)(0x00000014)
 
#define TPM_PT_PCR_LAST   (TPM_PT_PCR)(0x00000014)
 
#define TPM_PS_MAIN   (TPM_PS)(0x00000000)
 
#define TPM_PS_PC   (TPM_PS)(0x00000001)
 
#define TPM_PS_PDA   (TPM_PS)(0x00000002)
 
#define TPM_PS_CELL_PHONE   (TPM_PS)(0x00000003)
 
#define TPM_PS_SERVER   (TPM_PS)(0x00000004)
 
#define TPM_PS_PERIPHERAL   (TPM_PS)(0x00000005)
 
#define TPM_PS_TSS   (TPM_PS)(0x00000006)
 
#define TPM_PS_STORAGE   (TPM_PS)(0x00000007)
 
#define TPM_PS_AUTHENTICATION   (TPM_PS)(0x00000008)
 
#define TPM_PS_EMBEDDED   (TPM_PS)(0x00000009)
 
#define TPM_PS_HARDCOPY   (TPM_PS)(0x0000000A)
 
#define TPM_PS_INFRASTRUCTURE   (TPM_PS)(0x0000000B)
 
#define TPM_PS_VIRTUALIZATION   (TPM_PS)(0x0000000C)
 
#define TPM_PS_TNC   (TPM_PS)(0x0000000D)
 
#define TPM_PS_MULTI_TENANT   (TPM_PS)(0x0000000E)
 
#define TPM_PS_TC   (TPM_PS)(0x0000000F)
 
#define TPM_HT_PCR   (TPM_HT)(0x00)
 
#define TPM_HT_NV_INDEX   (TPM_HT)(0x01)
 
#define TPM_HT_HMAC_SESSION   (TPM_HT)(0x02)
 
#define TPM_HT_LOADED_SESSION   (TPM_HT)(0x02)
 
#define TPM_HT_POLICY_SESSION   (TPM_HT)(0x03)
 
#define TPM_HT_ACTIVE_SESSION   (TPM_HT)(0x03)
 
#define TPM_HT_PERMANENT   (TPM_HT)(0x40)
 
#define TPM_HT_TRANSIENT   (TPM_HT)(0x80)
 
#define TPM_HT_PERSISTENT   (TPM_HT)(0x81)
 
#define TPM_RH_FIRST   (TPM_RH)(0x40000000)
 
#define TPM_RH_SRK   (TPM_RH)(0x40000000)
 
#define TPM_RH_OWNER   (TPM_RH)(0x40000001)
 
#define TPM_RH_REVOKE   (TPM_RH)(0x40000002)
 
#define TPM_RH_TRANSPORT   (TPM_RH)(0x40000003)
 
#define TPM_RH_OPERATOR   (TPM_RH)(0x40000004)
 
#define TPM_RH_ADMIN   (TPM_RH)(0x40000005)
 
#define TPM_RH_EK   (TPM_RH)(0x40000006)
 
#define TPM_RH_NULL   (TPM_RH)(0x40000007)
 
#define TPM_RH_UNASSIGNED   (TPM_RH)(0x40000008)
 
#define TPM_RS_PW   (TPM_RH)(0x40000009)
 
#define TPM_RH_LOCKOUT   (TPM_RH)(0x4000000A)
 
#define TPM_RH_ENDORSEMENT   (TPM_RH)(0x4000000B)
 
#define TPM_RH_PLATFORM   (TPM_RH)(0x4000000C)
 
#define TPM_RH_PLATFORM_NV   (TPM_RH)(0x4000000D)
 
#define TPM_RH_AUTH_00   (TPM_RH)(0x40000010)
 
#define TPM_RH_AUTH_FF   (TPM_RH)(0x4000010F)
 
#define TPM_RH_LAST   (TPM_RH)(0x4000010F)
 
#define HR_HANDLE_MASK   (TPM_HC)(0x00FFFFFF)
 
#define HR_RANGE_MASK   (TPM_HC)(0xFF000000)
 
#define HR_SHIFT   (TPM_HC)(24)
 
#define HR_PCR   (TPM_HC)((TPM_HC)TPM_HT_PCR << HR_SHIFT)
 
#define HR_HMAC_SESSION   (TPM_HC)((TPM_HC)TPM_HT_HMAC_SESSION << HR_SHIFT)
 
#define HR_POLICY_SESSION   (TPM_HC)((TPM_HC)TPM_HT_POLICY_SESSION << HR_SHIFT)
 
#define HR_TRANSIENT   (TPM_HC)((TPM_HC)TPM_HT_TRANSIENT << HR_SHIFT)
 
#define HR_PERSISTENT   (TPM_HC)((TPM_HC)TPM_HT_PERSISTENT << HR_SHIFT)
 
#define HR_NV_INDEX   (TPM_HC)((TPM_HC)TPM_HT_NV_INDEX << HR_SHIFT)
 
#define HR_PERMANENT   (TPM_HC)((TPM_HC)TPM_HT_PERMANENT << HR_SHIFT)
 
#define PCR_FIRST   (TPM_HC)(HR_PCR + 0)
 
#define PCR_LAST   (TPM_HC)(PCR_FIRST + IMPLEMENTATION_PCR - 1)
 
#define HMAC_SESSION_FIRST   (TPM_HC)(HR_HMAC_SESSION + 0)
 
#define HMAC_SESSION_LAST   (TPM_HC)(HMAC_SESSION_FIRST + MAX_ACTIVE_SESSIONS - 1)
 
#define LOADED_SESSION_FIRST   (TPM_HC)(HMAC_SESSION_FIRST)
 
#define LOADED_SESSION_LAST   (TPM_HC)(HMAC_SESSION_LAST)
 
#define POLICY_SESSION_FIRST   (TPM_HC)(HR_POLICY_SESSION + 0)
 
#define POLICY_SESSION_LAST   (TPM_HC)(POLICY_SESSION_FIRST + MAX_ACTIVE_SESSIONS - 1)
 
#define TRANSIENT_FIRST   (TPM_HC)(HR_TRANSIENT + 0)
 
#define ACTIVE_SESSION_FIRST   (TPM_HC)(POLICY_SESSION_FIRST)
 
#define ACTIVE_SESSION_LAST   (TPM_HC)(POLICY_SESSION_LAST)
 
#define TRANSIENT_LAST   (TPM_HC)(TRANSIENT_FIRST+MAX_LOADED_OBJECTS - 1)
 
#define PERSISTENT_FIRST   (TPM_HC)(HR_PERSISTENT + 0)
 
#define PERSISTENT_LAST   (TPM_HC)(PERSISTENT_FIRST + 0x00FFFFFF)
 
#define PLATFORM_PERSISTENT   (TPM_HC)(PERSISTENT_FIRST + 0x00800000)
 
#define NV_INDEX_FIRST   (TPM_HC)(HR_NV_INDEX + 0)
 
#define NV_INDEX_LAST   (TPM_HC)(NV_INDEX_FIRST + 0x00FFFFFF)
 
#define PERMANENT_FIRST   (TPM_HC)(TPM_RH_FIRST)
 
#define PERMANENT_LAST   (TPM_HC)(TPM_RH_LAST)
 
#define HASH_ALG_SHA1   0x00000001
 
#define HASH_ALG_SHA256   0x00000002
 
#define HASH_ALG_SHA384   0x00000004
 
#define HASH_ALG_SHA512   0x00000008
 
#define HASH_ALG_SM3_256   0x00000010
 

Typedefs

typedef UINT16 BSIZE
 
typedef UINT16 CONTEXT_SLOT
 
typedef UINT64 CONTEXT_COUNTER
 
typedef UINT8 BYTE
 
typedef UINT32 TPM_AUTHORIZATION_SIZE
 
typedef UINT32 TPM_PARAMETER_SIZE
 
typedef UINT16 TPM_KEY_SIZE
 
typedef UINT16 TPM_KEY_BITS
 
typedef UINT32 TPM_GENERATED
 
typedef UINT16 TPM_ALG_ID
 
typedef UINT16 TPM_ECC_CURVE
 
typedef UINT32 TPM_CC
 
typedef UINT32 TPM_RC
 
typedef INT8 TPM_CLOCK_ADJUST
 
typedef UINT16 TPM_EO
 
typedef UINT16 TPM_ST
 
typedef UINT16 TPM_SU
 
typedef UINT8 TPM_SE
 
typedef UINT32 TPM_CAP
 
typedef UINT32 TPM_PT
 
typedef UINT32 TPM_PT_PCR
 
typedef UINT32 TPM_PS
 
typedef UINT8 TPM_HT
 
typedef UINT32 TPM_RH
 
typedef TPM_HANDLE TPM_HC
 
typedef BYTE TPMI_YES_NO
 
typedef TPM_HANDLE TPMI_DH_OBJECT
 
typedef TPM_HANDLE TPMI_DH_PERSISTENT
 
typedef TPM_HANDLE TPMI_DH_ENTITY
 
typedef TPM_HANDLE TPMI_DH_PCR
 
typedef TPM_HANDLE TPMI_SH_AUTH_SESSION
 
typedef TPM_HANDLE TPMI_SH_HMAC
 
typedef TPM_HANDLE TPMI_SH_POLICY
 
typedef TPM_HANDLE TPMI_DH_CONTEXT
 
typedef TPM_HANDLE TPMI_RH_HIERARCHY
 
typedef TPM_HANDLE TPMI_RH_HIERARCHY_AUTH
 
typedef TPM_HANDLE TPMI_RH_PLATFORM
 
typedef TPM_HANDLE TPMI_RH_OWNER
 
typedef TPM_HANDLE TPMI_RH_ENDORSEMENT
 
typedef TPM_HANDLE TPMI_RH_PROVISION
 
typedef TPM_HANDLE TPMI_RH_CLEAR
 
typedef TPM_HANDLE TPMI_RH_NV_AUTH
 
typedef TPM_HANDLE TPMI_RH_LOCKOUT
 
typedef TPM_HANDLE TPMI_RH_NV_INDEX
 
typedef TPM_ALG_ID TPMI_ALG_HASH
 
typedef TPM_ALG_ID TPMI_ALG_ASYM
 
typedef TPM_ALG_ID TPMI_ALG_SYM
 
typedef TPM_ALG_ID TPMI_ALG_SYM_OBJECT
 
typedef TPM_ALG_ID TPMI_ALG_SYM_MODE
 
typedef TPM_ALG_ID TPMI_ALG_KDF
 
typedef TPM_ALG_ID TPMI_ALG_SIG_SCHEME
 
typedef TPM_ALG_ID TPMI_ECC_KEY_EXCHANGE
 
typedef TPM_ST TPMI_ST_COMMAND_TAG
 
typedef TPM2B_DIGEST TPM2B_NONCE
 
typedef TPM2B_DIGEST TPM2B_AUTH
 
typedef TPM2B_DIGEST TPM2B_OPERAND
 
typedef TPM_ST TPMI_ST_ATTEST
 
typedef TPM_KEY_BITS TPMI_AES_KEY_BITS
 
typedef TPM_KEY_BITS TPMI_SM4_KEY_BITS
 
typedef TPM_ALG_ID TPMI_ALG_KEYEDHASH_SCHEME
 
typedef TPMS_SCHEME_SIGHASH TPMS_SCHEME_HMAC
 
typedef TPMS_SCHEME_SIGHASH TPMS_SCHEME_RSASSA
 
typedef TPMS_SCHEME_SIGHASH TPMS_SCHEME_RSAPSS
 
typedef TPMS_SCHEME_SIGHASH TPMS_SCHEME_ECDSA
 
typedef TPMS_SCHEME_SIGHASH TPMS_SCHEME_SM2
 
typedef TPMS_SCHEME_SIGHASH TPMS_SCHEME_ECSCHNORR
 
typedef TPM_ALG_ID TPMI_ALG_ASYM_SCHEME
 
typedef TPM_ALG_ID TPMI_ALG_RSA_SCHEME
 
typedef TPM_ALG_ID TPMI_ALG_RSA_DECRYPT
 
typedef TPM_KEY_BITS TPMI_RSA_KEY_BITS
 
typedef TPM_ALG_ID TPMI_ALG_ECC_SCHEME
 
typedef TPM_ECC_CURVE TPMI_ECC_CURVE
 
typedef TPM_ALG_ID TPMI_ALG_PUBLIC
 

Functions

 FILE_LICENCE (BSD2_PATENT)
 

Detailed Description

TPM2.0 Specification data structures (Trusted Platform Module Library Specification, Family "2.0", Level 00, Revision 00.96, @http://www.trustedcomputinggroup.org/resources/tpm_library_specification)

Check http://trustedcomputinggroup.org for latest specification updates.

Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Tpm20.h.

Macro Definition Documentation

◆ SHA1_DIGEST_SIZE

#define SHA1_DIGEST_SIZE   20

Definition at line 25 of file Tpm20.h.

◆ SHA1_BLOCK_SIZE

#define SHA1_BLOCK_SIZE   64

Definition at line 26 of file Tpm20.h.

◆ SHA256_DIGEST_SIZE

#define SHA256_DIGEST_SIZE   32

Definition at line 29 of file Tpm20.h.

◆ SHA256_BLOCK_SIZE

#define SHA256_BLOCK_SIZE   64

Definition at line 30 of file Tpm20.h.

◆ SHA384_DIGEST_SIZE

#define SHA384_DIGEST_SIZE   48

Definition at line 33 of file Tpm20.h.

◆ SHA384_BLOCK_SIZE

#define SHA384_BLOCK_SIZE   128

Definition at line 34 of file Tpm20.h.

◆ SHA512_DIGEST_SIZE

#define SHA512_DIGEST_SIZE   64

Definition at line 37 of file Tpm20.h.

◆ SHA512_BLOCK_SIZE

#define SHA512_BLOCK_SIZE   128

Definition at line 38 of file Tpm20.h.

◆ SM3_256_DIGEST_SIZE

#define SM3_256_DIGEST_SIZE   32

Definition at line 41 of file Tpm20.h.

◆ SM3_256_BLOCK_SIZE

#define SM3_256_BLOCK_SIZE   64

Definition at line 42 of file Tpm20.h.

◆ MAX_SESSION_NUMBER

#define MAX_SESSION_NUMBER   3

Definition at line 45 of file Tpm20.h.

◆ YES

#define YES   1

Definition at line 50 of file Tpm20.h.

◆ NO

#define NO   0

Definition at line 51 of file Tpm20.h.

◆ SET

#define SET   1

Definition at line 52 of file Tpm20.h.

◆ CLEAR

#define CLEAR   0

Definition at line 53 of file Tpm20.h.

◆ MAX_RSA_KEY_BITS

#define MAX_RSA_KEY_BITS   2048

Definition at line 56 of file Tpm20.h.

◆ MAX_RSA_KEY_BYTES

#define MAX_RSA_KEY_BYTES   ((MAX_RSA_KEY_BITS + 7) / 8)

Definition at line 57 of file Tpm20.h.

◆ MAX_ECC_KEY_BITS

#define MAX_ECC_KEY_BITS   256

Definition at line 60 of file Tpm20.h.

◆ MAX_ECC_KEY_BYTES

#define MAX_ECC_KEY_BYTES   ((MAX_ECC_KEY_BITS + 7) / 8)

Definition at line 61 of file Tpm20.h.

◆ MAX_AES_KEY_BITS

#define MAX_AES_KEY_BITS   128

Definition at line 64 of file Tpm20.h.

◆ MAX_AES_BLOCK_SIZE_BYTES

#define MAX_AES_BLOCK_SIZE_BYTES   16

Definition at line 65 of file Tpm20.h.

◆ MAX_AES_KEY_BYTES

#define MAX_AES_KEY_BYTES   ((MAX_AES_KEY_BITS + 7) / 8)

Definition at line 66 of file Tpm20.h.

◆ MAX_SM4_KEY_BITS

#define MAX_SM4_KEY_BITS   128

Definition at line 69 of file Tpm20.h.

◆ MAX_SM4_BLOCK_SIZE_BYTES

#define MAX_SM4_BLOCK_SIZE_BYTES   16

Definition at line 70 of file Tpm20.h.

◆ MAX_SM4_KEY_BYTES

#define MAX_SM4_KEY_BYTES   ((MAX_SM4_KEY_BITS + 7) / 8)

Definition at line 71 of file Tpm20.h.

◆ MAX_SYM_KEY_BITS

#define MAX_SYM_KEY_BITS   MAX_AES_KEY_BITS

Definition at line 74 of file Tpm20.h.

◆ MAX_SYM_KEY_BYTES

#define MAX_SYM_KEY_BYTES   MAX_AES_KEY_BYTES

Definition at line 75 of file Tpm20.h.

◆ MAX_SYM_BLOCK_SIZE

#define MAX_SYM_BLOCK_SIZE   MAX_AES_BLOCK_SIZE_BYTES

Definition at line 76 of file Tpm20.h.

◆ BUFFER_ALIGNMENT

#define BUFFER_ALIGNMENT   4

Definition at line 80 of file Tpm20.h.

◆ IMPLEMENTATION_PCR

#define IMPLEMENTATION_PCR   24

Definition at line 81 of file Tpm20.h.

◆ PLATFORM_PCR

#define PLATFORM_PCR   24

Definition at line 82 of file Tpm20.h.

◆ DRTM_PCR

#define DRTM_PCR   17

Definition at line 83 of file Tpm20.h.

◆ NUM_LOCALITIES

#define NUM_LOCALITIES   5

Definition at line 84 of file Tpm20.h.

◆ MAX_HANDLE_NUM

#define MAX_HANDLE_NUM   3

Definition at line 85 of file Tpm20.h.

◆ MAX_ACTIVE_SESSIONS

#define MAX_ACTIVE_SESSIONS   64

Definition at line 86 of file Tpm20.h.

◆ MAX_LOADED_SESSIONS

#define MAX_LOADED_SESSIONS   3

Definition at line 89 of file Tpm20.h.

◆ MAX_SESSION_NUM

#define MAX_SESSION_NUM   3

Definition at line 90 of file Tpm20.h.

◆ MAX_LOADED_OBJECTS

#define MAX_LOADED_OBJECTS   3

Definition at line 91 of file Tpm20.h.

◆ MIN_EVICT_OBJECTS

#define MIN_EVICT_OBJECTS   2

Definition at line 92 of file Tpm20.h.

◆ PCR_SELECT_MIN

#define PCR_SELECT_MIN   ((PLATFORM_PCR + 7) / 8)

Definition at line 93 of file Tpm20.h.

◆ PCR_SELECT_MAX

#define PCR_SELECT_MAX   ((IMPLEMENTATION_PCR + 7) / 8)

Definition at line 94 of file Tpm20.h.

◆ NUM_POLICY_PCR_GROUP

#define NUM_POLICY_PCR_GROUP   1

Definition at line 95 of file Tpm20.h.

◆ NUM_AUTHVALUE_PCR_GROUP

#define NUM_AUTHVALUE_PCR_GROUP   1

Definition at line 96 of file Tpm20.h.

◆ MAX_CONTEXT_SIZE

#define MAX_CONTEXT_SIZE   4000

Definition at line 97 of file Tpm20.h.

◆ MAX_DIGEST_BUFFER

#define MAX_DIGEST_BUFFER   1024

Definition at line 98 of file Tpm20.h.

◆ MAX_NV_INDEX_SIZE

#define MAX_NV_INDEX_SIZE   1024

Definition at line 99 of file Tpm20.h.

◆ MAX_CAP_BUFFER

#define MAX_CAP_BUFFER   1024

Definition at line 100 of file Tpm20.h.

◆ NV_MEMORY_SIZE

#define NV_MEMORY_SIZE   16384

Definition at line 101 of file Tpm20.h.

◆ NUM_STATIC_PCR

#define NUM_STATIC_PCR   16

Definition at line 102 of file Tpm20.h.

◆ MAX_ALG_LIST_SIZE

#define MAX_ALG_LIST_SIZE   64

Definition at line 103 of file Tpm20.h.

◆ TIMER_PRESCALE

#define TIMER_PRESCALE   100000

Definition at line 104 of file Tpm20.h.

◆ PRIMARY_SEED_SIZE

#define PRIMARY_SEED_SIZE   32

Definition at line 105 of file Tpm20.h.

◆ CONTEXT_ENCRYPT_ALG

#define CONTEXT_ENCRYPT_ALG   TPM_ALG_AES

Definition at line 106 of file Tpm20.h.

◆ CONTEXT_ENCRYPT_KEY_BITS

#define CONTEXT_ENCRYPT_KEY_BITS   MAX_SYM_KEY_BITS

Definition at line 107 of file Tpm20.h.

◆ CONTEXT_ENCRYPT_KEY_BYTES

#define CONTEXT_ENCRYPT_KEY_BYTES   ((CONTEXT_ENCRYPT_KEY_BITS + 7) / 8)

Definition at line 108 of file Tpm20.h.

◆ CONTEXT_INTEGRITY_HASH_ALG

#define CONTEXT_INTEGRITY_HASH_ALG   TPM_ALG_SHA256

Definition at line 109 of file Tpm20.h.

◆ CONTEXT_INTEGRITY_HASH_SIZE

#define CONTEXT_INTEGRITY_HASH_SIZE   SHA256_DIGEST_SIZE

Definition at line 110 of file Tpm20.h.

◆ PROOF_SIZE

#define PROOF_SIZE   CONTEXT_INTEGRITY_HASH_SIZE

Definition at line 111 of file Tpm20.h.

◆ NV_CLOCK_UPDATE_INTERVAL

#define NV_CLOCK_UPDATE_INTERVAL   12

Definition at line 112 of file Tpm20.h.

◆ NUM_POLICY_PCR

#define NUM_POLICY_PCR   1

Definition at line 113 of file Tpm20.h.

◆ MAX_COMMAND_SIZE

#define MAX_COMMAND_SIZE   4096

Definition at line 114 of file Tpm20.h.

◆ MAX_RESPONSE_SIZE

#define MAX_RESPONSE_SIZE   4096

Definition at line 115 of file Tpm20.h.

◆ ORDERLY_BITS

#define ORDERLY_BITS   8

Definition at line 116 of file Tpm20.h.

◆ MAX_ORDERLY_COUNT

#define MAX_ORDERLY_COUNT   ((1 << ORDERLY_BITS) - 1)

Definition at line 117 of file Tpm20.h.

◆ ALG_ID_FIRST

#define ALG_ID_FIRST   TPM_ALG_FIRST

Definition at line 118 of file Tpm20.h.

◆ ALG_ID_LAST

#define ALG_ID_LAST   TPM_ALG_LAST

Definition at line 119 of file Tpm20.h.

◆ MAX_SYM_DATA

#define MAX_SYM_DATA   128

Definition at line 120 of file Tpm20.h.

◆ MAX_RNG_ENTROPY_SIZE

#define MAX_RNG_ENTROPY_SIZE   64

Definition at line 121 of file Tpm20.h.

◆ RAM_INDEX_SPACE

#define RAM_INDEX_SPACE   512

Definition at line 122 of file Tpm20.h.

◆ RSA_DEFAULT_PUBLIC_EXPONENT

#define RSA_DEFAULT_PUBLIC_EXPONENT   0x00010001

Definition at line 123 of file Tpm20.h.

◆ CRT_FORMAT_RSA

#define CRT_FORMAT_RSA   YES

Definition at line 124 of file Tpm20.h.

◆ PRIVATE_VENDOR_SPECIFIC_BYTES

#define PRIVATE_VENDOR_SPECIFIC_BYTES   ((MAX_RSA_KEY_BYTES / 2) * ( 3 + CRT_FORMAT_RSA * 2))

Definition at line 125 of file Tpm20.h.

◆ MAX_CAP_DATA

#define MAX_CAP_DATA   (MAX_CAP_BUFFER - sizeof(TPM_CAP) - sizeof(UINT32))

Definition at line 128 of file Tpm20.h.

◆ MAX_CAP_ALGS

#define MAX_CAP_ALGS   (MAX_CAP_DATA / sizeof(TPMS_ALG_PROPERTY))

Definition at line 129 of file Tpm20.h.

◆ MAX_CAP_HANDLES

#define MAX_CAP_HANDLES   (MAX_CAP_DATA / sizeof(TPM_HANDLE))

Definition at line 130 of file Tpm20.h.

◆ MAX_CAP_CC

#define MAX_CAP_CC   (MAX_CAP_DATA / sizeof(TPM_CC))

Definition at line 131 of file Tpm20.h.

◆ MAX_TPM_PROPERTIES

#define MAX_TPM_PROPERTIES   (MAX_CAP_DATA / sizeof(TPMS_TAGGED_PROPERTY))

Definition at line 132 of file Tpm20.h.

◆ MAX_PCR_PROPERTIES

#define MAX_PCR_PROPERTIES   (MAX_CAP_DATA / sizeof(TPMS_TAGGED_PCR_SELECT))

Definition at line 133 of file Tpm20.h.

◆ MAX_ECC_CURVES

#define MAX_ECC_CURVES   (MAX_CAP_DATA / sizeof(TPM_ECC_CURVE))

Definition at line 134 of file Tpm20.h.

◆ HASH_COUNT

#define HASH_COUNT   5

Definition at line 139 of file Tpm20.h.

◆ TPM_GENERATED_VALUE

#define TPM_GENERATED_VALUE   (TPM_GENERATED)(0xff544347)

Definition at line 161 of file Tpm20.h.

◆ TPM_ALG_ERROR

#define TPM_ALG_ERROR   (TPM_ALG_ID)(0x0000)

Definition at line 168 of file Tpm20.h.

◆ TPM_ALG_FIRST

#define TPM_ALG_FIRST   (TPM_ALG_ID)(0x0001)

Definition at line 169 of file Tpm20.h.

◆ TPM_ALG_SHA1

#define TPM_ALG_SHA1   (TPM_ALG_ID)(0x0004)

Definition at line 172 of file Tpm20.h.

◆ TPM_ALG_AES

#define TPM_ALG_AES   (TPM_ALG_ID)(0x0006)

Definition at line 174 of file Tpm20.h.

◆ TPM_ALG_KEYEDHASH

#define TPM_ALG_KEYEDHASH   (TPM_ALG_ID)(0x0008)

Definition at line 176 of file Tpm20.h.

◆ TPM_ALG_SHA256

#define TPM_ALG_SHA256   (TPM_ALG_ID)(0x000B)

Definition at line 178 of file Tpm20.h.

◆ TPM_ALG_SHA384

#define TPM_ALG_SHA384   (TPM_ALG_ID)(0x000C)

Definition at line 179 of file Tpm20.h.

◆ TPM_ALG_SHA512

#define TPM_ALG_SHA512   (TPM_ALG_ID)(0x000D)

Definition at line 180 of file Tpm20.h.

◆ TPM_ALG_NULL

#define TPM_ALG_NULL   (TPM_ALG_ID)(0x0010)

Definition at line 181 of file Tpm20.h.

◆ TPM_ALG_SM3_256

#define TPM_ALG_SM3_256   (TPM_ALG_ID)(0x0012)

Definition at line 182 of file Tpm20.h.

◆ TPM_ALG_SM4

#define TPM_ALG_SM4   (TPM_ALG_ID)(0x0013)

Definition at line 183 of file Tpm20.h.

◆ TPM_ALG_RSASSA

#define TPM_ALG_RSASSA   (TPM_ALG_ID)(0x0014)

Definition at line 184 of file Tpm20.h.

◆ TPM_ALG_RSAES

#define TPM_ALG_RSAES   (TPM_ALG_ID)(0x0015)

Definition at line 185 of file Tpm20.h.

◆ TPM_ALG_RSAPSS

#define TPM_ALG_RSAPSS   (TPM_ALG_ID)(0x0016)

Definition at line 186 of file Tpm20.h.

◆ TPM_ALG_OAEP

#define TPM_ALG_OAEP   (TPM_ALG_ID)(0x0017)

Definition at line 187 of file Tpm20.h.

◆ TPM_ALG_ECDSA

#define TPM_ALG_ECDSA   (TPM_ALG_ID)(0x0018)

Definition at line 188 of file Tpm20.h.

◆ TPM_ALG_ECDH

#define TPM_ALG_ECDH   (TPM_ALG_ID)(0x0019)

Definition at line 189 of file Tpm20.h.

◆ TPM_ALG_ECDAA

#define TPM_ALG_ECDAA   (TPM_ALG_ID)(0x001A)

Definition at line 190 of file Tpm20.h.

◆ TPM_ALG_SM2

#define TPM_ALG_SM2   (TPM_ALG_ID)(0x001B)

Definition at line 191 of file Tpm20.h.

◆ TPM_ALG_ECSCHNORR

#define TPM_ALG_ECSCHNORR   (TPM_ALG_ID)(0x001C)

Definition at line 192 of file Tpm20.h.

◆ TPM_ALG_ECMQV

#define TPM_ALG_ECMQV   (TPM_ALG_ID)(0x001D)

Definition at line 193 of file Tpm20.h.

◆ TPM_ALG_KDF1_SP800_56a

#define TPM_ALG_KDF1_SP800_56a   (TPM_ALG_ID)(0x0020)

Definition at line 194 of file Tpm20.h.

◆ TPM_ALG_KDF2

#define TPM_ALG_KDF2   (TPM_ALG_ID)(0x0021)

Definition at line 195 of file Tpm20.h.

◆ TPM_ALG_KDF1_SP800_108

#define TPM_ALG_KDF1_SP800_108   (TPM_ALG_ID)(0x0022)

Definition at line 196 of file Tpm20.h.

◆ TPM_ALG_ECC

#define TPM_ALG_ECC   (TPM_ALG_ID)(0x0023)

Definition at line 197 of file Tpm20.h.

◆ TPM_ALG_SYMCIPHER

#define TPM_ALG_SYMCIPHER   (TPM_ALG_ID)(0x0025)

Definition at line 198 of file Tpm20.h.

◆ TPM_ALG_CTR

#define TPM_ALG_CTR   (TPM_ALG_ID)(0x0040)

Definition at line 199 of file Tpm20.h.

◆ TPM_ALG_OFB

#define TPM_ALG_OFB   (TPM_ALG_ID)(0x0041)

Definition at line 200 of file Tpm20.h.

◆ TPM_ALG_CBC

#define TPM_ALG_CBC   (TPM_ALG_ID)(0x0042)

Definition at line 201 of file Tpm20.h.

◆ TPM_ALG_CFB

#define TPM_ALG_CFB   (TPM_ALG_ID)(0x0043)

Definition at line 202 of file Tpm20.h.

◆ TPM_ALG_ECB

#define TPM_ALG_ECB   (TPM_ALG_ID)(0x0044)

Definition at line 203 of file Tpm20.h.

◆ TPM_ALG_LAST

#define TPM_ALG_LAST   (TPM_ALG_ID)(0x0044)

Definition at line 204 of file Tpm20.h.

◆ TPM_ECC_NONE

#define TPM_ECC_NONE   (TPM_ECC_CURVE)(0x0000)

Definition at line 208 of file Tpm20.h.

◆ TPM_ECC_NIST_P192

#define TPM_ECC_NIST_P192   (TPM_ECC_CURVE)(0x0001)

Definition at line 209 of file Tpm20.h.

◆ TPM_ECC_NIST_P224

#define TPM_ECC_NIST_P224   (TPM_ECC_CURVE)(0x0002)

Definition at line 210 of file Tpm20.h.

◆ TPM_ECC_NIST_P256

#define TPM_ECC_NIST_P256   (TPM_ECC_CURVE)(0x0003)

Definition at line 211 of file Tpm20.h.

◆ TPM_ECC_NIST_P384

#define TPM_ECC_NIST_P384   (TPM_ECC_CURVE)(0x0004)

Definition at line 212 of file Tpm20.h.

◆ TPM_ECC_NIST_P521

#define TPM_ECC_NIST_P521   (TPM_ECC_CURVE)(0x0005)

Definition at line 213 of file Tpm20.h.

◆ TPM_ECC_BN_P256

#define TPM_ECC_BN_P256   (TPM_ECC_CURVE)(0x0010)

Definition at line 214 of file Tpm20.h.

◆ TPM_ECC_BN_P638

#define TPM_ECC_BN_P638   (TPM_ECC_CURVE)(0x0011)

Definition at line 215 of file Tpm20.h.

◆ TPM_ECC_SM2_P256

#define TPM_ECC_SM2_P256   (TPM_ECC_CURVE)(0x0020)

Definition at line 216 of file Tpm20.h.

◆ TPM_CC_FIRST

#define TPM_CC_FIRST   (TPM_CC)(0x0000011F)

Definition at line 220 of file Tpm20.h.

◆ TPM_CC_PP_FIRST

#define TPM_CC_PP_FIRST   (TPM_CC)(0x0000011F)

Definition at line 221 of file Tpm20.h.

◆ TPM_CC_NV_UndefineSpaceSpecial

#define TPM_CC_NV_UndefineSpaceSpecial   (TPM_CC)(0x0000011F)

Definition at line 222 of file Tpm20.h.

◆ TPM_CC_EvictControl

#define TPM_CC_EvictControl   (TPM_CC)(0x00000120)

Definition at line 223 of file Tpm20.h.

◆ TPM_CC_HierarchyControl

#define TPM_CC_HierarchyControl   (TPM_CC)(0x00000121)

Definition at line 224 of file Tpm20.h.

◆ TPM_CC_NV_UndefineSpace

#define TPM_CC_NV_UndefineSpace   (TPM_CC)(0x00000122)

Definition at line 225 of file Tpm20.h.

◆ TPM_CC_ChangeEPS

#define TPM_CC_ChangeEPS   (TPM_CC)(0x00000124)

Definition at line 226 of file Tpm20.h.

◆ TPM_CC_ChangePPS

#define TPM_CC_ChangePPS   (TPM_CC)(0x00000125)

Definition at line 227 of file Tpm20.h.

◆ TPM_CC_Clear

#define TPM_CC_Clear   (TPM_CC)(0x00000126)

Definition at line 228 of file Tpm20.h.

◆ TPM_CC_ClearControl

#define TPM_CC_ClearControl   (TPM_CC)(0x00000127)

Definition at line 229 of file Tpm20.h.

◆ TPM_CC_ClockSet

#define TPM_CC_ClockSet   (TPM_CC)(0x00000128)

Definition at line 230 of file Tpm20.h.

◆ TPM_CC_HierarchyChangeAuth

#define TPM_CC_HierarchyChangeAuth   (TPM_CC)(0x00000129)

Definition at line 231 of file Tpm20.h.

◆ TPM_CC_NV_DefineSpace

#define TPM_CC_NV_DefineSpace   (TPM_CC)(0x0000012A)

Definition at line 232 of file Tpm20.h.

◆ TPM_CC_PCR_Allocate

#define TPM_CC_PCR_Allocate   (TPM_CC)(0x0000012B)

Definition at line 233 of file Tpm20.h.

◆ TPM_CC_PCR_SetAuthPolicy

#define TPM_CC_PCR_SetAuthPolicy   (TPM_CC)(0x0000012C)

Definition at line 234 of file Tpm20.h.

◆ TPM_CC_PP_Commands

#define TPM_CC_PP_Commands   (TPM_CC)(0x0000012D)

Definition at line 235 of file Tpm20.h.

◆ TPM_CC_SetPrimaryPolicy

#define TPM_CC_SetPrimaryPolicy   (TPM_CC)(0x0000012E)

Definition at line 236 of file Tpm20.h.

◆ TPM_CC_FieldUpgradeStart

#define TPM_CC_FieldUpgradeStart   (TPM_CC)(0x0000012F)

Definition at line 237 of file Tpm20.h.

◆ TPM_CC_ClockRateAdjust

#define TPM_CC_ClockRateAdjust   (TPM_CC)(0x00000130)

Definition at line 238 of file Tpm20.h.

◆ TPM_CC_CreatePrimary

#define TPM_CC_CreatePrimary   (TPM_CC)(0x00000131)

Definition at line 239 of file Tpm20.h.

◆ TPM_CC_NV_GlobalWriteLock

#define TPM_CC_NV_GlobalWriteLock   (TPM_CC)(0x00000132)

Definition at line 240 of file Tpm20.h.

◆ TPM_CC_PP_LAST

#define TPM_CC_PP_LAST   (TPM_CC)(0x00000132)

Definition at line 241 of file Tpm20.h.

◆ TPM_CC_GetCommandAuditDigest

#define TPM_CC_GetCommandAuditDigest   (TPM_CC)(0x00000133)

Definition at line 242 of file Tpm20.h.

◆ TPM_CC_NV_Increment

#define TPM_CC_NV_Increment   (TPM_CC)(0x00000134)

Definition at line 243 of file Tpm20.h.

◆ TPM_CC_NV_SetBits

#define TPM_CC_NV_SetBits   (TPM_CC)(0x00000135)

Definition at line 244 of file Tpm20.h.

◆ TPM_CC_NV_Extend

#define TPM_CC_NV_Extend   (TPM_CC)(0x00000136)

Definition at line 245 of file Tpm20.h.

◆ TPM_CC_NV_Write

#define TPM_CC_NV_Write   (TPM_CC)(0x00000137)

Definition at line 246 of file Tpm20.h.

◆ TPM_CC_NV_WriteLock

#define TPM_CC_NV_WriteLock   (TPM_CC)(0x00000138)

Definition at line 247 of file Tpm20.h.

◆ TPM_CC_DictionaryAttackLockReset

#define TPM_CC_DictionaryAttackLockReset   (TPM_CC)(0x00000139)

Definition at line 248 of file Tpm20.h.

◆ TPM_CC_DictionaryAttackParameters

#define TPM_CC_DictionaryAttackParameters   (TPM_CC)(0x0000013A)

Definition at line 249 of file Tpm20.h.

◆ TPM_CC_NV_ChangeAuth

#define TPM_CC_NV_ChangeAuth   (TPM_CC)(0x0000013B)

Definition at line 250 of file Tpm20.h.

◆ TPM_CC_PCR_Event

#define TPM_CC_PCR_Event   (TPM_CC)(0x0000013C)

Definition at line 251 of file Tpm20.h.

◆ TPM_CC_PCR_Reset

#define TPM_CC_PCR_Reset   (TPM_CC)(0x0000013D)

Definition at line 252 of file Tpm20.h.

◆ TPM_CC_SequenceComplete

#define TPM_CC_SequenceComplete   (TPM_CC)(0x0000013E)

Definition at line 253 of file Tpm20.h.

◆ TPM_CC_SetAlgorithmSet

#define TPM_CC_SetAlgorithmSet   (TPM_CC)(0x0000013F)

Definition at line 254 of file Tpm20.h.

◆ TPM_CC_SetCommandCodeAuditStatus

#define TPM_CC_SetCommandCodeAuditStatus   (TPM_CC)(0x00000140)

Definition at line 255 of file Tpm20.h.

◆ TPM_CC_FieldUpgradeData

#define TPM_CC_FieldUpgradeData   (TPM_CC)(0x00000141)

Definition at line 256 of file Tpm20.h.

◆ TPM_CC_IncrementalSelfTest

#define TPM_CC_IncrementalSelfTest   (TPM_CC)(0x00000142)

Definition at line 257 of file Tpm20.h.

◆ TPM_CC_SelfTest

#define TPM_CC_SelfTest   (TPM_CC)(0x00000143)

Definition at line 258 of file Tpm20.h.

◆ TPM_CC_Startup

#define TPM_CC_Startup   (TPM_CC)(0x00000144)

Definition at line 259 of file Tpm20.h.

◆ TPM_CC_Shutdown

#define TPM_CC_Shutdown   (TPM_CC)(0x00000145)

Definition at line 260 of file Tpm20.h.

◆ TPM_CC_StirRandom

#define TPM_CC_StirRandom   (TPM_CC)(0x00000146)

Definition at line 261 of file Tpm20.h.

◆ TPM_CC_ActivateCredential

#define TPM_CC_ActivateCredential   (TPM_CC)(0x00000147)

Definition at line 262 of file Tpm20.h.

◆ TPM_CC_Certify

#define TPM_CC_Certify   (TPM_CC)(0x00000148)

Definition at line 263 of file Tpm20.h.

◆ TPM_CC_PolicyNV

#define TPM_CC_PolicyNV   (TPM_CC)(0x00000149)

Definition at line 264 of file Tpm20.h.

◆ TPM_CC_CertifyCreation

#define TPM_CC_CertifyCreation   (TPM_CC)(0x0000014A)

Definition at line 265 of file Tpm20.h.

◆ TPM_CC_Duplicate

#define TPM_CC_Duplicate   (TPM_CC)(0x0000014B)

Definition at line 266 of file Tpm20.h.

◆ TPM_CC_GetTime

#define TPM_CC_GetTime   (TPM_CC)(0x0000014C)

Definition at line 267 of file Tpm20.h.

◆ TPM_CC_GetSessionAuditDigest

#define TPM_CC_GetSessionAuditDigest   (TPM_CC)(0x0000014D)

Definition at line 268 of file Tpm20.h.

◆ TPM_CC_NV_Read

#define TPM_CC_NV_Read   (TPM_CC)(0x0000014E)

Definition at line 269 of file Tpm20.h.

◆ TPM_CC_NV_ReadLock

#define TPM_CC_NV_ReadLock   (TPM_CC)(0x0000014F)

Definition at line 270 of file Tpm20.h.

◆ TPM_CC_ObjectChangeAuth

#define TPM_CC_ObjectChangeAuth   (TPM_CC)(0x00000150)

Definition at line 271 of file Tpm20.h.

◆ TPM_CC_PolicySecret

#define TPM_CC_PolicySecret   (TPM_CC)(0x00000151)

Definition at line 272 of file Tpm20.h.

◆ TPM_CC_Rewrap

#define TPM_CC_Rewrap   (TPM_CC)(0x00000152)

Definition at line 273 of file Tpm20.h.

◆ TPM_CC_Create

#define TPM_CC_Create   (TPM_CC)(0x00000153)

Definition at line 274 of file Tpm20.h.

◆ TPM_CC_ECDH_ZGen

#define TPM_CC_ECDH_ZGen   (TPM_CC)(0x00000154)

Definition at line 275 of file Tpm20.h.

◆ TPM_CC_HMAC

#define TPM_CC_HMAC   (TPM_CC)(0x00000155)

Definition at line 276 of file Tpm20.h.

◆ TPM_CC_Import

#define TPM_CC_Import   (TPM_CC)(0x00000156)

Definition at line 277 of file Tpm20.h.

◆ TPM_CC_Load

#define TPM_CC_Load   (TPM_CC)(0x00000157)

Definition at line 278 of file Tpm20.h.

◆ TPM_CC_Quote

#define TPM_CC_Quote   (TPM_CC)(0x00000158)

Definition at line 279 of file Tpm20.h.

◆ TPM_CC_RSA_Decrypt

#define TPM_CC_RSA_Decrypt   (TPM_CC)(0x00000159)

Definition at line 280 of file Tpm20.h.

◆ TPM_CC_HMAC_Start

#define TPM_CC_HMAC_Start   (TPM_CC)(0x0000015B)

Definition at line 281 of file Tpm20.h.

◆ TPM_CC_SequenceUpdate

#define TPM_CC_SequenceUpdate   (TPM_CC)(0x0000015C)

Definition at line 282 of file Tpm20.h.

◆ TPM_CC_Sign

#define TPM_CC_Sign   (TPM_CC)(0x0000015D)

Definition at line 283 of file Tpm20.h.

◆ TPM_CC_Unseal

#define TPM_CC_Unseal   (TPM_CC)(0x0000015E)

Definition at line 284 of file Tpm20.h.

◆ TPM_CC_PolicySigned

#define TPM_CC_PolicySigned   (TPM_CC)(0x00000160)

Definition at line 285 of file Tpm20.h.

◆ TPM_CC_ContextLoad

#define TPM_CC_ContextLoad   (TPM_CC)(0x00000161)

Definition at line 286 of file Tpm20.h.

◆ TPM_CC_ContextSave

#define TPM_CC_ContextSave   (TPM_CC)(0x00000162)

Definition at line 287 of file Tpm20.h.

◆ TPM_CC_ECDH_KeyGen

#define TPM_CC_ECDH_KeyGen   (TPM_CC)(0x00000163)

Definition at line 288 of file Tpm20.h.

◆ TPM_CC_EncryptDecrypt

#define TPM_CC_EncryptDecrypt   (TPM_CC)(0x00000164)

Definition at line 289 of file Tpm20.h.

◆ TPM_CC_FlushContext

#define TPM_CC_FlushContext   (TPM_CC)(0x00000165)

Definition at line 290 of file Tpm20.h.

◆ TPM_CC_LoadExternal

#define TPM_CC_LoadExternal   (TPM_CC)(0x00000167)

Definition at line 291 of file Tpm20.h.

◆ TPM_CC_MakeCredential

#define TPM_CC_MakeCredential   (TPM_CC)(0x00000168)

Definition at line 292 of file Tpm20.h.

◆ TPM_CC_NV_ReadPublic

#define TPM_CC_NV_ReadPublic   (TPM_CC)(0x00000169)

Definition at line 293 of file Tpm20.h.

◆ TPM_CC_PolicyAuthorize

#define TPM_CC_PolicyAuthorize   (TPM_CC)(0x0000016A)

Definition at line 294 of file Tpm20.h.

◆ TPM_CC_PolicyAuthValue

#define TPM_CC_PolicyAuthValue   (TPM_CC)(0x0000016B)

Definition at line 295 of file Tpm20.h.

◆ TPM_CC_PolicyCommandCode

#define TPM_CC_PolicyCommandCode   (TPM_CC)(0x0000016C)

Definition at line 296 of file Tpm20.h.

◆ TPM_CC_PolicyCounterTimer

#define TPM_CC_PolicyCounterTimer   (TPM_CC)(0x0000016D)

Definition at line 297 of file Tpm20.h.

◆ TPM_CC_PolicyCpHash

#define TPM_CC_PolicyCpHash   (TPM_CC)(0x0000016E)

Definition at line 298 of file Tpm20.h.

◆ TPM_CC_PolicyLocality

#define TPM_CC_PolicyLocality   (TPM_CC)(0x0000016F)

Definition at line 299 of file Tpm20.h.

◆ TPM_CC_PolicyNameHash

#define TPM_CC_PolicyNameHash   (TPM_CC)(0x00000170)

Definition at line 300 of file Tpm20.h.

◆ TPM_CC_PolicyOR

#define TPM_CC_PolicyOR   (TPM_CC)(0x00000171)

Definition at line 301 of file Tpm20.h.

◆ TPM_CC_PolicyTicket

#define TPM_CC_PolicyTicket   (TPM_CC)(0x00000172)

Definition at line 302 of file Tpm20.h.

◆ TPM_CC_ReadPublic

#define TPM_CC_ReadPublic   (TPM_CC)(0x00000173)

Definition at line 303 of file Tpm20.h.

◆ TPM_CC_RSA_Encrypt

#define TPM_CC_RSA_Encrypt   (TPM_CC)(0x00000174)

Definition at line 304 of file Tpm20.h.

◆ TPM_CC_StartAuthSession

#define TPM_CC_StartAuthSession   (TPM_CC)(0x00000176)

Definition at line 305 of file Tpm20.h.

◆ TPM_CC_VerifySignature

#define TPM_CC_VerifySignature   (TPM_CC)(0x00000177)

Definition at line 306 of file Tpm20.h.

◆ TPM_CC_ECC_Parameters

#define TPM_CC_ECC_Parameters   (TPM_CC)(0x00000178)

Definition at line 307 of file Tpm20.h.

◆ TPM_CC_FirmwareRead

#define TPM_CC_FirmwareRead   (TPM_CC)(0x00000179)

Definition at line 308 of file Tpm20.h.

◆ TPM_CC_GetCapability

#define TPM_CC_GetCapability   (TPM_CC)(0x0000017A)

Definition at line 309 of file Tpm20.h.

◆ TPM_CC_GetRandom

#define TPM_CC_GetRandom   (TPM_CC)(0x0000017B)

Definition at line 310 of file Tpm20.h.

◆ TPM_CC_GetTestResult

#define TPM_CC_GetTestResult   (TPM_CC)(0x0000017C)

Definition at line 311 of file Tpm20.h.

◆ TPM_CC_Hash

#define TPM_CC_Hash   (TPM_CC)(0x0000017D)

Definition at line 312 of file Tpm20.h.

◆ TPM_CC_PCR_Read

#define TPM_CC_PCR_Read   (TPM_CC)(0x0000017E)

Definition at line 313 of file Tpm20.h.

◆ TPM_CC_PolicyPCR

#define TPM_CC_PolicyPCR   (TPM_CC)(0x0000017F)

Definition at line 314 of file Tpm20.h.

◆ TPM_CC_PolicyRestart

#define TPM_CC_PolicyRestart   (TPM_CC)(0x00000180)

Definition at line 315 of file Tpm20.h.

◆ TPM_CC_ReadClock

#define TPM_CC_ReadClock   (TPM_CC)(0x00000181)

Definition at line 316 of file Tpm20.h.

◆ TPM_CC_PCR_Extend

#define TPM_CC_PCR_Extend   (TPM_CC)(0x00000182)

Definition at line 317 of file Tpm20.h.

◆ TPM_CC_PCR_SetAuthValue

#define TPM_CC_PCR_SetAuthValue   (TPM_CC)(0x00000183)

Definition at line 318 of file Tpm20.h.

◆ TPM_CC_NV_Certify

#define TPM_CC_NV_Certify   (TPM_CC)(0x00000184)

Definition at line 319 of file Tpm20.h.

◆ TPM_CC_EventSequenceComplete

#define TPM_CC_EventSequenceComplete   (TPM_CC)(0x00000185)

Definition at line 320 of file Tpm20.h.

◆ TPM_CC_HashSequenceStart

#define TPM_CC_HashSequenceStart   (TPM_CC)(0x00000186)

Definition at line 321 of file Tpm20.h.

◆ TPM_CC_PolicyPhysicalPresence

#define TPM_CC_PolicyPhysicalPresence   (TPM_CC)(0x00000187)

Definition at line 322 of file Tpm20.h.

◆ TPM_CC_PolicyDuplicationSelect

#define TPM_CC_PolicyDuplicationSelect   (TPM_CC)(0x00000188)

Definition at line 323 of file Tpm20.h.

◆ TPM_CC_PolicyGetDigest

#define TPM_CC_PolicyGetDigest   (TPM_CC)(0x00000189)

Definition at line 324 of file Tpm20.h.

◆ TPM_CC_TestParms

#define TPM_CC_TestParms   (TPM_CC)(0x0000018A)

Definition at line 325 of file Tpm20.h.

◆ TPM_CC_Commit

#define TPM_CC_Commit   (TPM_CC)(0x0000018B)

Definition at line 326 of file Tpm20.h.

◆ TPM_CC_PolicyPassword

#define TPM_CC_PolicyPassword   (TPM_CC)(0x0000018C)

Definition at line 327 of file Tpm20.h.

◆ TPM_CC_ZGen_2Phase

#define TPM_CC_ZGen_2Phase   (TPM_CC)(0x0000018D)

Definition at line 328 of file Tpm20.h.

◆ TPM_CC_EC_Ephemeral

#define TPM_CC_EC_Ephemeral   (TPM_CC)(0x0000018E)

Definition at line 329 of file Tpm20.h.

◆ TPM_CC_LAST

#define TPM_CC_LAST   (TPM_CC)(0x0000018E)

Definition at line 330 of file Tpm20.h.

◆ TPM_RC_SUCCESS

#define TPM_RC_SUCCESS   (TPM_RC)(0x000)

Definition at line 334 of file Tpm20.h.

◆ TPM_RC_BAD_TAG

#define TPM_RC_BAD_TAG   (TPM_RC)(0x030)

Definition at line 335 of file Tpm20.h.

◆ RC_VER1

#define RC_VER1   (TPM_RC)(0x100)

Definition at line 336 of file Tpm20.h.

◆ TPM_RC_INITIALIZE

#define TPM_RC_INITIALIZE   (TPM_RC)(RC_VER1 + 0x000)

Definition at line 337 of file Tpm20.h.

◆ TPM_RC_FAILURE

#define TPM_RC_FAILURE   (TPM_RC)(RC_VER1 + 0x001)

Definition at line 338 of file Tpm20.h.

◆ TPM_RC_SEQUENCE

#define TPM_RC_SEQUENCE   (TPM_RC)(RC_VER1 + 0x003)

Definition at line 339 of file Tpm20.h.

◆ TPM_RC_PRIVATE

#define TPM_RC_PRIVATE   (TPM_RC)(RC_VER1 + 0x00B)

Definition at line 340 of file Tpm20.h.

◆ TPM_RC_HMAC

#define TPM_RC_HMAC   (TPM_RC)(RC_VER1 + 0x019)

Definition at line 341 of file Tpm20.h.

◆ TPM_RC_DISABLED

#define TPM_RC_DISABLED   (TPM_RC)(RC_VER1 + 0x020)

Definition at line 342 of file Tpm20.h.

◆ TPM_RC_EXCLUSIVE

#define TPM_RC_EXCLUSIVE   (TPM_RC)(RC_VER1 + 0x021)

Definition at line 343 of file Tpm20.h.

◆ TPM_RC_AUTH_TYPE

#define TPM_RC_AUTH_TYPE   (TPM_RC)(RC_VER1 + 0x024)

Definition at line 344 of file Tpm20.h.

◆ TPM_RC_AUTH_MISSING

#define TPM_RC_AUTH_MISSING   (TPM_RC)(RC_VER1 + 0x025)

Definition at line 345 of file Tpm20.h.

◆ TPM_RC_POLICY

#define TPM_RC_POLICY   (TPM_RC)(RC_VER1 + 0x026)

Definition at line 346 of file Tpm20.h.

◆ TPM_RC_PCR

#define TPM_RC_PCR   (TPM_RC)(RC_VER1 + 0x027)

Definition at line 347 of file Tpm20.h.

◆ TPM_RC_PCR_CHANGED

#define TPM_RC_PCR_CHANGED   (TPM_RC)(RC_VER1 + 0x028)

Definition at line 348 of file Tpm20.h.

◆ TPM_RC_UPGRADE

#define TPM_RC_UPGRADE   (TPM_RC)(RC_VER1 + 0x02D)

Definition at line 349 of file Tpm20.h.

◆ TPM_RC_TOO_MANY_CONTEXTS

#define TPM_RC_TOO_MANY_CONTEXTS   (TPM_RC)(RC_VER1 + 0x02E)

Definition at line 350 of file Tpm20.h.

◆ TPM_RC_AUTH_UNAVAILABLE

#define TPM_RC_AUTH_UNAVAILABLE   (TPM_RC)(RC_VER1 + 0x02F)

Definition at line 351 of file Tpm20.h.

◆ TPM_RC_REBOOT

#define TPM_RC_REBOOT   (TPM_RC)(RC_VER1 + 0x030)

Definition at line 352 of file Tpm20.h.

◆ TPM_RC_UNBALANCED

#define TPM_RC_UNBALANCED   (TPM_RC)(RC_VER1 + 0x031)

Definition at line 353 of file Tpm20.h.

◆ TPM_RC_COMMAND_SIZE

#define TPM_RC_COMMAND_SIZE   (TPM_RC)(RC_VER1 + 0x042)

Definition at line 354 of file Tpm20.h.

◆ TPM_RC_COMMAND_CODE

#define TPM_RC_COMMAND_CODE   (TPM_RC)(RC_VER1 + 0x043)

Definition at line 355 of file Tpm20.h.

◆ TPM_RC_AUTHSIZE

#define TPM_RC_AUTHSIZE   (TPM_RC)(RC_VER1 + 0x044)

Definition at line 356 of file Tpm20.h.

◆ TPM_RC_AUTH_CONTEXT

#define TPM_RC_AUTH_CONTEXT   (TPM_RC)(RC_VER1 + 0x045)

Definition at line 357 of file Tpm20.h.

◆ TPM_RC_NV_RANGE

#define TPM_RC_NV_RANGE   (TPM_RC)(RC_VER1 + 0x046)

Definition at line 358 of file Tpm20.h.

◆ TPM_RC_NV_SIZE

#define TPM_RC_NV_SIZE   (TPM_RC)(RC_VER1 + 0x047)

Definition at line 359 of file Tpm20.h.

◆ TPM_RC_NV_LOCKED

#define TPM_RC_NV_LOCKED   (TPM_RC)(RC_VER1 + 0x048)

Definition at line 360 of file Tpm20.h.

◆ TPM_RC_NV_AUTHORIZATION

#define TPM_RC_NV_AUTHORIZATION   (TPM_RC)(RC_VER1 + 0x049)

Definition at line 361 of file Tpm20.h.

◆ TPM_RC_NV_UNINITIALIZED

#define TPM_RC_NV_UNINITIALIZED   (TPM_RC)(RC_VER1 + 0x04A)

Definition at line 362 of file Tpm20.h.

◆ TPM_RC_NV_SPACE

#define TPM_RC_NV_SPACE   (TPM_RC)(RC_VER1 + 0x04B)

Definition at line 363 of file Tpm20.h.

◆ TPM_RC_NV_DEFINED

#define TPM_RC_NV_DEFINED   (TPM_RC)(RC_VER1 + 0x04C)

Definition at line 364 of file Tpm20.h.

◆ TPM_RC_BAD_CONTEXT

#define TPM_RC_BAD_CONTEXT   (TPM_RC)(RC_VER1 + 0x050)

Definition at line 365 of file Tpm20.h.

◆ TPM_RC_CPHASH

#define TPM_RC_CPHASH   (TPM_RC)(RC_VER1 + 0x051)

Definition at line 366 of file Tpm20.h.

◆ TPM_RC_PARENT

#define TPM_RC_PARENT   (TPM_RC)(RC_VER1 + 0x052)

Definition at line 367 of file Tpm20.h.

◆ TPM_RC_NEEDS_TEST

#define TPM_RC_NEEDS_TEST   (TPM_RC)(RC_VER1 + 0x053)

Definition at line 368 of file Tpm20.h.

◆ TPM_RC_NO_RESULT

#define TPM_RC_NO_RESULT   (TPM_RC)(RC_VER1 + 0x054)

Definition at line 369 of file Tpm20.h.

◆ TPM_RC_SENSITIVE

#define TPM_RC_SENSITIVE   (TPM_RC)(RC_VER1 + 0x055)

Definition at line 370 of file Tpm20.h.

◆ RC_MAX_FM0

#define RC_MAX_FM0   (TPM_RC)(RC_VER1 + 0x07F)

Definition at line 371 of file Tpm20.h.

◆ RC_FMT1

#define RC_FMT1   (TPM_RC)(0x080)

Definition at line 372 of file Tpm20.h.

◆ TPM_RC_ASYMMETRIC

#define TPM_RC_ASYMMETRIC   (TPM_RC)(RC_FMT1 + 0x001)

Definition at line 373 of file Tpm20.h.

◆ TPM_RC_ATTRIBUTES

#define TPM_RC_ATTRIBUTES   (TPM_RC)(RC_FMT1 + 0x002)

Definition at line 374 of file Tpm20.h.

◆ TPM_RC_HASH

#define TPM_RC_HASH   (TPM_RC)(RC_FMT1 + 0x003)

Definition at line 375 of file Tpm20.h.

◆ TPM_RC_VALUE

#define TPM_RC_VALUE   (TPM_RC)(RC_FMT1 + 0x004)

Definition at line 376 of file Tpm20.h.

◆ TPM_RC_HIERARCHY

#define TPM_RC_HIERARCHY   (TPM_RC)(RC_FMT1 + 0x005)

Definition at line 377 of file Tpm20.h.

◆ TPM_RC_KEY_SIZE

#define TPM_RC_KEY_SIZE   (TPM_RC)(RC_FMT1 + 0x007)

Definition at line 378 of file Tpm20.h.

◆ TPM_RC_MGF

#define TPM_RC_MGF   (TPM_RC)(RC_FMT1 + 0x008)

Definition at line 379 of file Tpm20.h.

◆ TPM_RC_MODE

#define TPM_RC_MODE   (TPM_RC)(RC_FMT1 + 0x009)

Definition at line 380 of file Tpm20.h.

◆ TPM_RC_TYPE

#define TPM_RC_TYPE   (TPM_RC)(RC_FMT1 + 0x00A)

Definition at line 381 of file Tpm20.h.

◆ TPM_RC_HANDLE

#define TPM_RC_HANDLE   (TPM_RC)(RC_FMT1 + 0x00B)

Definition at line 382 of file Tpm20.h.

◆ TPM_RC_KDF

#define TPM_RC_KDF   (TPM_RC)(RC_FMT1 + 0x00C)

Definition at line 383 of file Tpm20.h.

◆ TPM_RC_RANGE

#define TPM_RC_RANGE   (TPM_RC)(RC_FMT1 + 0x00D)

Definition at line 384 of file Tpm20.h.

◆ TPM_RC_AUTH_FAIL

#define TPM_RC_AUTH_FAIL   (TPM_RC)(RC_FMT1 + 0x00E)

Definition at line 385 of file Tpm20.h.

◆ TPM_RC_NONCE

#define TPM_RC_NONCE   (TPM_RC)(RC_FMT1 + 0x00F)

Definition at line 386 of file Tpm20.h.

◆ TPM_RC_PP

#define TPM_RC_PP   (TPM_RC)(RC_FMT1 + 0x010)

Definition at line 387 of file Tpm20.h.

◆ TPM_RC_SCHEME

#define TPM_RC_SCHEME   (TPM_RC)(RC_FMT1 + 0x012)

Definition at line 388 of file Tpm20.h.

◆ TPM_RC_SIZE

#define TPM_RC_SIZE   (TPM_RC)(RC_FMT1 + 0x015)

Definition at line 389 of file Tpm20.h.

◆ TPM_RC_SYMMETRIC

#define TPM_RC_SYMMETRIC   (TPM_RC)(RC_FMT1 + 0x016)

Definition at line 390 of file Tpm20.h.

◆ TPM_RC_TAG

#define TPM_RC_TAG   (TPM_RC)(RC_FMT1 + 0x017)

Definition at line 391 of file Tpm20.h.

◆ TPM_RC_SELECTOR

#define TPM_RC_SELECTOR   (TPM_RC)(RC_FMT1 + 0x018)

Definition at line 392 of file Tpm20.h.

◆ TPM_RC_INSUFFICIENT

#define TPM_RC_INSUFFICIENT   (TPM_RC)(RC_FMT1 + 0x01A)

Definition at line 393 of file Tpm20.h.

◆ TPM_RC_SIGNATURE

#define TPM_RC_SIGNATURE   (TPM_RC)(RC_FMT1 + 0x01B)

Definition at line 394 of file Tpm20.h.

◆ TPM_RC_KEY

#define TPM_RC_KEY   (TPM_RC)(RC_FMT1 + 0x01C)

Definition at line 395 of file Tpm20.h.

◆ TPM_RC_POLICY_FAIL

#define TPM_RC_POLICY_FAIL   (TPM_RC)(RC_FMT1 + 0x01D)

Definition at line 396 of file Tpm20.h.

◆ TPM_RC_INTEGRITY

#define TPM_RC_INTEGRITY   (TPM_RC)(RC_FMT1 + 0x01F)

Definition at line 397 of file Tpm20.h.

◆ TPM_RC_TICKET

#define TPM_RC_TICKET   (TPM_RC)(RC_FMT1 + 0x020)

Definition at line 398 of file Tpm20.h.

◆ TPM_RC_RESERVED_BITS

#define TPM_RC_RESERVED_BITS   (TPM_RC)(RC_FMT1 + 0x021)

Definition at line 399 of file Tpm20.h.

◆ TPM_RC_BAD_AUTH

#define TPM_RC_BAD_AUTH   (TPM_RC)(RC_FMT1 + 0x022)

Definition at line 400 of file Tpm20.h.

◆ TPM_RC_EXPIRED

#define TPM_RC_EXPIRED   (TPM_RC)(RC_FMT1 + 0x023)

Definition at line 401 of file Tpm20.h.

◆ TPM_RC_POLICY_CC

#define TPM_RC_POLICY_CC   (TPM_RC)(RC_FMT1 + 0x024 )

Definition at line 402 of file Tpm20.h.

◆ TPM_RC_BINDING

#define TPM_RC_BINDING   (TPM_RC)(RC_FMT1 + 0x025)

Definition at line 403 of file Tpm20.h.

◆ TPM_RC_CURVE

#define TPM_RC_CURVE   (TPM_RC)(RC_FMT1 + 0x026)

Definition at line 404 of file Tpm20.h.

◆ TPM_RC_ECC_POINT

#define TPM_RC_ECC_POINT   (TPM_RC)(RC_FMT1 + 0x027)

Definition at line 405 of file Tpm20.h.

◆ RC_WARN

#define RC_WARN   (TPM_RC)(0x900)

Definition at line 406 of file Tpm20.h.

◆ TPM_RC_CONTEXT_GAP

#define TPM_RC_CONTEXT_GAP   (TPM_RC)(RC_WARN + 0x001)

Definition at line 407 of file Tpm20.h.

◆ TPM_RC_OBJECT_MEMORY

#define TPM_RC_OBJECT_MEMORY   (TPM_RC)(RC_WARN + 0x002)

Definition at line 408 of file Tpm20.h.

◆ TPM_RC_SESSION_MEMORY

#define TPM_RC_SESSION_MEMORY   (TPM_RC)(RC_WARN + 0x003)

Definition at line 409 of file Tpm20.h.

◆ TPM_RC_MEMORY

#define TPM_RC_MEMORY   (TPM_RC)(RC_WARN + 0x004)

Definition at line 410 of file Tpm20.h.

◆ TPM_RC_SESSION_HANDLES

#define TPM_RC_SESSION_HANDLES   (TPM_RC)(RC_WARN + 0x005)

Definition at line 411 of file Tpm20.h.

◆ TPM_RC_OBJECT_HANDLES

#define TPM_RC_OBJECT_HANDLES   (TPM_RC)(RC_WARN + 0x006)

Definition at line 412 of file Tpm20.h.

◆ TPM_RC_LOCALITY

#define TPM_RC_LOCALITY   (TPM_RC)(RC_WARN + 0x007)

Definition at line 413 of file Tpm20.h.

◆ TPM_RC_YIELDED

#define TPM_RC_YIELDED   (TPM_RC)(RC_WARN + 0x008)

Definition at line 414 of file Tpm20.h.

◆ TPM_RC_CANCELED

#define TPM_RC_CANCELED   (TPM_RC)(RC_WARN + 0x009)

Definition at line 415 of file Tpm20.h.

◆ TPM_RC_TESTING

#define TPM_RC_TESTING   (TPM_RC)(RC_WARN + 0x00A)

Definition at line 416 of file Tpm20.h.

◆ TPM_RC_REFERENCE_H0

#define TPM_RC_REFERENCE_H0   (TPM_RC)(RC_WARN + 0x010)

Definition at line 417 of file Tpm20.h.

◆ TPM_RC_REFERENCE_H1

#define TPM_RC_REFERENCE_H1   (TPM_RC)(RC_WARN + 0x011)

Definition at line 418 of file Tpm20.h.

◆ TPM_RC_REFERENCE_H2

#define TPM_RC_REFERENCE_H2   (TPM_RC)(RC_WARN + 0x012)

Definition at line 419 of file Tpm20.h.

◆ TPM_RC_REFERENCE_H3

#define TPM_RC_REFERENCE_H3   (TPM_RC)(RC_WARN + 0x013)

Definition at line 420 of file Tpm20.h.

◆ TPM_RC_REFERENCE_H4

#define TPM_RC_REFERENCE_H4   (TPM_RC)(RC_WARN + 0x014)

Definition at line 421 of file Tpm20.h.

◆ TPM_RC_REFERENCE_H5

#define TPM_RC_REFERENCE_H5   (TPM_RC)(RC_WARN + 0x015)

Definition at line 422 of file Tpm20.h.

◆ TPM_RC_REFERENCE_H6

#define TPM_RC_REFERENCE_H6   (TPM_RC)(RC_WARN + 0x016)

Definition at line 423 of file Tpm20.h.

◆ TPM_RC_REFERENCE_S0

#define TPM_RC_REFERENCE_S0   (TPM_RC)(RC_WARN + 0x018)

Definition at line 424 of file Tpm20.h.

◆ TPM_RC_REFERENCE_S1

#define TPM_RC_REFERENCE_S1   (TPM_RC)(RC_WARN + 0x019)

Definition at line 425 of file Tpm20.h.

◆ TPM_RC_REFERENCE_S2

#define TPM_RC_REFERENCE_S2   (TPM_RC)(RC_WARN + 0x01A)

Definition at line 426 of file Tpm20.h.

◆ TPM_RC_REFERENCE_S3

#define TPM_RC_REFERENCE_S3   (TPM_RC)(RC_WARN + 0x01B)

Definition at line 427 of file Tpm20.h.

◆ TPM_RC_REFERENCE_S4

#define TPM_RC_REFERENCE_S4   (TPM_RC)(RC_WARN + 0x01C)

Definition at line 428 of file Tpm20.h.

◆ TPM_RC_REFERENCE_S5

#define TPM_RC_REFERENCE_S5   (TPM_RC)(RC_WARN + 0x01D)

Definition at line 429 of file Tpm20.h.

◆ TPM_RC_REFERENCE_S6

#define TPM_RC_REFERENCE_S6   (TPM_RC)(RC_WARN + 0x01E)

Definition at line 430 of file Tpm20.h.

◆ TPM_RC_NV_RATE

#define TPM_RC_NV_RATE   (TPM_RC)(RC_WARN + 0x020)

Definition at line 431 of file Tpm20.h.

◆ TPM_RC_LOCKOUT

#define TPM_RC_LOCKOUT   (TPM_RC)(RC_WARN + 0x021)

Definition at line 432 of file Tpm20.h.

◆ TPM_RC_RETRY

#define TPM_RC_RETRY   (TPM_RC)(RC_WARN + 0x022)

Definition at line 433 of file Tpm20.h.

◆ TPM_RC_NV_UNAVAILABLE

#define TPM_RC_NV_UNAVAILABLE   (TPM_RC)(RC_WARN + 0x023)

Definition at line 434 of file Tpm20.h.

◆ TPM_RC_NOT_USED

#define TPM_RC_NOT_USED   (TPM_RC)(RC_WARN + 0x7F)

Definition at line 435 of file Tpm20.h.

◆ TPM_RC_H

#define TPM_RC_H   (TPM_RC)(0x000)

Definition at line 436 of file Tpm20.h.

◆ TPM_RC_P

#define TPM_RC_P   (TPM_RC)(0x040)

Definition at line 437 of file Tpm20.h.

◆ TPM_RC_S

#define TPM_RC_S   (TPM_RC)(0x800)

Definition at line 438 of file Tpm20.h.

◆ TPM_RC_1

#define TPM_RC_1   (TPM_RC)(0x100)

Definition at line 439 of file Tpm20.h.

◆ TPM_RC_2

#define TPM_RC_2   (TPM_RC)(0x200)

Definition at line 440 of file Tpm20.h.

◆ TPM_RC_3

#define TPM_RC_3   (TPM_RC)(0x300)

Definition at line 441 of file Tpm20.h.

◆ TPM_RC_4

#define TPM_RC_4   (TPM_RC)(0x400)

Definition at line 442 of file Tpm20.h.

◆ TPM_RC_5

#define TPM_RC_5   (TPM_RC)(0x500)

Definition at line 443 of file Tpm20.h.

◆ TPM_RC_6

#define TPM_RC_6   (TPM_RC)(0x600)

Definition at line 444 of file Tpm20.h.

◆ TPM_RC_7

#define TPM_RC_7   (TPM_RC)(0x700)

Definition at line 445 of file Tpm20.h.

◆ TPM_RC_8

#define TPM_RC_8   (TPM_RC)(0x800)

Definition at line 446 of file Tpm20.h.

◆ TPM_RC_9

#define TPM_RC_9   (TPM_RC)(0x900)

Definition at line 447 of file Tpm20.h.

◆ TPM_RC_A

#define TPM_RC_A   (TPM_RC)(0xA00)

Definition at line 448 of file Tpm20.h.

◆ TPM_RC_B

#define TPM_RC_B   (TPM_RC)(0xB00)

Definition at line 449 of file Tpm20.h.

◆ TPM_RC_C

#define TPM_RC_C   (TPM_RC)(0xC00)

Definition at line 450 of file Tpm20.h.

◆ TPM_RC_D

#define TPM_RC_D   (TPM_RC)(0xD00)

Definition at line 451 of file Tpm20.h.

◆ TPM_RC_E

#define TPM_RC_E   (TPM_RC)(0xE00)

Definition at line 452 of file Tpm20.h.

◆ TPM_RC_F

#define TPM_RC_F   (TPM_RC)(0xF00)

Definition at line 453 of file Tpm20.h.

◆ TPM_RC_N_MASK

#define TPM_RC_N_MASK   (TPM_RC)(0xF00)

Definition at line 454 of file Tpm20.h.

◆ TPM_CLOCK_COARSE_SLOWER

#define TPM_CLOCK_COARSE_SLOWER   (TPM_CLOCK_ADJUST)(-3)

Definition at line 458 of file Tpm20.h.

◆ TPM_CLOCK_MEDIUM_SLOWER

#define TPM_CLOCK_MEDIUM_SLOWER   (TPM_CLOCK_ADJUST)(-2)

Definition at line 459 of file Tpm20.h.

◆ TPM_CLOCK_FINE_SLOWER

#define TPM_CLOCK_FINE_SLOWER   (TPM_CLOCK_ADJUST)(-1)

Definition at line 460 of file Tpm20.h.

◆ TPM_CLOCK_NO_CHANGE

#define TPM_CLOCK_NO_CHANGE   (TPM_CLOCK_ADJUST)(0)

Definition at line 461 of file Tpm20.h.

◆ TPM_CLOCK_FINE_FASTER

#define TPM_CLOCK_FINE_FASTER   (TPM_CLOCK_ADJUST)(1)

Definition at line 462 of file Tpm20.h.

◆ TPM_CLOCK_MEDIUM_FASTER

#define TPM_CLOCK_MEDIUM_FASTER   (TPM_CLOCK_ADJUST)(2)

Definition at line 463 of file Tpm20.h.

◆ TPM_CLOCK_COARSE_FASTER

#define TPM_CLOCK_COARSE_FASTER   (TPM_CLOCK_ADJUST)(3)

Definition at line 464 of file Tpm20.h.

◆ TPM_EO_EQ

#define TPM_EO_EQ   (TPM_EO)(0x0000)

Definition at line 468 of file Tpm20.h.

◆ TPM_EO_NEQ

#define TPM_EO_NEQ   (TPM_EO)(0x0001)

Definition at line 469 of file Tpm20.h.

◆ TPM_EO_SIGNED_GT

#define TPM_EO_SIGNED_GT   (TPM_EO)(0x0002)

Definition at line 470 of file Tpm20.h.

◆ TPM_EO_UNSIGNED_GT

#define TPM_EO_UNSIGNED_GT   (TPM_EO)(0x0003)

Definition at line 471 of file Tpm20.h.

◆ TPM_EO_SIGNED_LT

#define TPM_EO_SIGNED_LT   (TPM_EO)(0x0004)

Definition at line 472 of file Tpm20.h.

◆ TPM_EO_UNSIGNED_LT

#define TPM_EO_UNSIGNED_LT   (TPM_EO)(0x0005)

Definition at line 473 of file Tpm20.h.

◆ TPM_EO_SIGNED_GE

#define TPM_EO_SIGNED_GE   (TPM_EO)(0x0006)

Definition at line 474 of file Tpm20.h.

◆ TPM_EO_UNSIGNED_GE

#define TPM_EO_UNSIGNED_GE   (TPM_EO)(0x0007)

Definition at line 475 of file Tpm20.h.

◆ TPM_EO_SIGNED_LE

#define TPM_EO_SIGNED_LE   (TPM_EO)(0x0008)

Definition at line 476 of file Tpm20.h.

◆ TPM_EO_UNSIGNED_LE

#define TPM_EO_UNSIGNED_LE   (TPM_EO)(0x0009)

Definition at line 477 of file Tpm20.h.

◆ TPM_EO_BITSET

#define TPM_EO_BITSET   (TPM_EO)(0x000A)

Definition at line 478 of file Tpm20.h.

◆ TPM_EO_BITCLEAR

#define TPM_EO_BITCLEAR   (TPM_EO)(0x000B)

Definition at line 479 of file Tpm20.h.

◆ TPM_ST_RSP_COMMAND

#define TPM_ST_RSP_COMMAND   (TPM_ST)(0x00C4)

Definition at line 483 of file Tpm20.h.

◆ TPM_ST_NULL

#define TPM_ST_NULL   (TPM_ST)(0X8000)

Definition at line 484 of file Tpm20.h.

◆ TPM_ST_NO_SESSIONS

#define TPM_ST_NO_SESSIONS   (TPM_ST)(0x8001)

Definition at line 485 of file Tpm20.h.

◆ TPM_ST_SESSIONS

#define TPM_ST_SESSIONS   (TPM_ST)(0x8002)

Definition at line 486 of file Tpm20.h.

◆ TPM_ST_ATTEST_NV

#define TPM_ST_ATTEST_NV   (TPM_ST)(0x8014)

Definition at line 487 of file Tpm20.h.

◆ TPM_ST_ATTEST_COMMAND_AUDIT

#define TPM_ST_ATTEST_COMMAND_AUDIT   (TPM_ST)(0x8015)

Definition at line 488 of file Tpm20.h.

◆ TPM_ST_ATTEST_SESSION_AUDIT

#define TPM_ST_ATTEST_SESSION_AUDIT   (TPM_ST)(0x8016)

Definition at line 489 of file Tpm20.h.

◆ TPM_ST_ATTEST_CERTIFY

#define TPM_ST_ATTEST_CERTIFY   (TPM_ST)(0x8017)

Definition at line 490 of file Tpm20.h.

◆ TPM_ST_ATTEST_QUOTE

#define TPM_ST_ATTEST_QUOTE   (TPM_ST)(0x8018)

Definition at line 491 of file Tpm20.h.

◆ TPM_ST_ATTEST_TIME

#define TPM_ST_ATTEST_TIME   (TPM_ST)(0x8019)

Definition at line 492 of file Tpm20.h.

◆ TPM_ST_ATTEST_CREATION

#define TPM_ST_ATTEST_CREATION   (TPM_ST)(0x801A)

Definition at line 493 of file Tpm20.h.

◆ TPM_ST_CREATION

#define TPM_ST_CREATION   (TPM_ST)(0x8021)

Definition at line 494 of file Tpm20.h.

◆ TPM_ST_VERIFIED

#define TPM_ST_VERIFIED   (TPM_ST)(0x8022)

Definition at line 495 of file Tpm20.h.

◆ TPM_ST_AUTH_SECRET

#define TPM_ST_AUTH_SECRET   (TPM_ST)(0x8023)

Definition at line 496 of file Tpm20.h.

◆ TPM_ST_HASHCHECK

#define TPM_ST_HASHCHECK   (TPM_ST)(0x8024)

Definition at line 497 of file Tpm20.h.

◆ TPM_ST_AUTH_SIGNED

#define TPM_ST_AUTH_SIGNED   (TPM_ST)(0x8025)

Definition at line 498 of file Tpm20.h.

◆ TPM_ST_FU_MANIFEST

#define TPM_ST_FU_MANIFEST   (TPM_ST)(0x8029)

Definition at line 499 of file Tpm20.h.

◆ TPM_SU_CLEAR

#define TPM_SU_CLEAR   (TPM_SU)(0x0000)

Definition at line 503 of file Tpm20.h.

◆ TPM_SU_STATE

#define TPM_SU_STATE   (TPM_SU)(0x0001)

Definition at line 504 of file Tpm20.h.

◆ TPM_SE_HMAC

#define TPM_SE_HMAC   (TPM_SE)(0x00)

Definition at line 508 of file Tpm20.h.

◆ TPM_SE_POLICY

#define TPM_SE_POLICY   (TPM_SE)(0x01)

Definition at line 509 of file Tpm20.h.

◆ TPM_SE_TRIAL

#define TPM_SE_TRIAL   (TPM_SE)(0x03)

Definition at line 510 of file Tpm20.h.

◆ TPM_CAP_FIRST

#define TPM_CAP_FIRST   (TPM_CAP)(0x00000000)

Definition at line 514 of file Tpm20.h.

◆ TPM_CAP_ALGS

#define TPM_CAP_ALGS   (TPM_CAP)(0x00000000)

Definition at line 515 of file Tpm20.h.

◆ TPM_CAP_HANDLES

#define TPM_CAP_HANDLES   (TPM_CAP)(0x00000001)

Definition at line 516 of file Tpm20.h.

◆ TPM_CAP_COMMANDS

#define TPM_CAP_COMMANDS   (TPM_CAP)(0x00000002)

Definition at line 517 of file Tpm20.h.

◆ TPM_CAP_PP_COMMANDS

#define TPM_CAP_PP_COMMANDS   (TPM_CAP)(0x00000003)

Definition at line 518 of file Tpm20.h.

◆ TPM_CAP_AUDIT_COMMANDS

#define TPM_CAP_AUDIT_COMMANDS   (TPM_CAP)(0x00000004)

Definition at line 519 of file Tpm20.h.

◆ TPM_CAP_PCRS

#define TPM_CAP_PCRS   (TPM_CAP)(0x00000005)

Definition at line 520 of file Tpm20.h.

◆ TPM_CAP_TPM_PROPERTIES

#define TPM_CAP_TPM_PROPERTIES   (TPM_CAP)(0x00000006)

Definition at line 521 of file Tpm20.h.

◆ TPM_CAP_PCR_PROPERTIES

#define TPM_CAP_PCR_PROPERTIES   (TPM_CAP)(0x00000007)

Definition at line 522 of file Tpm20.h.

◆ TPM_CAP_ECC_CURVES

#define TPM_CAP_ECC_CURVES   (TPM_CAP)(0x00000008)

Definition at line 523 of file Tpm20.h.

◆ TPM_CAP_LAST

#define TPM_CAP_LAST   (TPM_CAP)(0x00000008)

Definition at line 524 of file Tpm20.h.

◆ TPM_CAP_VENDOR_PROPERTY

#define TPM_CAP_VENDOR_PROPERTY   (TPM_CAP)(0x00000100)

Definition at line 525 of file Tpm20.h.

◆ TPM_PT_NONE

#define TPM_PT_NONE   (TPM_PT)(0x00000000)

Definition at line 529 of file Tpm20.h.

◆ PT_GROUP

#define PT_GROUP   (TPM_PT)(0x00000100)

Definition at line 530 of file Tpm20.h.

◆ PT_FIXED

#define PT_FIXED   (TPM_PT)(PT_GROUP * 1)

Definition at line 531 of file Tpm20.h.

◆ TPM_PT_FAMILY_INDICATOR

#define TPM_PT_FAMILY_INDICATOR   (TPM_PT)(PT_FIXED + 0)

Definition at line 532 of file Tpm20.h.

◆ TPM_PT_LEVEL

#define TPM_PT_LEVEL   (TPM_PT)(PT_FIXED + 1)

Definition at line 533 of file Tpm20.h.

◆ TPM_PT_REVISION

#define TPM_PT_REVISION   (TPM_PT)(PT_FIXED + 2)

Definition at line 534 of file Tpm20.h.

◆ TPM_PT_DAY_OF_YEAR

#define TPM_PT_DAY_OF_YEAR   (TPM_PT)(PT_FIXED + 3)

Definition at line 535 of file Tpm20.h.

◆ TPM_PT_YEAR

#define TPM_PT_YEAR   (TPM_PT)(PT_FIXED + 4)

Definition at line 536 of file Tpm20.h.

◆ TPM_PT_MANUFACTURER

#define TPM_PT_MANUFACTURER   (TPM_PT)(PT_FIXED + 5)

Definition at line 537 of file Tpm20.h.

◆ TPM_PT_VENDOR_STRING_1

#define TPM_PT_VENDOR_STRING_1   (TPM_PT)(PT_FIXED + 6)

Definition at line 538 of file Tpm20.h.

◆ TPM_PT_VENDOR_STRING_2

#define TPM_PT_VENDOR_STRING_2   (TPM_PT)(PT_FIXED + 7)

Definition at line 539 of file Tpm20.h.

◆ TPM_PT_VENDOR_STRING_3

#define TPM_PT_VENDOR_STRING_3   (TPM_PT)(PT_FIXED + 8)

Definition at line 540 of file Tpm20.h.

◆ TPM_PT_VENDOR_STRING_4

#define TPM_PT_VENDOR_STRING_4   (TPM_PT)(PT_FIXED + 9)

Definition at line 541 of file Tpm20.h.

◆ TPM_PT_VENDOR_TPM_TYPE

#define TPM_PT_VENDOR_TPM_TYPE   (TPM_PT)(PT_FIXED + 10)

Definition at line 542 of file Tpm20.h.

◆ TPM_PT_FIRMWARE_VERSION_1

#define TPM_PT_FIRMWARE_VERSION_1   (TPM_PT)(PT_FIXED + 11)

Definition at line 543 of file Tpm20.h.

◆ TPM_PT_FIRMWARE_VERSION_2

#define TPM_PT_FIRMWARE_VERSION_2   (TPM_PT)(PT_FIXED + 12)

Definition at line 544 of file Tpm20.h.

◆ TPM_PT_INPUT_BUFFER

#define TPM_PT_INPUT_BUFFER   (TPM_PT)(PT_FIXED + 13)

Definition at line 545 of file Tpm20.h.

◆ TPM_PT_HR_TRANSIENT_MIN

#define TPM_PT_HR_TRANSIENT_MIN   (TPM_PT)(PT_FIXED + 14)

Definition at line 546 of file Tpm20.h.

◆ TPM_PT_HR_PERSISTENT_MIN

#define TPM_PT_HR_PERSISTENT_MIN   (TPM_PT)(PT_FIXED + 15)

Definition at line 547 of file Tpm20.h.

◆ TPM_PT_HR_LOADED_MIN

#define TPM_PT_HR_LOADED_MIN   (TPM_PT)(PT_FIXED + 16)

Definition at line 548 of file Tpm20.h.

◆ TPM_PT_ACTIVE_SESSIONS_MAX

#define TPM_PT_ACTIVE_SESSIONS_MAX   (TPM_PT)(PT_FIXED + 17)

Definition at line 549 of file Tpm20.h.

◆ TPM_PT_PCR_COUNT

#define TPM_PT_PCR_COUNT   (TPM_PT)(PT_FIXED + 18)

Definition at line 550 of file Tpm20.h.

◆ TPM_PT_PCR_SELECT_MIN

#define TPM_PT_PCR_SELECT_MIN   (TPM_PT)(PT_FIXED + 19)

Definition at line 551 of file Tpm20.h.

◆ TPM_PT_CONTEXT_GAP_MAX

#define TPM_PT_CONTEXT_GAP_MAX   (TPM_PT)(PT_FIXED + 20)

Definition at line 552 of file Tpm20.h.

◆ TPM_PT_NV_COUNTERS_MAX

#define TPM_PT_NV_COUNTERS_MAX   (TPM_PT)(PT_FIXED + 22)

Definition at line 553 of file Tpm20.h.

◆ TPM_PT_NV_INDEX_MAX

#define TPM_PT_NV_INDEX_MAX   (TPM_PT)(PT_FIXED + 23)

Definition at line 554 of file Tpm20.h.

◆ TPM_PT_MEMORY

#define TPM_PT_MEMORY   (TPM_PT)(PT_FIXED + 24)

Definition at line 555 of file Tpm20.h.

◆ TPM_PT_CLOCK_UPDATE

#define TPM_PT_CLOCK_UPDATE   (TPM_PT)(PT_FIXED + 25)

Definition at line 556 of file Tpm20.h.

◆ TPM_PT_CONTEXT_HASH

#define TPM_PT_CONTEXT_HASH   (TPM_PT)(PT_FIXED + 26)

Definition at line 557 of file Tpm20.h.

◆ TPM_PT_CONTEXT_SYM

#define TPM_PT_CONTEXT_SYM   (TPM_PT)(PT_FIXED + 27)

Definition at line 558 of file Tpm20.h.

◆ TPM_PT_CONTEXT_SYM_SIZE

#define TPM_PT_CONTEXT_SYM_SIZE   (TPM_PT)(PT_FIXED + 28)

Definition at line 559 of file Tpm20.h.

◆ TPM_PT_ORDERLY_COUNT

#define TPM_PT_ORDERLY_COUNT   (TPM_PT)(PT_FIXED + 29)

Definition at line 560 of file Tpm20.h.

◆ TPM_PT_MAX_COMMAND_SIZE

#define TPM_PT_MAX_COMMAND_SIZE   (TPM_PT)(PT_FIXED + 30)

Definition at line 561 of file Tpm20.h.

◆ TPM_PT_MAX_RESPONSE_SIZE

#define TPM_PT_MAX_RESPONSE_SIZE   (TPM_PT)(PT_FIXED + 31)

Definition at line 562 of file Tpm20.h.

◆ TPM_PT_MAX_DIGEST

#define TPM_PT_MAX_DIGEST   (TPM_PT)(PT_FIXED + 32)

Definition at line 563 of file Tpm20.h.

◆ TPM_PT_MAX_OBJECT_CONTEXT

#define TPM_PT_MAX_OBJECT_CONTEXT   (TPM_PT)(PT_FIXED + 33)

Definition at line 564 of file Tpm20.h.

◆ TPM_PT_MAX_SESSION_CONTEXT

#define TPM_PT_MAX_SESSION_CONTEXT   (TPM_PT)(PT_FIXED + 34)

Definition at line 565 of file Tpm20.h.

◆ TPM_PT_PS_FAMILY_INDICATOR

#define TPM_PT_PS_FAMILY_INDICATOR   (TPM_PT)(PT_FIXED + 35)

Definition at line 566 of file Tpm20.h.

◆ TPM_PT_PS_LEVEL

#define TPM_PT_PS_LEVEL   (TPM_PT)(PT_FIXED + 36)

Definition at line 567 of file Tpm20.h.

◆ TPM_PT_PS_REVISION

#define TPM_PT_PS_REVISION   (TPM_PT)(PT_FIXED + 37)

Definition at line 568 of file Tpm20.h.

◆ TPM_PT_PS_DAY_OF_YEAR

#define TPM_PT_PS_DAY_OF_YEAR   (TPM_PT)(PT_FIXED + 38)

Definition at line 569 of file Tpm20.h.

◆ TPM_PT_PS_YEAR

#define TPM_PT_PS_YEAR   (TPM_PT)(PT_FIXED + 39)

Definition at line 570 of file Tpm20.h.

◆ TPM_PT_SPLIT_MAX

#define TPM_PT_SPLIT_MAX   (TPM_PT)(PT_FIXED + 40)

Definition at line 571 of file Tpm20.h.

◆ TPM_PT_TOTAL_COMMANDS

#define TPM_PT_TOTAL_COMMANDS   (TPM_PT)(PT_FIXED + 41)

Definition at line 572 of file Tpm20.h.

◆ TPM_PT_LIBRARY_COMMANDS

#define TPM_PT_LIBRARY_COMMANDS   (TPM_PT)(PT_FIXED + 42)

Definition at line 573 of file Tpm20.h.

◆ TPM_PT_VENDOR_COMMANDS

#define TPM_PT_VENDOR_COMMANDS   (TPM_PT)(PT_FIXED + 43)

Definition at line 574 of file Tpm20.h.

◆ PT_VAR

#define PT_VAR   (TPM_PT)(PT_GROUP * 2)

Definition at line 575 of file Tpm20.h.

◆ TPM_PT_PERMANENT

#define TPM_PT_PERMANENT   (TPM_PT)(PT_VAR + 0)

Definition at line 576 of file Tpm20.h.

◆ TPM_PT_STARTUP_CLEAR

#define TPM_PT_STARTUP_CLEAR   (TPM_PT)(PT_VAR + 1)

Definition at line 577 of file Tpm20.h.

◆ TPM_PT_HR_NV_INDEX

#define TPM_PT_HR_NV_INDEX   (TPM_PT)(PT_VAR + 2)

Definition at line 578 of file Tpm20.h.

◆ TPM_PT_HR_LOADED

#define TPM_PT_HR_LOADED   (TPM_PT)(PT_VAR + 3)

Definition at line 579 of file Tpm20.h.

◆ TPM_PT_HR_LOADED_AVAIL

#define TPM_PT_HR_LOADED_AVAIL   (TPM_PT)(PT_VAR + 4)

Definition at line 580 of file Tpm20.h.

◆ TPM_PT_HR_ACTIVE

#define TPM_PT_HR_ACTIVE   (TPM_PT)(PT_VAR + 5)

Definition at line 581 of file Tpm20.h.

◆ TPM_PT_HR_ACTIVE_AVAIL

#define TPM_PT_HR_ACTIVE_AVAIL   (TPM_PT)(PT_VAR + 6)

Definition at line 582 of file Tpm20.h.

◆ TPM_PT_HR_TRANSIENT_AVAIL

#define TPM_PT_HR_TRANSIENT_AVAIL   (TPM_PT)(PT_VAR + 7)

Definition at line 583 of file Tpm20.h.

◆ TPM_PT_HR_PERSISTENT

#define TPM_PT_HR_PERSISTENT   (TPM_PT)(PT_VAR + 8)

Definition at line 584 of file Tpm20.h.

◆ TPM_PT_HR_PERSISTENT_AVAIL

#define TPM_PT_HR_PERSISTENT_AVAIL   (TPM_PT)(PT_VAR + 9)

Definition at line 585 of file Tpm20.h.

◆ TPM_PT_NV_COUNTERS

#define TPM_PT_NV_COUNTERS   (TPM_PT)(PT_VAR + 10)

Definition at line 586 of file Tpm20.h.

◆ TPM_PT_NV_COUNTERS_AVAIL

#define TPM_PT_NV_COUNTERS_AVAIL   (TPM_PT)(PT_VAR + 11)

Definition at line 587 of file Tpm20.h.

◆ TPM_PT_ALGORITHM_SET

#define TPM_PT_ALGORITHM_SET   (TPM_PT)(PT_VAR + 12)

Definition at line 588 of file Tpm20.h.

◆ TPM_PT_LOADED_CURVES

#define TPM_PT_LOADED_CURVES   (TPM_PT)(PT_VAR + 13)

Definition at line 589 of file Tpm20.h.

◆ TPM_PT_LOCKOUT_COUNTER

#define TPM_PT_LOCKOUT_COUNTER   (TPM_PT)(PT_VAR + 14)

Definition at line 590 of file Tpm20.h.

◆ TPM_PT_MAX_AUTH_FAIL

#define TPM_PT_MAX_AUTH_FAIL   (TPM_PT)(PT_VAR + 15)

Definition at line 591 of file Tpm20.h.

◆ TPM_PT_LOCKOUT_INTERVAL

#define TPM_PT_LOCKOUT_INTERVAL   (TPM_PT)(PT_VAR + 16)

Definition at line 592 of file Tpm20.h.

◆ TPM_PT_LOCKOUT_RECOVERY

#define TPM_PT_LOCKOUT_RECOVERY   (TPM_PT)(PT_VAR + 17)

Definition at line 593 of file Tpm20.h.

◆ TPM_PT_NV_WRITE_RECOVERY

#define TPM_PT_NV_WRITE_RECOVERY   (TPM_PT)(PT_VAR + 18)

Definition at line 594 of file Tpm20.h.

◆ TPM_PT_AUDIT_COUNTER_0

#define TPM_PT_AUDIT_COUNTER_0   (TPM_PT)(PT_VAR + 19)

Definition at line 595 of file Tpm20.h.

◆ TPM_PT_AUDIT_COUNTER_1

#define TPM_PT_AUDIT_COUNTER_1   (TPM_PT)(PT_VAR + 20)

Definition at line 596 of file Tpm20.h.

◆ TPM_PT_PCR_FIRST

#define TPM_PT_PCR_FIRST   (TPM_PT_PCR)(0x00000000)

Definition at line 600 of file Tpm20.h.

◆ TPM_PT_PCR_SAVE

#define TPM_PT_PCR_SAVE   (TPM_PT_PCR)(0x00000000)

Definition at line 601 of file Tpm20.h.

◆ TPM_PT_PCR_EXTEND_L0

#define TPM_PT_PCR_EXTEND_L0   (TPM_PT_PCR)(0x00000001)

Definition at line 602 of file Tpm20.h.

◆ TPM_PT_PCR_RESET_L0

#define TPM_PT_PCR_RESET_L0   (TPM_PT_PCR)(0x00000002)

Definition at line 603 of file Tpm20.h.

◆ TPM_PT_PCR_EXTEND_L1

#define TPM_PT_PCR_EXTEND_L1   (TPM_PT_PCR)(0x00000003)

Definition at line 604 of file Tpm20.h.

◆ TPM_PT_PCR_RESET_L1

#define TPM_PT_PCR_RESET_L1   (TPM_PT_PCR)(0x00000004)

Definition at line 605 of file Tpm20.h.

◆ TPM_PT_PCR_EXTEND_L2

#define TPM_PT_PCR_EXTEND_L2   (TPM_PT_PCR)(0x00000005)

Definition at line 606 of file Tpm20.h.

◆ TPM_PT_PCR_RESET_L2

#define TPM_PT_PCR_RESET_L2   (TPM_PT_PCR)(0x00000006)

Definition at line 607 of file Tpm20.h.

◆ TPM_PT_PCR_EXTEND_L3

#define TPM_PT_PCR_EXTEND_L3   (TPM_PT_PCR)(0x00000007)

Definition at line 608 of file Tpm20.h.

◆ TPM_PT_PCR_RESET_L3

#define TPM_PT_PCR_RESET_L3   (TPM_PT_PCR)(0x00000008)

Definition at line 609 of file Tpm20.h.

◆ TPM_PT_PCR_EXTEND_L4

#define TPM_PT_PCR_EXTEND_L4   (TPM_PT_PCR)(0x00000009)

Definition at line 610 of file Tpm20.h.

◆ TPM_PT_PCR_RESET_L4

#define TPM_PT_PCR_RESET_L4   (TPM_PT_PCR)(0x0000000A)

Definition at line 611 of file Tpm20.h.

◆ TPM_PT_PCR_NO_INCREMENT

#define TPM_PT_PCR_NO_INCREMENT   (TPM_PT_PCR)(0x00000011)

Definition at line 612 of file Tpm20.h.

◆ TPM_PT_PCR_DRTM_RESET

#define TPM_PT_PCR_DRTM_RESET   (TPM_PT_PCR)(0x00000012)

Definition at line 613 of file Tpm20.h.

◆ TPM_PT_PCR_POLICY

#define TPM_PT_PCR_POLICY   (TPM_PT_PCR)(0x00000013)

Definition at line 614 of file Tpm20.h.

◆ TPM_PT_PCR_AUTH

#define TPM_PT_PCR_AUTH   (TPM_PT_PCR)(0x00000014)

Definition at line 615 of file Tpm20.h.

◆ TPM_PT_PCR_LAST

#define TPM_PT_PCR_LAST   (TPM_PT_PCR)(0x00000014)

Definition at line 616 of file Tpm20.h.

◆ TPM_PS_MAIN

#define TPM_PS_MAIN   (TPM_PS)(0x00000000)

Definition at line 620 of file Tpm20.h.

◆ TPM_PS_PC

#define TPM_PS_PC   (TPM_PS)(0x00000001)

Definition at line 621 of file Tpm20.h.

◆ TPM_PS_PDA

#define TPM_PS_PDA   (TPM_PS)(0x00000002)

Definition at line 622 of file Tpm20.h.

◆ TPM_PS_CELL_PHONE

#define TPM_PS_CELL_PHONE   (TPM_PS)(0x00000003)

Definition at line 623 of file Tpm20.h.

◆ TPM_PS_SERVER

#define TPM_PS_SERVER   (TPM_PS)(0x00000004)

Definition at line 624 of file Tpm20.h.

◆ TPM_PS_PERIPHERAL

#define TPM_PS_PERIPHERAL   (TPM_PS)(0x00000005)

Definition at line 625 of file Tpm20.h.

◆ TPM_PS_TSS

#define TPM_PS_TSS   (TPM_PS)(0x00000006)

Definition at line 626 of file Tpm20.h.

◆ TPM_PS_STORAGE

#define TPM_PS_STORAGE   (TPM_PS)(0x00000007)

Definition at line 627 of file Tpm20.h.

◆ TPM_PS_AUTHENTICATION

#define TPM_PS_AUTHENTICATION   (TPM_PS)(0x00000008)

Definition at line 628 of file Tpm20.h.

◆ TPM_PS_EMBEDDED

#define TPM_PS_EMBEDDED   (TPM_PS)(0x00000009)

Definition at line 629 of file Tpm20.h.

◆ TPM_PS_HARDCOPY

#define TPM_PS_HARDCOPY   (TPM_PS)(0x0000000A)

Definition at line 630 of file Tpm20.h.

◆ TPM_PS_INFRASTRUCTURE

#define TPM_PS_INFRASTRUCTURE   (TPM_PS)(0x0000000B)

Definition at line 631 of file Tpm20.h.

◆ TPM_PS_VIRTUALIZATION

#define TPM_PS_VIRTUALIZATION   (TPM_PS)(0x0000000C)

Definition at line 632 of file Tpm20.h.

◆ TPM_PS_TNC

#define TPM_PS_TNC   (TPM_PS)(0x0000000D)

Definition at line 633 of file Tpm20.h.

◆ TPM_PS_MULTI_TENANT

#define TPM_PS_MULTI_TENANT   (TPM_PS)(0x0000000E)

Definition at line 634 of file Tpm20.h.

◆ TPM_PS_TC

#define TPM_PS_TC   (TPM_PS)(0x0000000F)

Definition at line 635 of file Tpm20.h.

◆ TPM_HT_PCR

#define TPM_HT_PCR   (TPM_HT)(0x00)

Definition at line 647 of file Tpm20.h.

◆ TPM_HT_NV_INDEX

#define TPM_HT_NV_INDEX   (TPM_HT)(0x01)

Definition at line 648 of file Tpm20.h.

◆ TPM_HT_HMAC_SESSION

#define TPM_HT_HMAC_SESSION   (TPM_HT)(0x02)

Definition at line 649 of file Tpm20.h.

◆ TPM_HT_LOADED_SESSION

#define TPM_HT_LOADED_SESSION   (TPM_HT)(0x02)

Definition at line 650 of file Tpm20.h.

◆ TPM_HT_POLICY_SESSION

#define TPM_HT_POLICY_SESSION   (TPM_HT)(0x03)

Definition at line 651 of file Tpm20.h.

◆ TPM_HT_ACTIVE_SESSION

#define TPM_HT_ACTIVE_SESSION   (TPM_HT)(0x03)

Definition at line 652 of file Tpm20.h.

◆ TPM_HT_PERMANENT

#define TPM_HT_PERMANENT   (TPM_HT)(0x40)

Definition at line 653 of file Tpm20.h.

◆ TPM_HT_TRANSIENT

#define TPM_HT_TRANSIENT   (TPM_HT)(0x80)

Definition at line 654 of file Tpm20.h.

◆ TPM_HT_PERSISTENT

#define TPM_HT_PERSISTENT   (TPM_HT)(0x81)

Definition at line 655 of file Tpm20.h.

◆ TPM_RH_FIRST

#define TPM_RH_FIRST   (TPM_RH)(0x40000000)

Definition at line 659 of file Tpm20.h.

◆ TPM_RH_SRK

#define TPM_RH_SRK   (TPM_RH)(0x40000000)

Definition at line 660 of file Tpm20.h.

◆ TPM_RH_OWNER

#define TPM_RH_OWNER   (TPM_RH)(0x40000001)

Definition at line 661 of file Tpm20.h.

◆ TPM_RH_REVOKE

#define TPM_RH_REVOKE   (TPM_RH)(0x40000002)

Definition at line 662 of file Tpm20.h.

◆ TPM_RH_TRANSPORT

#define TPM_RH_TRANSPORT   (TPM_RH)(0x40000003)

Definition at line 663 of file Tpm20.h.

◆ TPM_RH_OPERATOR

#define TPM_RH_OPERATOR   (TPM_RH)(0x40000004)

Definition at line 664 of file Tpm20.h.

◆ TPM_RH_ADMIN

#define TPM_RH_ADMIN   (TPM_RH)(0x40000005)

Definition at line 665 of file Tpm20.h.

◆ TPM_RH_EK

#define TPM_RH_EK   (TPM_RH)(0x40000006)

Definition at line 666 of file Tpm20.h.

◆ TPM_RH_NULL

#define TPM_RH_NULL   (TPM_RH)(0x40000007)

Definition at line 667 of file Tpm20.h.

◆ TPM_RH_UNASSIGNED

#define TPM_RH_UNASSIGNED   (TPM_RH)(0x40000008)

Definition at line 668 of file Tpm20.h.

◆ TPM_RS_PW

#define TPM_RS_PW   (TPM_RH)(0x40000009)

Definition at line 669 of file Tpm20.h.

◆ TPM_RH_LOCKOUT

#define TPM_RH_LOCKOUT   (TPM_RH)(0x4000000A)

Definition at line 670 of file Tpm20.h.

◆ TPM_RH_ENDORSEMENT

#define TPM_RH_ENDORSEMENT   (TPM_RH)(0x4000000B)

Definition at line 671 of file Tpm20.h.

◆ TPM_RH_PLATFORM

#define TPM_RH_PLATFORM   (TPM_RH)(0x4000000C)

Definition at line 672 of file Tpm20.h.

◆ TPM_RH_PLATFORM_NV

#define TPM_RH_PLATFORM_NV   (TPM_RH)(0x4000000D)

Definition at line 673 of file Tpm20.h.

◆ TPM_RH_AUTH_00

#define TPM_RH_AUTH_00   (TPM_RH)(0x40000010)

Definition at line 674 of file Tpm20.h.

◆ TPM_RH_AUTH_FF

#define TPM_RH_AUTH_FF   (TPM_RH)(0x4000010F)

Definition at line 675 of file Tpm20.h.

◆ TPM_RH_LAST

#define TPM_RH_LAST   (TPM_RH)(0x4000010F)

Definition at line 676 of file Tpm20.h.

◆ HR_HANDLE_MASK

#define HR_HANDLE_MASK   (TPM_HC)(0x00FFFFFF)

Definition at line 680 of file Tpm20.h.

◆ HR_RANGE_MASK

#define HR_RANGE_MASK   (TPM_HC)(0xFF000000)

Definition at line 681 of file Tpm20.h.

◆ HR_SHIFT

#define HR_SHIFT   (TPM_HC)(24)

Definition at line 682 of file Tpm20.h.

◆ HR_PCR

#define HR_PCR   (TPM_HC)((TPM_HC)TPM_HT_PCR << HR_SHIFT)

Definition at line 683 of file Tpm20.h.

◆ HR_HMAC_SESSION

#define HR_HMAC_SESSION   (TPM_HC)((TPM_HC)TPM_HT_HMAC_SESSION << HR_SHIFT)

Definition at line 684 of file Tpm20.h.

◆ HR_POLICY_SESSION

#define HR_POLICY_SESSION   (TPM_HC)((TPM_HC)TPM_HT_POLICY_SESSION << HR_SHIFT)

Definition at line 685 of file Tpm20.h.

◆ HR_TRANSIENT

#define HR_TRANSIENT   (TPM_HC)((TPM_HC)TPM_HT_TRANSIENT << HR_SHIFT)

Definition at line 686 of file Tpm20.h.

◆ HR_PERSISTENT

#define HR_PERSISTENT   (TPM_HC)((TPM_HC)TPM_HT_PERSISTENT << HR_SHIFT)

Definition at line 687 of file Tpm20.h.

◆ HR_NV_INDEX

#define HR_NV_INDEX   (TPM_HC)((TPM_HC)TPM_HT_NV_INDEX << HR_SHIFT)

Definition at line 688 of file Tpm20.h.

◆ HR_PERMANENT

#define HR_PERMANENT   (TPM_HC)((TPM_HC)TPM_HT_PERMANENT << HR_SHIFT)

Definition at line 689 of file Tpm20.h.

◆ PCR_FIRST

#define PCR_FIRST   (TPM_HC)(HR_PCR + 0)

Definition at line 690 of file Tpm20.h.

◆ PCR_LAST

#define PCR_LAST   (TPM_HC)(PCR_FIRST + IMPLEMENTATION_PCR - 1)

Definition at line 691 of file Tpm20.h.

◆ HMAC_SESSION_FIRST

#define HMAC_SESSION_FIRST   (TPM_HC)(HR_HMAC_SESSION + 0)

Definition at line 692 of file Tpm20.h.

◆ HMAC_SESSION_LAST

#define HMAC_SESSION_LAST   (TPM_HC)(HMAC_SESSION_FIRST + MAX_ACTIVE_SESSIONS - 1)

Definition at line 693 of file Tpm20.h.

◆ LOADED_SESSION_FIRST

#define LOADED_SESSION_FIRST   (TPM_HC)(HMAC_SESSION_FIRST)

Definition at line 694 of file Tpm20.h.

◆ LOADED_SESSION_LAST

#define LOADED_SESSION_LAST   (TPM_HC)(HMAC_SESSION_LAST)

Definition at line 695 of file Tpm20.h.

◆ POLICY_SESSION_FIRST

#define POLICY_SESSION_FIRST   (TPM_HC)(HR_POLICY_SESSION + 0)

Definition at line 696 of file Tpm20.h.

◆ POLICY_SESSION_LAST

#define POLICY_SESSION_LAST   (TPM_HC)(POLICY_SESSION_FIRST + MAX_ACTIVE_SESSIONS - 1)

Definition at line 697 of file Tpm20.h.

◆ TRANSIENT_FIRST

#define TRANSIENT_FIRST   (TPM_HC)(HR_TRANSIENT + 0)

Definition at line 698 of file Tpm20.h.

◆ ACTIVE_SESSION_FIRST

#define ACTIVE_SESSION_FIRST   (TPM_HC)(POLICY_SESSION_FIRST)

Definition at line 699 of file Tpm20.h.

◆ ACTIVE_SESSION_LAST

#define ACTIVE_SESSION_LAST   (TPM_HC)(POLICY_SESSION_LAST)

Definition at line 700 of file Tpm20.h.

◆ TRANSIENT_LAST

#define TRANSIENT_LAST   (TPM_HC)(TRANSIENT_FIRST+MAX_LOADED_OBJECTS - 1)

Definition at line 701 of file Tpm20.h.

◆ PERSISTENT_FIRST

#define PERSISTENT_FIRST   (TPM_HC)(HR_PERSISTENT + 0)

Definition at line 702 of file Tpm20.h.

◆ PERSISTENT_LAST

#define PERSISTENT_LAST   (TPM_HC)(PERSISTENT_FIRST + 0x00FFFFFF)

Definition at line 703 of file Tpm20.h.

◆ PLATFORM_PERSISTENT

#define PLATFORM_PERSISTENT   (TPM_HC)(PERSISTENT_FIRST + 0x00800000)

Definition at line 704 of file Tpm20.h.

◆ NV_INDEX_FIRST

#define NV_INDEX_FIRST   (TPM_HC)(HR_NV_INDEX + 0)

Definition at line 705 of file Tpm20.h.

◆ NV_INDEX_LAST

#define NV_INDEX_LAST   (TPM_HC)(NV_INDEX_FIRST + 0x00FFFFFF)

Definition at line 706 of file Tpm20.h.

◆ PERMANENT_FIRST

#define PERMANENT_FIRST   (TPM_HC)(TPM_RH_FIRST)

Definition at line 707 of file Tpm20.h.

◆ PERMANENT_LAST

#define PERMANENT_LAST   (TPM_HC)(TPM_RH_LAST)

Definition at line 708 of file Tpm20.h.

◆ HASH_ALG_SHA1

#define HASH_ALG_SHA1   0x00000001

Definition at line 1808 of file Tpm20.h.

◆ HASH_ALG_SHA256

#define HASH_ALG_SHA256   0x00000002

Definition at line 1809 of file Tpm20.h.

◆ HASH_ALG_SHA384

#define HASH_ALG_SHA384   0x00000004

Definition at line 1810 of file Tpm20.h.

◆ HASH_ALG_SHA512

#define HASH_ALG_SHA512   0x00000008

Definition at line 1811 of file Tpm20.h.

◆ HASH_ALG_SM3_256

#define HASH_ALG_SM3_256   0x00000010

Definition at line 1812 of file Tpm20.h.

Typedef Documentation

◆ BSIZE

typedef UINT16 BSIZE

Definition at line 79 of file Tpm20.h.

◆ CONTEXT_SLOT

Definition at line 87 of file Tpm20.h.

◆ CONTEXT_COUNTER

Definition at line 88 of file Tpm20.h.

◆ BYTE

typedef UINT8 BYTE

Definition at line 144 of file Tpm20.h.

◆ TPM_AUTHORIZATION_SIZE

Definition at line 152 of file Tpm20.h.

◆ TPM_PARAMETER_SIZE

Definition at line 153 of file Tpm20.h.

◆ TPM_KEY_SIZE

Definition at line 154 of file Tpm20.h.

◆ TPM_KEY_BITS

Definition at line 155 of file Tpm20.h.

◆ TPM_GENERATED

Definition at line 160 of file Tpm20.h.

◆ TPM_ALG_ID

typedef UINT16 TPM_ALG_ID

Definition at line 164 of file Tpm20.h.

◆ TPM_ECC_CURVE

Definition at line 207 of file Tpm20.h.

◆ TPM_CC

typedef UINT32 TPM_CC

Definition at line 219 of file Tpm20.h.

◆ TPM_RC

typedef UINT32 TPM_RC

Definition at line 333 of file Tpm20.h.

◆ TPM_CLOCK_ADJUST

Definition at line 457 of file Tpm20.h.

◆ TPM_EO

typedef UINT16 TPM_EO

Definition at line 467 of file Tpm20.h.

◆ TPM_ST

typedef UINT16 TPM_ST

Definition at line 482 of file Tpm20.h.

◆ TPM_SU

typedef UINT16 TPM_SU

Definition at line 502 of file Tpm20.h.

◆ TPM_SE

typedef UINT8 TPM_SE

Definition at line 507 of file Tpm20.h.

◆ TPM_CAP

typedef UINT32 TPM_CAP

Definition at line 513 of file Tpm20.h.

◆ TPM_PT

typedef UINT32 TPM_PT

Definition at line 528 of file Tpm20.h.

◆ TPM_PT_PCR

typedef UINT32 TPM_PT_PCR

Definition at line 599 of file Tpm20.h.

◆ TPM_PS

typedef UINT32 TPM_PS

Definition at line 619 of file Tpm20.h.

◆ TPM_HT

typedef UINT8 TPM_HT

Definition at line 646 of file Tpm20.h.

◆ TPM_RH

typedef UINT32 TPM_RH

Definition at line 658 of file Tpm20.h.

◆ TPM_HC

typedef TPM_HANDLE TPM_HC

Definition at line 679 of file Tpm20.h.

◆ TPMI_YES_NO

typedef BYTE TPMI_YES_NO

Definition at line 814 of file Tpm20.h.

◆ TPMI_DH_OBJECT

Definition at line 817 of file Tpm20.h.

◆ TPMI_DH_PERSISTENT

Definition at line 820 of file Tpm20.h.

◆ TPMI_DH_ENTITY

Definition at line 823 of file Tpm20.h.

◆ TPMI_DH_PCR

Definition at line 826 of file Tpm20.h.

◆ TPMI_SH_AUTH_SESSION

Definition at line 829 of file Tpm20.h.

◆ TPMI_SH_HMAC

Definition at line 832 of file Tpm20.h.

◆ TPMI_SH_POLICY

Definition at line 835 of file Tpm20.h.

◆ TPMI_DH_CONTEXT

Definition at line 838 of file Tpm20.h.

◆ TPMI_RH_HIERARCHY

Definition at line 841 of file Tpm20.h.

◆ TPMI_RH_HIERARCHY_AUTH

Definition at line 844 of file Tpm20.h.

◆ TPMI_RH_PLATFORM

Definition at line 847 of file Tpm20.h.

◆ TPMI_RH_OWNER

Definition at line 850 of file Tpm20.h.

◆ TPMI_RH_ENDORSEMENT

Definition at line 853 of file Tpm20.h.

◆ TPMI_RH_PROVISION

Definition at line 856 of file Tpm20.h.

◆ TPMI_RH_CLEAR

Definition at line 859 of file Tpm20.h.

◆ TPMI_RH_NV_AUTH

Definition at line 862 of file Tpm20.h.

◆ TPMI_RH_LOCKOUT

Definition at line 865 of file Tpm20.h.

◆ TPMI_RH_NV_INDEX

Definition at line 868 of file Tpm20.h.

◆ TPMI_ALG_HASH

Definition at line 871 of file Tpm20.h.

◆ TPMI_ALG_ASYM

Definition at line 874 of file Tpm20.h.

◆ TPMI_ALG_SYM

Definition at line 877 of file Tpm20.h.

◆ TPMI_ALG_SYM_OBJECT

Definition at line 880 of file Tpm20.h.

◆ TPMI_ALG_SYM_MODE

Definition at line 883 of file Tpm20.h.

◆ TPMI_ALG_KDF

Definition at line 886 of file Tpm20.h.

◆ TPMI_ALG_SIG_SCHEME

Definition at line 889 of file Tpm20.h.

◆ TPMI_ECC_KEY_EXCHANGE

Definition at line 892 of file Tpm20.h.

◆ TPMI_ST_COMMAND_TAG

Definition at line 895 of file Tpm20.h.

◆ TPM2B_NONCE

Definition at line 933 of file Tpm20.h.

◆ TPM2B_AUTH

Definition at line 936 of file Tpm20.h.

◆ TPM2B_OPERAND

Definition at line 939 of file Tpm20.h.

◆ TPMI_ST_ATTEST

Definition at line 1194 of file Tpm20.h.

◆ TPMI_AES_KEY_BITS

Definition at line 1242 of file Tpm20.h.

◆ TPMI_SM4_KEY_BITS

Definition at line 1245 of file Tpm20.h.

◆ TPMI_ALG_KEYEDHASH_SCHEME

Definition at line 1311 of file Tpm20.h.

◆ TPMS_SCHEME_HMAC

Definition at line 1314 of file Tpm20.h.

◆ TPMS_SCHEME_RSASSA

Definition at line 1335 of file Tpm20.h.

◆ TPMS_SCHEME_RSAPSS

Definition at line 1336 of file Tpm20.h.

◆ TPMS_SCHEME_ECDSA

Definition at line 1339 of file Tpm20.h.

◆ TPMS_SCHEME_SM2

Definition at line 1340 of file Tpm20.h.

◆ TPMS_SCHEME_ECSCHNORR

Definition at line 1341 of file Tpm20.h.

◆ TPMI_ALG_ASYM_SCHEME

Definition at line 1411 of file Tpm20.h.

◆ TPMI_ALG_RSA_SCHEME

Definition at line 1431 of file Tpm20.h.

◆ TPMI_ALG_RSA_DECRYPT

Definition at line 1440 of file Tpm20.h.

◆ TPMI_RSA_KEY_BITS

Definition at line 1455 of file Tpm20.h.

◆ TPMI_ALG_ECC_SCHEME

Definition at line 1482 of file Tpm20.h.

◆ TPMI_ECC_CURVE

Definition at line 1485 of file Tpm20.h.

◆ TPMI_ALG_PUBLIC

Definition at line 1562 of file Tpm20.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( BSD2_PATENT  )