TianoCore EDK2 master
|
Go to the source code of this file.
Enumerations | |
enum | tdTPM_KEY_FLAGS { redirection = 0x00000001 , migratable = 0x00000002 , isVolatile = 0x00000004 , pcrIgnoredOnRead = 0x00000008 , migrateAuthority = 0x00000010 } |
TPM Specification data structures (TCG TPM Specification Version 1.2 Revision 103) See http://trustedcomputinggroup.org for latest specification updates
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Tpm12.h.
#define CAP_PROP_SESSION_DAA ((TPM_CAPABILITY_AREA) 0x0000011A) |
#define TPM_AD_AUDITDIGEST ((TPM_CAPABILITY_AREA) 2) |
#define TPM_AD_CONTEXTCOUNT ((TPM_CAPABILITY_AREA) 4) |
#define TPM_AD_CONTEXTLIST ((TPM_CAPABILITY_AREA) 5) |
#define TPM_AD_CONTEXTNONCESESSION ((TPM_CAPABILITY_AREA) 1) |
#define TPM_AD_CURRENTTICKS ((TPM_CAPABILITY_AREA) 3) |
#define TPM_AD_SESSIONS ((TPM_CAPABILITY_AREA) 6) |
#define TPM_AF_LOCALITYMODIFIER ((TPM_CAPABILITY_AREA) 2) |
#define TPM_AF_POSTINITIALISE ((TPM_CAPABILITY_AREA) 1) |
#define TPM_AF_TOSPRESENT ((TPM_CAPABILITY_AREA) 4) |
#define TPM_AF_TRANSPORTEXCLUSIVE ((TPM_CAPABILITY_AREA) 3) |
#define TPM_ALG_3DES ((TPM_ALGORITHM_ID) 0x00000003) |
#define TPM_ALG_AES128 ((TPM_ALGORITHM_ID) 0x00000006) |
#define TPM_ALG_AES192 ((TPM_ALGORITHM_ID) 0x00000008) |
#define TPM_ALG_AES256 ((TPM_ALGORITHM_ID) 0x00000009) |
#define TPM_ALG_DES ((TPM_ALGORITHM_ID) 0x00000002) |
#define TPM_ALG_HMAC ((TPM_ALGORITHM_ID) 0x00000005) |
#define TPM_ALG_MGF1 ((TPM_ALGORITHM_ID) 0x00000007) |
#define TPM_ALG_RSA ((TPM_ALGORITHM_ID) 0x00000001) |
#define TPM_ALG_SHA ((TPM_ALGORITHM_ID) 0x00000004) |
#define TPM_ALG_XOR ((TPM_ALGORITHM_ID) 0x0000000A) |
#define TPM_AREA_LOCKED ((TPM_RESULT) (TPM_BASE + 60)) |
#define TPM_AUDITFAIL_SUCCESSFUL ((TPM_RESULT) (TPM_BASE + 49)) |
#define TPM_AUDITFAIL_UNSUCCESSFUL ((TPM_RESULT) (TPM_BASE + 48)) |
#define TPM_AUDITFAILURE ((TPM_RESULT) (TPM_BASE + 4)) |
#define TPM_AUTH2FAIL ((TPM_RESULT) (TPM_BASE + 29)) |
#define TPM_AUTH_ALWAYS ((TPM_AUTH_DATA_USAGE) 0x01) |
#define TPM_AUTH_CONFLICT ((TPM_RESULT) (TPM_BASE + 59)) |
#define TPM_AUTH_NEVER ((TPM_AUTH_DATA_USAGE) 0x00) |
#define TPM_AUTH_PRIV_USE_ONLY ((TPM_AUTH_DATA_USAGE) 0x03) |
#define TPM_AUTHFAIL ((TPM_RESULT) (TPM_BASE + 1)) |
#define TPM_BAD_ATTRIBUTES ((TPM_RESULT) (TPM_BASE + 66)) |
#define TPM_BAD_COUNTER ((TPM_RESULT) (TPM_BASE + 69)) |
#define TPM_BAD_DATASIZE ((TPM_RESULT) (TPM_BASE + 43)) |
#define TPM_BAD_DELEGATE ((TPM_RESULT) (TPM_BASE + 89)) |
#define TPM_BAD_HANDLE ((TPM_RESULT) (TPM_BASE + 88)) |
#define TPM_BAD_KEY_PROPERTY ((TPM_RESULT) (TPM_BASE + 40)) |
#define TPM_BAD_LOCALITY ((TPM_RESULT) (TPM_BASE + 61)) |
#define TPM_BAD_MIGRATION ((TPM_RESULT) (TPM_BASE + 41)) |
#define TPM_BAD_MODE ((TPM_RESULT) (TPM_BASE + 44)) |
#define TPM_BAD_ORDINAL ((TPM_RESULT) (TPM_BASE + 10)) |
#define TPM_BAD_PARAM_SIZE ((TPM_RESULT) (TPM_BASE + 25)) |
#define TPM_BAD_PARAMETER ((TPM_RESULT) (TPM_BASE + 3)) |
#define TPM_BAD_PRESENCE ((TPM_RESULT) (TPM_BASE + 45)) |
#define TPM_BAD_SCHEME ((TPM_RESULT) (TPM_BASE + 42)) |
#define TPM_BAD_SIGNATURE ((TPM_RESULT) (TPM_BASE + 98)) |
#define TPM_BAD_TYPE ((TPM_RESULT) (TPM_BASE + 52)) |
#define TPM_BAD_VERSION ((TPM_RESULT) (TPM_BASE + 46)) |
#define TPM_BADCONTEXT ((TPM_RESULT) (TPM_BASE + 90)) |
#define TPM_BADINDEX ((TPM_RESULT) (TPM_BASE + 2)) |
#define TPM_BADTAG ((TPM_RESULT) (TPM_BASE + 30)) |
#define TPM_CAP_ALG ((TPM_CAPABILITY_AREA) 0x00000002) |
#define TPM_CAP_AUTH_ENCRYPT ((TPM_CAPABILITY_AREA) 0x00000017) |
#define TPM_CAP_CHECK_LOADED ((TPM_CAPABILITY_AREA) 0x00000008) |
#define TPM_CAP_FLAG ((TPM_CAPABILITY_AREA) 0x00000004) |
#define TPM_CAP_FLAG_PERMANENT ((TPM_CAPABILITY_AREA) 0x00000108) |
#define TPM_CAP_FLAG_VOLATILE ((TPM_CAPABILITY_AREA) 0x00000109) |
#define TPM_CAP_HANDLE ((TPM_CAPABILITY_AREA) 0x00000014) |
#define TPM_CAP_KEY_HANDLE ((TPM_CAPABILITY_AREA) 0x00000007) |
#define TPM_CAP_KEY_STATUS ((TPM_CAPABILITY_AREA) 0x0000000C) |
#define TPM_CAP_MFR ((TPM_CAPABILITY_AREA) 0x00000010) |
#define TPM_CAP_NV_INDEX ((TPM_CAPABILITY_AREA) 0x00000011) |
#define TPM_CAP_NV_LIST ((TPM_CAPABILITY_AREA) 0x0000000D) |
#define TPM_CAP_ORD ((TPM_CAPABILITY_AREA) 0x00000001) |
#define TPM_CAP_PID ((TPM_CAPABILITY_AREA) 0x00000003) |
#define TPM_CAP_PROP_ACTIVE_COUNTER ((TPM_CAPABILITY_AREA) 0x00000122) |
#define TPM_CAP_PROP_AUTHSESS ((TPM_CAPABILITY_AREA) 0x0000010A) |
#define TPM_CAP_PROP_CMK_RESTRICTION ((TPM_CAPABILITY_AREA) 0x0000011F) |
#define TPM_CAP_PROP_CONTEXT ((TPM_CAPABILITY_AREA) 0x00000112) |
#define TPM_CAP_PROP_CONTEXT_DIST ((TPM_CAPABILITY_AREA) 0x0000011B) |
#define TPM_CAP_PROP_COUNTERS ((TPM_CAPABILITY_AREA) 0x0000010C) |
#define TPM_CAP_PROP_DAA_INTERRUPT ((TPM_CAPABILITY_AREA) 0x0000011C) |
#define TPM_CAP_PROP_DAA_MAX ((TPM_CAPABILITY_AREA) 0x00000119) |
#define TPM_CAP_PROP_DELEGATE_ROW ((TPM_CAPABILITY_AREA) 0x00000117) |
#define TPM_CAP_PROP_DIR ((TPM_CAPABILITY_AREA) 0x00000102) |
#define TPM_CAP_PROP_DURATION ((TPM_CAPABILITY_AREA) 0x00000120) |
#define TPM_CAP_PROP_FAMILYROWS ((TPM_CAPABILITY_AREA) 0x00000114) |
#define TPM_CAP_PROP_INPUT_BUFFER ((TPM_CAPABILITY_AREA) 0x00000124) |
#define TPM_CAP_PROP_KEYS ((TPM_CAPABILITY_AREA) 0x00000104) |
#define TPM_CAP_PROP_MANUFACTURER ((TPM_CAPABILITY_AREA) 0x00000103) |
#define TPM_CAP_PROP_MAX_AUTHSESS ((TPM_CAPABILITY_AREA) 0x0000010D) |
#define TPM_CAP_PROP_MAX_CONTEXT ((TPM_CAPABILITY_AREA) 0x00000113) |
#define TPM_CAP_PROP_MAX_COUNTERS ((TPM_CAPABILITY_AREA) 0x0000010F) |
#define TPM_CAP_PROP_MAX_KEYS ((TPM_CAPABILITY_AREA) 0x00000110) |
#define TPM_CAP_PROP_MAX_NV_AVAILABLE ((TPM_CAPABILITY_AREA) 0x00000123) |
#define TPM_CAP_PROP_MAX_SESSIONS ((TPM_CAPABILITY_AREA) 0x0000011E) |
#define TPM_CAP_PROP_MAX_TRANSESS ((TPM_CAPABILITY_AREA) 0x0000010E) |
#define TPM_CAP_PROP_MIN_COUNTER ((TPM_CAPABILITY_AREA) 0x00000107) |
#define TPM_CAP_PROP_OWNER ((TPM_CAPABILITY_AREA) 0x00000111) |
#define TPM_CAP_PROP_PCR ((TPM_CAPABILITY_AREA) 0x00000101) |
#define TPM_CAP_PROP_SESSIONS ((TPM_CAPABILITY_AREA) 0x0000011D) |
#define TPM_CAP_PROP_STARTUP_EFFECT ((TPM_CAPABILITY_AREA) 0x00000116) |
#define TPM_CAP_PROP_TIS_TIMEOUT ((TPM_CAPABILITY_AREA) 0x00000115) |
#define TPM_CAP_PROP_TRANSESS ((TPM_CAPABILITY_AREA) 0x0000010B) |
#define TPM_CAP_PROPERTY ((TPM_CAPABILITY_AREA) 0x00000005) |
#define TPM_CAP_SELECT_SIZE ((TPM_CAPABILITY_AREA) 0x00000018) |
#define TPM_CAP_SYM_MODE ((TPM_CAPABILITY_AREA) 0x00000009) |
#define TPM_CAP_TRANS_ALG ((TPM_CAPABILITY_AREA) 0x00000012) |
#define TPM_CAP_TRANS_ES ((TPM_CAPABILITY_AREA) 0x00000015) |
#define TPM_CAP_VERSION ((TPM_CAPABILITY_AREA) 0x00000006) |
#define TPM_CAP_VERSION_VAL ((TPM_CAPABILITY_AREA) 0x0000001A) |
#define TPM_CLEAR_DISABLED ((TPM_RESULT) (TPM_BASE + 5)) |
#define TPM_CMK_DELEGATE_BIND ((TPM_CMK_DELEGATE) BIT29) |
#define TPM_CMK_DELEGATE_LEGACY ((TPM_CMK_DELEGATE) BIT28) |
#define TPM_CMK_DELEGATE_MIGRATE ((TPM_CMK_DELEGATE) BIT27) |
#define TPM_CMK_DELEGATE_SIGNING ((TPM_CMK_DELEGATE) BIT31) |
#define TPM_CMK_DELEGATE_STORAGE ((TPM_CMK_DELEGATE) BIT30) |
#define TPM_CONTEXT_GAP ((TPM_RESULT) (TPM_BASE + 71)) |
#define TPM_DAA_INPUT_DATA0 ((TPM_RESULT) (TPM_BASE + 81)) |
#define TPM_DAA_INPUT_DATA1 ((TPM_RESULT) (TPM_BASE + 82)) |
#define TPM_DAA_ISSUER_SETTINGS ((TPM_RESULT) (TPM_BASE + 83)) |
#define TPM_DAA_ISSUER_VALIDITY ((TPM_RESULT) (TPM_BASE + 86)) |
#define TPM_DAA_RESOURCES ((TPM_RESULT) (TPM_BASE + 80)) |
#define TPM_DAA_STAGE ((TPM_RESULT) (TPM_BASE + 85)) |
#define TPM_DAA_TPM_SETTINGS ((TPM_RESULT) (TPM_BASE + 84)) |
#define TPM_DAA_WRONG_W ((TPM_RESULT) (TPM_BASE + 87)) |
#define TPM_DEACTIVATED ((TPM_RESULT) (TPM_BASE + 6)) |
#define TPM_DECRYPT_ERROR ((TPM_RESULT) (TPM_BASE + 33)) |
#define TPM_DEFEND_LOCK_RUNNING ((TPM_RESULT) (TPM_BASE + TPM_NON_FATAL + 3)) |
#define TPM_DELEGATE_ADMIN ((TPM_RESULT) (TPM_BASE + 77)) |
#define TPM_DELEGATE_FAMILY ((TPM_RESULT) (TPM_BASE + 76)) |
#define TPM_DELEGATE_LOCK ((TPM_RESULT) (TPM_BASE + 75)) |
#define TPM_DELEGATETABLE ((TPM_CAPABILITY_AREA) 18) |
#define TPM_DISABLED ((TPM_RESULT) (TPM_BASE + 7)) |
#define TPM_DISABLED_CMD ((TPM_RESULT) (TPM_BASE + 8)) |
#define TPM_DOING_SELFTEST ((TPM_RESULT) (TPM_BASE + TPM_NON_FATAL + 2)) |
#define TPM_EK_TYPE_ACTIVATE ((TPM_EK_TYPE) 0x0001) |
#define TPM_EK_TYPE_AUTH ((TPM_EK_TYPE) 0x0002) |
#define TPM_ENCRYPT_ERROR ((TPM_RESULT) (TPM_BASE + 32)) |
#define TPM_ES_NONE ((TPM_ENC_SCHEME) 0x0001) |
#define TPM_ES_RSAESOAEP_SHA1_MGF1 ((TPM_ENC_SCHEME) 0x0003) |
#define TPM_ES_RSAESPKCSv15 ((TPM_ENC_SCHEME) 0x0002) |
#define TPM_ES_SYM_CNT ((TPM_ENC_SCHEME) 0x0004) |
#define TPM_ES_SYM_CTR ((TPM_ENC_SCHEME) 0x0004) |
#define TPM_ES_SYM_OFB ((TPM_ENC_SCHEME) 0x0005) |
#define TPM_ET_AES128 ((UINT16) 0x0006) |
#define TPM_ET_COUNTER ((UINT16) 0x000A) |
#define TPM_ET_DATA ((UINT16) 0x0003) |
#define TPM_ET_DEL_KEY_BLOB ((UINT16) 0x0009) |
#define TPM_ET_DEL_OWNER_BLOB ((UINT16) 0x0007) |
#define TPM_ET_DEL_ROW ((UINT16) 0x0008) |
#define TPM_ET_KEY ((UINT16) 0x0005) |
#define TPM_ET_KEYHANDLE ((UINT16) 0x0001) |
#define TPM_ET_NV ((UINT16) 0x000B) |
#define TPM_ET_OPERATOR ((UINT16) 0x000C) |
#define TPM_ET_OWNER ((UINT16) 0x0002) |
#define TPM_ET_RESERVED_HANDLE ((UINT16) 0x0040) |
#define TPM_ET_REVOKE ((UINT16) 0x0006) |
#define TPM_ET_XOR ((UINT16) 0x0000) |
#define TPM_FAIL ((TPM_RESULT) (TPM_BASE + 9)) |
#define TPM_FAILEDSELFTEST ((TPM_RESULT) (TPM_BASE + 28)) |
#define TPM_FAMILYCOUNT ((TPM_RESULT) (TPM_BASE + 64)) |
#define TPM_INAPPROPRIATE_ENC ((TPM_RESULT) (TPM_BASE + 14)) |
#define TPM_INAPPROPRIATE_SIG ((TPM_RESULT) (TPM_BASE + 39)) |
#define TPM_INSTALL_DISABLED ((TPM_RESULT) (TPM_BASE + 11)) |
#define TPM_INVALID_AUTHHANDLE ((TPM_RESULT) (TPM_BASE + 34)) |
#define TPM_INVALID_FAMILY ((TPM_RESULT) (TPM_BASE + 55)) |
#define TPM_INVALID_KEYHANDLE ((TPM_RESULT) (TPM_BASE + 12)) |
#define TPM_INVALID_KEYUSAGE ((TPM_RESULT) (TPM_BASE + 36)) |
#define TPM_INVALID_PCR_INFO ((TPM_RESULT) (TPM_BASE + 16)) |
#define TPM_INVALID_POSTINIT ((TPM_RESULT) (TPM_BASE + 38)) |
#define TPM_INVALID_RESOURCE ((TPM_RESULT) (TPM_BASE + 53)) |
#define TPM_INVALID_STRUCTURE ((TPM_RESULT) (TPM_BASE + 67)) |
#define TPM_IOERROR ((TPM_RESULT) (TPM_BASE + 31)) |
#define TPM_KEY_AUTHCHANGE ((UINT16) 0x0013) |
#define TPM_KEY_BIND ((UINT16) 0x0014) |
#define TPM_KEY_CONTROL_OWNER_EVICT ((UINT32) 0x00000001) |
#define TPM_KEY_IDENTITY ((UINT16) 0x0012) |
#define TPM_KEY_LEGACY ((UINT16) 0x0015) |
TPM_KEY_LEGACY SHALL indicate a key that can perform signing and binding operations. The key MAY be used for both signing and binding operations. The TPM_KEY_LEGACY key type is to allow for use by applications where both signing and encryption operations occur with the same key. The use of this key type is not recommended TPM_KEY_MIGRATE 0x0016 This SHALL indicate a key in use for TPM_MigrateKey
#define TPM_KEY_MIGRATE ((UINT16) 0x0016) |
#define TPM_KEY_NOTSUPPORTED ((TPM_RESULT) (TPM_BASE + 58)) |
#define TPM_KEY_OWNER_CONTROL ((TPM_RESULT) (TPM_BASE + 68)) |
#define TPM_KEY_SIGNING ((UINT16) 0x0010) |
#define TPM_KEY_STORAGE ((UINT16) 0x0011) |
#define TPM_KEYNOTFOUND ((TPM_RESULT) (TPM_BASE + 13)) |
#define TPM_KH_ADMIN ((TPM_KEY_HANDLE) 0x40000005) |
#define TPM_KH_EK ((TPM_KEY_HANDLE) 0x40000006) |
#define TPM_KH_OPERATOR ((TPM_KEY_HANDLE) 0x40000004) |
#define TPM_KH_OWNER ((TPM_KEY_HANDLE) 0x40000001) |
#define TPM_KH_REVOKE ((TPM_KEY_HANDLE) 0x40000002) |
#define TPM_KH_SRK ((TPM_KEY_HANDLE) 0x40000000) |
#define TPM_KH_TRANSPORT ((TPM_KEY_HANDLE) 0x40000003) |
#define TPM_MA_AUTHORITY ((TPM_RESULT) (TPM_BASE + 95)) |
#define TPM_MA_DESTINATION ((TPM_RESULT) (TPM_BASE + 93)) |
#define TPM_MA_SOURCE ((TPM_RESULT) (TPM_BASE + 94)) |
#define TPM_MA_TICKET_SIGNATURE ((TPM_RESULT) (TPM_BASE + 92)) |
#define TPM_MAXNVWRITES ((TPM_RESULT) (TPM_BASE + 72)) |
#define TPM_MIGRATEFAIL ((TPM_RESULT) (TPM_BASE + 15)) |
#define TPM_MIN_COUNTERS 4 |
#define TPM_MS_MAINT ((TPM_MIGRATE_SCHEME) 0x0003) |
#define TPM_MS_MIGRATE ((TPM_MIGRATE_SCHEME) 0x0001) |
#define TPM_MS_RESTRICT_APPROVE_DOUBLE ((TPM_MIGRATE_SCHEME) 0x0005) |
#define TPM_MS_RESTRICT_MIGRATE ((TPM_MIGRATE_SCHEME) 0x0004) |
#define TPM_MS_REWRAP ((TPM_MIGRATE_SCHEME) 0x0002) |
#define TPM_NEEDS_SELFTEST ((TPM_RESULT) (TPM_BASE + TPM_NON_FATAL + 1)) |
#define TPM_NO_ENDORSEMENT ((TPM_RESULT) (TPM_BASE + 35)) |
#define TPM_NO_NV_PERMISSION ((TPM_RESULT) (TPM_BASE + 56)) |
#define TPM_NO_WRAP_TRANSPORT ((TPM_RESULT) (TPM_BASE + 47)) |
#define TPM_NOCONTEXTSPACE ((TPM_RESULT) (TPM_BASE + 99)) |
#define TPM_NOOPERATOR ((TPM_RESULT) (TPM_BASE + 73)) |
#define TPM_NOSPACE ((TPM_RESULT) (TPM_BASE + 17)) |
#define TPM_NOSRK ((TPM_RESULT) (TPM_BASE + 18)) |
#define TPM_NOT_FULLWRITE ((TPM_RESULT) (TPM_BASE + 70)) |
#define TPM_NOTFIPS ((TPM_RESULT) (TPM_BASE + 54)) |
#define TPM_NOTLOCAL ((TPM_RESULT) (TPM_BASE + 51)) |
#define TPM_NOTRESETABLE ((TPM_RESULT) (TPM_BASE + 50)) |
#define TPM_NOTSEALED_BLOB ((TPM_RESULT) (TPM_BASE + 19)) |
#define TPM_ORD_ActivateIdentity ((TPM_COMMAND_CODE) 0x0000007A) |
#define TPM_ORD_AuthorizeMigrationKey ((TPM_COMMAND_CODE) 0x0000002B) |
#define TPM_ORD_CertifyKey ((TPM_COMMAND_CODE) 0x00000032) |
#define TPM_ORD_CertifyKey2 ((TPM_COMMAND_CODE) 0x00000033) |
#define TPM_ORD_CertifySelfTest ((TPM_COMMAND_CODE) 0x00000052) |
#define TPM_ORD_ChangeAuth ((TPM_COMMAND_CODE) 0x0000000C) |
#define TPM_ORD_ChangeAuthAsymFinish ((TPM_COMMAND_CODE) 0x0000000F) |
#define TPM_ORD_ChangeAuthAsymStart ((TPM_COMMAND_CODE) 0x0000000E) |
#define TPM_ORD_ChangeAuthOwner ((TPM_COMMAND_CODE) 0x00000010) |
#define TPM_ORD_CMK_ApproveMA ((TPM_COMMAND_CODE) 0x0000001D) |
#define TPM_ORD_CMK_ConvertMigration ((TPM_COMMAND_CODE) 0x00000024) |
#define TPM_ORD_CMK_CreateBlob ((TPM_COMMAND_CODE) 0x0000001B) |
#define TPM_ORD_CMK_CreateKey ((TPM_COMMAND_CODE) 0x00000013) |
#define TPM_ORD_CMK_CreateTicket ((TPM_COMMAND_CODE) 0x00000012) |
#define TPM_ORD_CMK_SetRestrictions ((TPM_COMMAND_CODE) 0x0000001C) |
#define TPM_ORD_ContinueSelfTest ((TPM_COMMAND_CODE) 0x00000053) |
#define TPM_ORD_ConvertMigrationBlob ((TPM_COMMAND_CODE) 0x0000002A) |
#define TPM_ORD_CreateCounter ((TPM_COMMAND_CODE) 0x000000DC) |
#define TPM_ORD_CreateEndorsementKeyPair ((TPM_COMMAND_CODE) 0x00000078) |
#define TPM_ORD_CreateMaintenanceArchive ((TPM_COMMAND_CODE) 0x0000002C) |
#define TPM_ORD_CreateMigrationBlob ((TPM_COMMAND_CODE) 0x00000028) |
#define TPM_ORD_CreateRevocableEK ((TPM_COMMAND_CODE) 0x0000007F) |
#define TPM_ORD_CreateWrapKey ((TPM_COMMAND_CODE) 0x0000001F) |
#define TPM_ORD_DAA_JOIN ((TPM_COMMAND_CODE) 0x00000029) |
#define TPM_ORD_DAA_SIGN ((TPM_COMMAND_CODE) 0x00000031) |
#define TPM_ORD_Delegate_CreateKeyDelegation ((TPM_COMMAND_CODE) 0x000000D4) |
#define TPM_ORD_Delegate_CreateOwnerDelegation ((TPM_COMMAND_CODE) 0x000000D5) |
#define TPM_ORD_Delegate_LoadOwnerDelegation ((TPM_COMMAND_CODE) 0x000000D8) |
#define TPM_ORD_Delegate_Manage ((TPM_COMMAND_CODE) 0x000000D2) |
#define TPM_ORD_Delegate_ReadTable ((TPM_COMMAND_CODE) 0x000000DB) |
#define TPM_ORD_Delegate_UpdateVerification ((TPM_COMMAND_CODE) 0x000000D1) |
#define TPM_ORD_Delegate_VerifyDelegation ((TPM_COMMAND_CODE) 0x000000D6) |
#define TPM_ORD_DirRead ((TPM_COMMAND_CODE) 0x0000001A) |
#define TPM_ORD_DirWriteAuth ((TPM_COMMAND_CODE) 0x00000019) |
#define TPM_ORD_DisableForceClear ((TPM_COMMAND_CODE) 0x0000005E) |
#define TPM_ORD_DisableOwnerClear ((TPM_COMMAND_CODE) 0x0000005C) |
#define TPM_ORD_DisablePubekRead ((TPM_COMMAND_CODE) 0x0000007E) |
#define TPM_ORD_DSAP ((TPM_COMMAND_CODE) 0x00000011) |
#define TPM_ORD_EstablishTransport ((TPM_COMMAND_CODE) 0x000000E6) |
#define TPM_ORD_EvictKey ((TPM_COMMAND_CODE) 0x00000022) |
#define TPM_ORD_ExecuteTransport ((TPM_COMMAND_CODE) 0x000000E7) |
#define TPM_ORD_Extend ((TPM_COMMAND_CODE) 0x00000014) |
#define TPM_ORD_FieldUpgrade ((TPM_COMMAND_CODE) 0x000000AA) |
#define TPM_ORD_FlushSpecific ((TPM_COMMAND_CODE) 0x000000BA) |
#define TPM_ORD_ForceClear ((TPM_COMMAND_CODE) 0x0000005D) |
#define TPM_ORD_GetAuditDigest ((TPM_COMMAND_CODE) 0x00000085) |
#define TPM_ORD_GetAuditDigestSigned ((TPM_COMMAND_CODE) 0x00000086) |
#define TPM_ORD_GetAuditEvent ((TPM_COMMAND_CODE) 0x00000082) |
#define TPM_ORD_GetAuditEventSigned ((TPM_COMMAND_CODE) 0x00000083) |
#define TPM_ORD_GetCapability ((TPM_COMMAND_CODE) 0x00000065) |
#define TPM_ORD_GetCapabilityOwner ((TPM_COMMAND_CODE) 0x00000066) |
#define TPM_ORD_GetCapabilitySigned ((TPM_COMMAND_CODE) 0x00000064) |
#define TPM_ORD_GetOrdinalAuditStatus ((TPM_COMMAND_CODE) 0x0000008C) |
#define TPM_ORD_GetPubKey ((TPM_COMMAND_CODE) 0x00000021) |
#define TPM_ORD_GetRandom ((TPM_COMMAND_CODE) 0x00000046) |
#define TPM_ORD_GetTestResult ((TPM_COMMAND_CODE) 0x00000054) |
#define TPM_ORD_GetTicks ((TPM_COMMAND_CODE) 0x000000F1) |
#define TPM_ORD_IncrementCounter ((TPM_COMMAND_CODE) 0x000000DD) |
#define TPM_ORD_Init ((TPM_COMMAND_CODE) 0x00000097) |
#define TPM_ORD_KeyControlOwner ((TPM_COMMAND_CODE) 0x00000023) |
#define TPM_ORD_KillMaintenanceFeature ((TPM_COMMAND_CODE) 0x0000002E) |
#define TPM_ORD_LoadAuthContext ((TPM_COMMAND_CODE) 0x000000B7) |
#define TPM_ORD_LoadContext ((TPM_COMMAND_CODE) 0x000000B9) |
#define TPM_ORD_LoadKey ((TPM_COMMAND_CODE) 0x00000020) |
#define TPM_ORD_LoadKey2 ((TPM_COMMAND_CODE) 0x00000041) |
#define TPM_ORD_LoadKeyContext ((TPM_COMMAND_CODE) 0x000000B5) |
#define TPM_ORD_LoadMaintenanceArchive ((TPM_COMMAND_CODE) 0x0000002D) |
#define TPM_ORD_LoadManuMaintPub ((TPM_COMMAND_CODE) 0x0000002F) |
#define TPM_ORD_MakeIdentity ((TPM_COMMAND_CODE) 0x00000079) |
#define TPM_ORD_MigrateKey ((TPM_COMMAND_CODE) 0x00000025) |
#define TPM_ORD_NV_DefineSpace ((TPM_COMMAND_CODE) 0x000000CC) |
#define TPM_ORD_NV_ReadValue ((TPM_COMMAND_CODE) 0x000000CF) |
#define TPM_ORD_NV_ReadValueAuth ((TPM_COMMAND_CODE) 0x000000D0) |
#define TPM_ORD_NV_WriteValue ((TPM_COMMAND_CODE) 0x000000CD) |
#define TPM_ORD_NV_WriteValueAuth ((TPM_COMMAND_CODE) 0x000000CE) |
#define TPM_ORD_OIAP ((TPM_COMMAND_CODE) 0x0000000A) |
#define TPM_ORD_OSAP ((TPM_COMMAND_CODE) 0x0000000B) |
#define TPM_ORD_OwnerClear ((TPM_COMMAND_CODE) 0x0000005B) |
#define TPM_ORD_OwnerReadInternalPub ((TPM_COMMAND_CODE) 0x00000081) |
#define TPM_ORD_OwnerReadPubek ((TPM_COMMAND_CODE) 0x0000007D) |
#define TPM_ORD_OwnerSetDisable ((TPM_COMMAND_CODE) 0x0000006E) |
#define TPM_ORD_PCR_Reset ((TPM_COMMAND_CODE) 0x000000C8) |
#define TPM_ORD_PcrRead ((TPM_COMMAND_CODE) 0x00000015) |
#define TPM_ORD_PhysicalDisable ((TPM_COMMAND_CODE) 0x00000070) |
#define TPM_ORD_PhysicalEnable ((TPM_COMMAND_CODE) 0x0000006F) |
#define TPM_ORD_PhysicalSetDeactivated ((TPM_COMMAND_CODE) 0x00000072) |
#define TPM_ORD_Quote ((TPM_COMMAND_CODE) 0x00000016) |
#define TPM_ORD_Quote2 ((TPM_COMMAND_CODE) 0x0000003E) |
#define TPM_ORD_ReadCounter ((TPM_COMMAND_CODE) 0x000000DE) |
#define TPM_ORD_ReadManuMaintPub ((TPM_COMMAND_CODE) 0x00000030) |
#define TPM_ORD_ReadPubek ((TPM_COMMAND_CODE) 0x0000007C) |
#define TPM_ORD_ReleaseCounter ((TPM_COMMAND_CODE) 0x000000DF) |
#define TPM_ORD_ReleaseCounterOwner ((TPM_COMMAND_CODE) 0x000000E0) |
#define TPM_ORD_ReleaseTransportSigned ((TPM_COMMAND_CODE) 0x000000E8) |
#define TPM_ORD_Reset ((TPM_COMMAND_CODE) 0x0000005A) |
#define TPM_ORD_ResetLockValue ((TPM_COMMAND_CODE) 0x00000040) |
#define TPM_ORD_RevokeTrust ((TPM_COMMAND_CODE) 0x00000080) |
#define TPM_ORD_SaveAuthContext ((TPM_COMMAND_CODE) 0x000000B6) |
#define TPM_ORD_SaveContext ((TPM_COMMAND_CODE) 0x000000B8) |
#define TPM_ORD_SaveKeyContext ((TPM_COMMAND_CODE) 0x000000B4) |
#define TPM_ORD_SaveState ((TPM_COMMAND_CODE) 0x00000098) |
#define TPM_ORD_Seal ((TPM_COMMAND_CODE) 0x00000017) |
#define TPM_ORD_Sealx ((TPM_COMMAND_CODE) 0x0000003D) |
#define TPM_ORD_SelfTestFull ((TPM_COMMAND_CODE) 0x00000050) |
#define TPM_ORD_SetCapability ((TPM_COMMAND_CODE) 0x0000003F) |
#define TPM_ORD_SetOperatorAuth ((TPM_COMMAND_CODE) 0x00000074) |
#define TPM_ORD_SetOrdinalAuditStatus ((TPM_COMMAND_CODE) 0x0000008D) |
#define TPM_ORD_SetOwnerInstall ((TPM_COMMAND_CODE) 0x00000071) |
#define TPM_ORD_SetOwnerPointer ((TPM_COMMAND_CODE) 0x00000075) |
#define TPM_ORD_SetRedirection ((TPM_COMMAND_CODE) 0x0000009A) |
#define TPM_ORD_SetTempDeactivated ((TPM_COMMAND_CODE) 0x00000073) |
#define TPM_ORD_SHA1Complete ((TPM_COMMAND_CODE) 0x000000A2) |
#define TPM_ORD_SHA1CompleteExtend ((TPM_COMMAND_CODE) 0x000000A3) |
#define TPM_ORD_SHA1Start ((TPM_COMMAND_CODE) 0x000000A0) |
#define TPM_ORD_SHA1Update ((TPM_COMMAND_CODE) 0x000000A1) |
#define TPM_ORD_Sign ((TPM_COMMAND_CODE) 0x0000003C) |
#define TPM_ORD_Startup ((TPM_COMMAND_CODE) 0x00000099) |
#define TPM_ORD_StirRandom ((TPM_COMMAND_CODE) 0x00000047) |
#define TPM_ORD_TakeOwnership ((TPM_COMMAND_CODE) 0x0000000D) |
#define TPM_ORD_Terminate_Handle ((TPM_COMMAND_CODE) 0x00000096) |
#define TPM_ORD_TickStampBlob ((TPM_COMMAND_CODE) 0x000000F2) |
#define TPM_ORD_UnBind ((TPM_COMMAND_CODE) 0x0000001E) |
#define TPM_ORD_Unseal ((TPM_COMMAND_CODE) 0x00000018) |
#define TPM_OWNER_CONTROL ((TPM_RESULT) (TPM_BASE + 79)) |
#define TPM_OWNER_SET ((TPM_RESULT) (TPM_BASE + 20)) |
#define TPM_PD_AUDITMONOTONICCOUNTER ((TPM_CAPABILITY_AREA) 11) |
#define TPM_PD_AUTHDIR ((TPM_CAPABILITY_AREA) 15) |
#define TPM_PD_CONTEXTKEY ((TPM_CAPABILITY_AREA) 10) |
#define TPM_PD_DAAPROOF ((TPM_CAPABILITY_AREA) 25) |
#define TPM_PD_DELEGATEKEY ((TPM_CAPABILITY_AREA) 9) |
#define TPM_PD_EKRESET ((TPM_CAPABILITY_AREA) 19) |
#define TPM_PD_ENDORSEMENTKEY ((TPM_CAPABILITY_AREA) 7) |
#define TPM_PD_FAMILYTABLE ((TPM_CAPABILITY_AREA) 17) |
#define TPM_PD_LASTFAMILYID ((TPM_CAPABILITY_AREA) 21) |
#define TPM_PD_MANUMAINTPUB ((TPM_CAPABILITY_AREA) 6) |
#define TPM_PD_MAXNVBUFSIZE ((TPM_CAPABILITY_AREA) 20) |
#define TPM_PD_MONOTONICCOUNTER ((TPM_CAPABILITY_AREA) 12) |
#define TPM_PD_NOOWNERNVWRITE ((TPM_CAPABILITY_AREA) 22) |
#define TPM_PD_OPERATORAUTH ((TPM_CAPABILITY_AREA) 5) |
#define TPM_PD_ORDINALAUDITSTATUS ((TPM_CAPABILITY_AREA) 14) |
#define TPM_PD_OWNERAUTH ((TPM_CAPABILITY_AREA) 4) |
#define TPM_PD_PCRATTRIB ((TPM_CAPABILITY_AREA) 13) |
#define TPM_PD_RESTRICTDELEGATE ((TPM_CAPABILITY_AREA) 23) |
#define TPM_PD_REVMAJOR ((TPM_CAPABILITY_AREA) 1) |
#define TPM_PD_REVMINOR ((TPM_CAPABILITY_AREA) 2) |
#define TPM_PD_RNGSTATE ((TPM_CAPABILITY_AREA) 16) |
#define TPM_PD_SRK ((TPM_CAPABILITY_AREA) 8) |
#define TPM_PD_TPMDAASEED ((TPM_CAPABILITY_AREA) 24) |
#define TPM_PD_TPMPROOF ((TPM_CAPABILITY_AREA) 3) |
#define TPM_PER_NOWRITE ((TPM_RESULT) (TPM_BASE + 63)) |
#define TPM_PERMANENTEK ((TPM_RESULT) (TPM_BASE + 97)) |
#define TPM_PF_ALLOWMAINTENANCE ((TPM_CAPABILITY_AREA) 6) |
#define TPM_PF_CEKPUSED ((TPM_CAPABILITY_AREA) 10) |
#define TPM_PF_DEACTIVATED ((TPM_CAPABILITY_AREA) 3) |
#define TPM_PF_DISABLE ((TPM_CAPABILITY_AREA) 1) |
#define TPM_PF_DISABLEFULLDALOGICINFO ((TPM_CAPABILITY_AREA) 20) |
#define TPM_PF_DISABLEOWNERCLEAR ((TPM_CAPABILITY_AREA) 5) |
#define TPM_PF_ENABLEREVOKEEK ((TPM_CAPABILITY_AREA) 15) |
#define TPM_PF_FIPS ((TPM_CAPABILITY_AREA) 13) |
#define TPM_PF_MAINTENANCEDONE ((TPM_CAPABILITY_AREA) 19) |
#define TPM_PF_NV_LOCKED ((TPM_CAPABILITY_AREA) 16) |
#define TPM_PF_OPERATOR ((TPM_CAPABILITY_AREA) 14) |
#define TPM_PF_OWNERSHIP ((TPM_CAPABILITY_AREA) 2) |
#define TPM_PF_PHYSICALPRESENCECMDENABLE ((TPM_CAPABILITY_AREA) 9) |
#define TPM_PF_PHYSICALPRESENCEHWENABLE ((TPM_CAPABILITY_AREA) 8) |
#define TPM_PF_PHYSICALPRESENCELIFETIMELOCK ((TPM_CAPABILITY_AREA) 7) |
#define TPM_PF_READPUBEK ((TPM_CAPABILITY_AREA) 4) |
#define TPM_PF_READSRKPUB ((TPM_CAPABILITY_AREA) 17) |
#define TPM_PF_TPMESTABLISHED ((TPM_CAPABILITY_AREA) 18) |
#define TPM_PF_TPMPOST ((TPM_CAPABILITY_AREA) 11) |
#define TPM_PF_TPMPOSTLOCK ((TPM_CAPABILITY_AREA) 12) |
#define TPM_PHYSICAL_PRESENCE_CMD_DISABLE ((TPM_PHYSICAL_PRESENCE) 0x0100) |
#define TPM_PHYSICAL_PRESENCE_CMD_ENABLE ((TPM_PHYSICAL_PRESENCE) 0x0020) |
#define TPM_PHYSICAL_PRESENCE_HW_DISABLE ((TPM_PHYSICAL_PRESENCE) 0x0200) |
#define TPM_PHYSICAL_PRESENCE_HW_ENABLE ((TPM_PHYSICAL_PRESENCE) 0x0040) |
#define TPM_PHYSICAL_PRESENCE_LIFETIME_LOCK ((TPM_PHYSICAL_PRESENCE) 0x0080) |
#define TPM_PHYSICAL_PRESENCE_LOCK ((TPM_PHYSICAL_PRESENCE) 0x0004) |
#define TPM_PHYSICAL_PRESENCE_NOTPRESENT ((TPM_PHYSICAL_PRESENCE) 0x0010) |
#define TPM_PHYSICAL_PRESENCE_PRESENT ((TPM_PHYSICAL_PRESENCE) 0x0008) |
#define TPM_PID_ADCP ((TPM_PROTOCOL_ID) 0x0004) |
#define TPM_PID_ADIP ((TPM_PROTOCOL_ID) 0x0003) |
#define TPM_PID_DSAP ((TPM_PROTOCOL_ID) 0x0006) |
#define TPM_PID_OIAP ((TPM_PROTOCOL_ID) 0x0001) |
#define TPM_PID_OSAP ((TPM_PROTOCOL_ID) 0x0002) |
#define TPM_PID_OWNER ((TPM_PROTOCOL_ID) 0x0005) |
#define TPM_PID_TRANSPORT ((TPM_PROTOCOL_ID) 0x0007) |
#define TPM_PS_Mobile_12 ((TPM_PLATFORM_SPECIFIC) 0x0005) |
#define TPM_PS_PC_11 ((TPM_PLATFORM_SPECIFIC) 0x0001) |
#define TPM_PS_PC_12 ((TPM_PLATFORM_SPECIFIC) 0x0002) |
#define TPM_PS_PDA_12 ((TPM_PLATFORM_SPECIFIC) 0x0003) |
#define TPM_PS_Server_12 ((TPM_PLATFORM_SPECIFIC) 0x0004) |
#define TPM_PT_ASYM ((TPM_PAYLOAD_TYPE) 0x01) |
#define TPM_PT_BIND ((TPM_PAYLOAD_TYPE) 0x02) |
#define TPM_PT_CMK_MIGRATE ((TPM_PAYLOAD_TYPE) 0x08) |
#define TPM_PT_MAINT ((TPM_PAYLOAD_TYPE) 0x04) |
#define TPM_PT_MIGRATE ((TPM_PAYLOAD_TYPE) 0x03) |
#define TPM_PT_MIGRATE_EXTERNAL ((TPM_PAYLOAD_TYPE) 0x07) |
#define TPM_PT_MIGRATE_RESTRICTED ((TPM_PAYLOAD_TYPE) 0x06) |
#define TPM_PT_SEAL ((TPM_PAYLOAD_TYPE) 0x05) |
#define TPM_PT_VENDOR_SPECIFIC ((TPM_PAYLOAD_TYPE) 0x80) |
#define TPM_READ_ONLY ((TPM_RESULT) (TPM_BASE + 62)) |
#define TPM_REDIR_GPIO (0x00000001) |
#define TPM_REQUIRES_SIGN ((TPM_RESULT) (TPM_BASE + 57)) |
#define TPM_RESOURCEMISSING ((TPM_RESULT) (TPM_BASE + 74)) |
#define TPM_RESOURCES ((TPM_RESULT) (TPM_BASE + 21)) |
#define TPM_RETRY ((TPM_RESULT) (TPM_BASE + TPM_NON_FATAL)) |
#define TPM_RT_AUTH ((TPM_RESOURCE_TYPE) 0x00000002) |
#define TPM_RT_CONTEXT ((TPM_RESOURCE_TYPE) 0x00000005) |
#define TPM_RT_COUNTER ((TPM_RESOURCE_TYPE) 0x00000006) |
#define TPM_RT_DAA_TPM ((TPM_RESOURCE_TYPE) 0x00000008) |
#define TPM_RT_DAA_V0 ((TPM_RESOURCE_TYPE) 0x00000009) |
#define TPM_RT_DAA_V1 ((TPM_RESOURCE_TYPE) 0x0000000A) |
#define TPM_RT_DELEGATE ((TPM_RESOURCE_TYPE) 0x00000007) |
#define TPM_RT_HASH ((TPM_RESOURCE_TYPE) 0x00000003) |
#define TPM_RT_KEY ((TPM_RESOURCE_TYPE) 0x00000001) |
#define TPM_RT_TRANS ((TPM_RESOURCE_TYPE) 0x00000004) |
#define TPM_SD_CONTEXTNONCEKEY ((TPM_CAPABILITY_AREA)0x00000001) |
#define TPM_SD_COUNTID ((TPM_CAPABILITY_AREA)0x00000002) |
#define TPM_SD_DEFERREDPHYSICALPRESENCE ((TPM_CAPABILITY_AREA)0x00000006) |
#define TPM_SD_DISABLERESETLOCK ((TPM_CAPABILITY_AREA)0x00000004) |
#define TPM_SD_OWNERREFERENCE ((TPM_CAPABILITY_AREA)0x00000003) |
#define TPM_SD_PCR ((TPM_CAPABILITY_AREA)0x00000005) |
#define TPM_SET_PERM_DATA ((TPM_CAPABILITY_AREA) 0x00000002) |
#define TPM_SET_PERM_FLAGS ((TPM_CAPABILITY_AREA) 0x00000001) |
#define TPM_SET_STANY_DATA ((TPM_CAPABILITY_AREA) 0x00000006) |
#define TPM_SET_STANY_FLAGS ((TPM_CAPABILITY_AREA) 0x00000005) |
#define TPM_SET_STCLEAR_DATA ((TPM_CAPABILITY_AREA) 0x00000004) |
#define TPM_SET_STCLEAR_FLAGS ((TPM_CAPABILITY_AREA) 0x00000003) |
#define TPM_SF_BGLOBALLOCK ((TPM_CAPABILITY_AREA) 5) |
#define TPM_SF_DEACTIVATED ((TPM_CAPABILITY_AREA) 1) |
#define TPM_SF_DISABLEFORCECLEAR ((TPM_CAPABILITY_AREA) 2) |
#define TPM_SF_PHYSICALPRESENCE ((TPM_CAPABILITY_AREA) 3) |
#define TPM_SF_PHYSICALPRESENCELOCK ((TPM_CAPABILITY_AREA) 4) |
#define TPM_SHA_ERROR ((TPM_RESULT) (TPM_BASE + 27)) |
#define TPM_SHA_THREAD ((TPM_RESULT) (TPM_BASE + 26)) |
#define TPM_SHORTRANDOM ((TPM_RESULT) (TPM_BASE + 22)) |
#define TPM_SIZE ((TPM_RESULT) (TPM_BASE + 23)) |
#define TPM_SS_NONE ((TPM_SIG_SCHEME) 0x0001) |
#define TPM_SS_RSASSAPKCS1v15_DER ((TPM_SIG_SCHEME) 0x0003) |
#define TPM_SS_RSASSAPKCS1v15_INFO ((TPM_SIG_SCHEME) 0x0004) |
#define TPM_SS_RSASSAPKCS1v15_SHA1 ((TPM_SIG_SCHEME) 0x0002) |
#define TPM_ST_CLEAR ((TPM_STARTUP_TYPE) 0x0001) |
#define TPM_ST_DEACTIVATED ((TPM_STARTUP_TYPE) 0x0003) |
#define TPM_ST_STATE ((TPM_STARTUP_TYPE) 0x0002) |
#define TPM_SUCCESS ((TPM_RESULT) TPM_BASE) |
#define TPM_TAG_AUDIT_EVENT_IN ((TPM_STRUCTURE_TAG) 0x0012) |
#define TPM_TAG_AUDIT_EVENT_OUT ((TPM_STRUCTURE_TAG) 0x0013) |
#define TPM_TAG_CAP_VERSION_INFO ((TPM_STRUCTURE_TAG) 0x0030) |
#define TPM_TAG_CERTIFY_INFO2 ((TPM_STRUCTURE_TAG) 0x0029) |
#define TPM_TAG_CMK_MA_APPROVAL ((TPM_STRUCTURE_TAG) 0x0035) |
#define TPM_TAG_CMK_MIGAUTH ((TPM_STRUCTURE_TAG) 0x0033) |
#define TPM_TAG_CMK_SIGTICKET ((TPM_STRUCTURE_TAG) 0x0034) |
#define TPM_TAG_CONTEXT_SENSITIVE ((TPM_STRUCTURE_TAG) 0x0002) |
#define TPM_TAG_CONTEXTBLOB ((TPM_STRUCTURE_TAG) 0x0001) |
#define TPM_TAG_CONTEXTLIST ((TPM_STRUCTURE_TAG) 0x0004) |
#define TPM_TAG_CONTEXTPOINTER ((TPM_STRUCTURE_TAG) 0x0003) |
#define TPM_TAG_COUNTER_VALUE ((TPM_STRUCTURE_TAG) 0x000E) |
#define TPM_TAG_CURRENT_TICKS ((TPM_STRUCTURE_TAG) 0x0014) |
#define TPM_TAG_DA_ACTION_TYPE ((TPM_STRUCTURE_TAG) 0x0039) |
#define TPM_TAG_DA_INFO ((TPM_STRUCTURE_TAG) 0x0037) |
#define TPM_TAG_DA_LIMITED ((TPM_STRUCTURE_TAG) 0x0038) |
#define TPM_TAG_DAA_BLOB ((TPM_STRUCTURE_TAG) 0x002C) |
#define TPM_TAG_DAA_CONTEXT ((TPM_STRUCTURE_TAG) 0x002D) |
#define TPM_TAG_DAA_ENFORCE ((TPM_STRUCTURE_TAG) 0x002E) |
#define TPM_TAG_DAA_ISSUER ((TPM_STRUCTURE_TAG) 0x002F) |
#define TPM_TAG_DAA_SENSITIVE ((TPM_STRUCTURE_TAG) 0x0031) |
#define TPM_TAG_DAA_TPM ((TPM_STRUCTURE_TAG) 0x0032) |
#define TPM_TAG_DELEGATE_OWNER_BLOB ((TPM_STRUCTURE_TAG) 0x002A) |
#define TPM_TAG_DELEGATE_PUBLIC ((TPM_STRUCTURE_TAG) 0x001B) |
#define TPM_TAG_DELEGATE_SENSITIVE ((TPM_STRUCTURE_TAG) 0x0026) |
#define TPM_TAG_DELEGATE_TABLE_ROW ((TPM_STRUCTURE_TAG) 0x001C) |
#define TPM_TAG_DELEGATIONS ((TPM_STRUCTURE_TAG) 0x001A) |
#define TPM_TAG_DELG_KEY_BLOB ((TPM_STRUCTURE_TAG) 0x0027) |
#define TPM_TAG_EK_BLOB ((TPM_STRUCTURE_TAG) 0x000C) |
#define TPM_TAG_EK_BLOB_ACTIVATE ((TPM_STRUCTURE_TAG) 0x002B) |
#define TPM_TAG_EK_BLOB_AUTH ((TPM_STRUCTURE_TAG) 0x000D) |
#define TPM_TAG_FAMILY_TABLE_ENTRY ((TPM_STRUCTURE_TAG) 0x0025) |
#define TPM_TAG_KEY ((TPM_STRUCTURE_TAG) 0x0015) |
#define TPM_TAG_KEY12 ((TPM_STRUCTURE_TAG) 0x0028) |
#define TPM_TAG_NV_ATTRIBUTES ((TPM_STRUCTURE_TAG) 0x0017) |
#define TPM_TAG_NV_DATA_PUBLIC ((TPM_STRUCTURE_TAG) 0x0018) |
#define TPM_TAG_NV_DATA_SENSITIVE ((TPM_STRUCTURE_TAG) 0x0019) |
#define TPM_TAG_PCR_INFO_LONG ((TPM_STRUCTURE_TAG) 0x0006) |
#define TPM_TAG_PERMANENT_DATA ((TPM_STRUCTURE_TAG) 0x0022) |
#define TPM_TAG_PERMANENT_FLAGS ((TPM_STRUCTURE_TAG) 0x001F) |
#define TPM_TAG_PERSISTENT_DATA ((TPM_STRUCTURE_TAG) 0x0009) |
#define TPM_TAG_PERSISTENT_FLAGS ((TPM_STRUCTURE_TAG) 0x0007) |
#define TPM_TAG_QUOTE_INFO2 ((TPM_STRUCTURE_TAG) 0x0036) |
#define TPM_TAG_RQU_AUTH1_COMMAND ((TPM_STRUCTURE_TAG) 0x00C2) |
#define TPM_TAG_RQU_AUTH2_COMMAND ((TPM_STRUCTURE_TAG) 0x00C3) |
#define TPM_TAG_RQU_COMMAND ((TPM_STRUCTURE_TAG) 0x00C1) |
#define TPM_TAG_RSP_AUTH1_COMMAND ((TPM_STRUCTURE_TAG) 0x00C5) |
#define TPM_TAG_RSP_AUTH2_COMMAND ((TPM_STRUCTURE_TAG) 0x00C6) |
#define TPM_TAG_RSP_COMMAND ((TPM_STRUCTURE_TAG) 0x00C4) |
#define TPM_TAG_SIGNINFO ((TPM_STRUCTURE_TAG) 0x0005) |
#define TPM_TAG_STANY_DATA ((TPM_STRUCTURE_TAG) 0x0024) |
#define TPM_TAG_STANY_FLAGS ((TPM_STRUCTURE_TAG) 0x0021) |
#define TPM_TAG_STCLEAR_DATA ((TPM_STRUCTURE_TAG) 0x0023) |
#define TPM_TAG_STCLEAR_FLAGS ((TPM_STRUCTURE_TAG) 0x0020) |
#define TPM_TAG_STORED_DATA12 ((TPM_STRUCTURE_TAG) 0x0016) |
#define TPM_TAG_SV_DATA ((TPM_STRUCTURE_TAG) 0x000B) |
#define TPM_TAG_TRANSPORT_AUTH ((TPM_STRUCTURE_TAG) 0x001D) |
#define TPM_TAG_TRANSPORT_INTERNAL ((TPM_STRUCTURE_TAG) 0x000F) |
#define TPM_TAG_TRANSPORT_LOG_IN ((TPM_STRUCTURE_TAG) 0x0010) |
#define TPM_TAG_TRANSPORT_LOG_OUT ((TPM_STRUCTURE_TAG) 0x0011) |
#define TPM_TAG_TRANSPORT_PUBLIC ((TPM_STRUCTURE_TAG) 0x001E) |
#define TPM_TAG_VOLATILE_DATA ((TPM_STRUCTURE_TAG) 0x000A) |
#define TPM_TAG_VOLATILE_FLAGS ((TPM_STRUCTURE_TAG) 0x0008) |
#define TPM_TOOMANYCONTEXTS ((TPM_RESULT) (TPM_BASE + 91)) |
#define TPM_TRANSPORT_NOTEXCLUSIVE ((TPM_RESULT) (TPM_BASE + 78)) |
#define TPM_WRITE_LOCKED ((TPM_RESULT) (TPM_BASE + 65)) |
#define TPM_WRONG_ENTITYTYPE ((TPM_RESULT) (TPM_BASE + 37)) |
#define TPM_WRONGPCRVAL ((TPM_RESULT) (TPM_BASE + 24)) |
#define TSC_ORD_PhysicalPresence ((TPM_COMMAND_CODE) 0x4000000A) |
#define TSC_ORD_ResetEstablishmentBit ((TPM_COMMAND_CODE) 0x4000000B) |
typedef UINT8 tdTPM_AUTHDATA[20] |
typedef UINT32 TPM_ACTUAL_COUNT |
typedef UINT32 TPM_ALGORITHM_ID |
typedef struct tdTPM_ASYM_CA_CONTENTS TPM_ASYM_CA_CONTENTS |
Part 2, section 12.8 TPM_ASYM_CA_CONTENTS
typedef struct tdTPM_AUDIT_EVENT_IN TPM_AUDIT_EVENT_IN |
Part 2, section 14.1 TPM_AUDIT_EVENT_IN structure
typedef struct tdTPM_AUDIT_EVENT_OUT TPM_AUDIT_EVENT_OUT |
Part 2, section 14.2 TPM_AUDIT_EVENT_OUT structure
typedef TPM_DIGEST TPM_AUDITDIGEST |
typedef UINT8 TPM_AUTH_DATA_USAGE |
typedef tdTPM_AUTHDATA TPM_AUTHDATA |
typedef UINT32 TPM_AUTHHANDLE |
typedef struct tdTPM_BOUND_DATA TPM_BOUND_DATA |
Part 2, section 9.5: TPM_BOUND_DATA
typedef struct tdTPM_CAP_VERSION_INFO TPM_CAP_VERSION_INFO |
Part 2, section 21.6: TPM_CAP_VERSION_INFO [size_is(vendorSpecificSize)] BYTE* vendorSpecific;
typedef UINT32 TPM_CAPABILITY_AREA |
typedef struct tdTPM_CERTIFY_INFO TPM_CERTIFY_INFO |
Part 2, section 11.1: TPM_CERTIFY_INFO Structure
typedef struct tdTPM_CERTIFY_INFO2 TPM_CERTIFY_INFO2 |
Part 2, section 11.2: TPM_CERTIFY_INFO2 Structure
typedef struct tdTPM_CHANGEAUTH_VALIDATE TPM_CHANGEAUTH_VALIDATE |
Part 2, section 5.11: TPM_CHANGEAUTH_VALIDATE
typedef TPM_DIGEST TPM_CHOSENID_HASH |
typedef struct tdTPM_CMK_AUTH TPM_CMK_AUTH |
Part 2, section 5.16: TPM_CMK_AUTH
typedef UINT32 TPM_CMK_DELEGATE |
typedef struct tdTPM_CMK_MA_APPROVAL TPM_CMK_MA_APPROVAL |
Part 2, section 5.21: TPM_CMK_MA_APPROVAL
typedef struct tdTPM_CMK_MIGAUTH TPM_CMK_MIGAUTH |
Part 2, section 5,19: TPM_CMK_MIGAUTH
typedef struct tdTPM_CMK_SIGTICKET TPM_CMK_SIGTICKET |
Part 2, section 5.20: TPM_CMK_SIGTICKET
typedef UINT32 TPM_COMMAND_CODE |
typedef TPM_DIGEST TPM_COMPOSITE_HASH |
typedef struct tdTPM_CONTEXT_BLOB TPM_CONTEXT_BLOB |
Part 2, section 18.1: TPM_CONTEXT_BLOB
typedef struct tdTPM_CONTEXT_SENSITIVE TPM_CONTEXT_SENSITIVE |
Part 2, section 18.2 TPM_CONTEXT_SENSITIVE
typedef UINT32 TPM_COUNT_ID |
typedef struct tdTPM_COUNTER_VALUE TPM_COUNTER_VALUE |
Part 2, section 5.13: TPM_COUNTER_VALUE
typedef struct tdTPM_CURRENT_TICKS TPM_CURRENT_TICKS |
Part 2, section 15: Tick Structures Placed here out of order because definitions are used in section 13.
typedef struct tdTPM_DA_ACTION_TYPE TPM_DA_ACTION_TYPE |
Part 2, section 21.10: TPM_DA_ACTION_TYPE
typedef struct tdTPM_DA_INFO TPM_DA_INFO |
Part 2, section 21.7: TPM_DA_INFO
typedef struct tdTPM_DA_INFO_LIMITED TPM_DA_INFO_LIMITED |
Part 2, section 21.8: TPM_DA_INFO_LIMITED
typedef UINT8 TPM_DA_STATE |
typedef struct tdTPM_DAA_BLOB TPM_DAA_BLOB |
Part 2, section 22.8: TPM_DAA_BLOB
typedef struct tdTPM_DAA_CONTEXT TPM_DAA_CONTEXT |
Part 2, section 22.5: TPM_DAA_CONTEXT
typedef TPM_NONCE TPM_DAA_CONTEXT_SEED |
typedef struct tdTPM_DAA_ISSUER TPM_DAA_ISSUER |
Part 2, section 22.3: TPM_DAA_ISSUER
typedef struct tdTPM_DAA_JOINDATA TPM_DAA_JOINDATA |
Part 2, section 22.6: TPM_DAA_JOINDATA
typedef struct tdTPM_DAA_SENSITIVE TPM_DAA_SENSITIVE |
Part 2, section 22.9: TPM_DAA_SENSITIVE
typedef struct tdTPM_DAA_TPM TPM_DAA_TPM |
Part 2, section 22.4: TPM_DAA_TPM
typedef TPM_NONCE TPM_DAA_TPM_SEED |
typedef UINT32 TPM_DELEGATE_INDEX |
typedef struct tdTPM_DELEGATE_KEY_BLOB TPM_DELEGATE_KEY_BLOB |
Part 2, section 20.13: TTPM_DELEGATE_KEY_BLOB
typedef struct tdTPM_DELEGATE_LABEL TPM_DELEGATE_LABEL |
Part 2, section 20.7: TPM_DELEGATE_LABEL
typedef struct tdTPM_DELEGATE_OWNER_BLOB TPM_DELEGATE_OWNER_BLOB |
Part 2, section 20.12: TPM_DELEGATE_OWNER_BLOB
typedef struct tdTPM_DELEGATE_PUBLIC TPM_DELEGATE_PUBLIC |
Part 2, section 20.8: TPM_DELEGATE_PUBLIC
typedef struct tdTPM_DELEGATE_SENSITIVE TPM_DELEGATE_SENSITIVE |
Part 2, section 20.11: TPM_DELEGATE_SENSITIVE
typedef struct tdTPM_DELEGATE_TABLE_ROW TPM_DELEGATE_TABLE_ROW |
Part 2, section 20.9: TPM_DELEGATE_TABLE_ROW
typedef struct tdTPM_DELEGATIONS TPM_DELEGATIONS |
Part 2, section 20.2: Delegate Definitions
typedef struct tdTPM_DIGEST TPM_DIGEST |
Part 2, section 5.4: TPM_DIGEST
typedef UINT32 TPM_DIRINDEX |
typedef TPM_DIGEST TPM_DIRVALUE |
typedef struct tdTPM_EK_BLOB TPM_EK_BLOB |
Part 2, section 12.1 TPM_EK_BLOB
typedef struct tdTPM_EK_BLOB_ACTIVATE TPM_EK_BLOB_ACTIVATE |
Part 2, section 12.2 TPM_EK_BLOB_ACTIVATE
typedef struct tdTPM_EK_BLOB_AUTH TPM_EK_BLOB_AUTH |
Part 2, section 12.3 TPM_EK_BLOB_AUTH
typedef UINT16 TPM_EK_TYPE |
typedef UINT16 TPM_ENC_SCHEME |
typedef TPM_AUTHDATA TPM_ENCAUTH |
typedef UINT16 TPM_ENTITY_TYPE |
typedef UINT32 TPM_FAMILY_FLAGS |
typedef UINT32 TPM_FAMILY_ID |
typedef struct tdTPM_FAMILY_LABEL TPM_FAMILY_LABEL |
Part 2, section 20.4: TPM_FAMILY_LABEL
typedef UINT32 TPM_FAMILY_OPERATION |
typedef struct tdTPM_FAMILY_TABLE_ENTRY TPM_FAMILY_TABLE_ENTRY |
Part 2, section 20.5: TPM_FAMILY_TABLE_ENTRY
typedef UINT32 TPM_FAMILY_VERIFICATION |
typedef UINT32 TPM_HANDLE |
typedef TPM_DIGEST TPM_HMAC |
typedef struct tdTPM_IDENTITY_CONTENTS TPM_IDENTITY_CONTENTS |
Part 2, section 12.5 TPM_IDENTITY_CONTENTS
typedef struct tdTPM_IDENTITY_PROOF TPM_IDENTITY_PROOF |
Part 2, section 12.7 TPM_IDENTITY_PROOF
typedef struct tdTPM_IDENTITY_REQ TPM_IDENTITY_REQ |
Part 2, section 12.6 TPM_IDENTITY_REQ
Part 2, section 10.2: TPM_KEY [size_is(encDataSize)] BYTE* encData;
typedef struct tdTPM_KEY12 TPM_KEY12 |
Part 2, section 10.3: TPM_KEY12 [size_is(encDataSize)] BYTE* encData;
typedef UINT32 TPM_KEY_CONTROL |
typedef UINT32 TPM_KEY_FLAGS |
typedef enum tdTPM_KEY_FLAGS TPM_KEY_FLAGS_BITS |
Part 2, section 5.10: TPM_KEY_FLAGS
typedef UINT32 TPM_KEY_HANDLE |
typedef struct tdTPM_KEY_HANDLE_LIST TPM_KEY_HANDLE_LIST |
Part 2, section 5.7: TPM_KEY_HANDLE_LIST Size of handle is loaded * sizeof(TPM_KEY_HANDLE)
typedef struct tdTPM_KEY_PARMS TPM_KEY_PARMS |
Part 2, section 5.12: TPM_MIGRATIONKEYAUTH declared after section 10 to catch declaration of TPM_PUBKEY
Part 2 section 10.1: TPM_KEY_PARMS [size_is(parmSize)] BYTE* parms;
typedef UINT16 TPM_KEY_USAGE |
typedef UINT8 TPM_LOCALITY_SELECTION |
typedef struct tdTPM_MIGRATE_ASYMKEY TPM_MIGRATE_ASYMKEY |
Part 2, section 10.8: TPM_MIGRATE_ASYMKEY [size_is(partPrivKeyLen)] BYTE* partPrivKey;
typedef UINT16 TPM_MIGRATE_SCHEME |
typedef struct tdTPM_MIGRATIONKEYAUTH TPM_MIGRATIONKEYAUTH |
Part 2, section 5.12: TPM_MIGRATIONKEYAUTH
typedef UINT32 TPM_MODIFIER_INDICATOR |
typedef struct tdTPM_MSA_COMPOSITE TPM_MSA_COMPOSITE |
Part 2, section 5.15: TPM_MSA_COMPOSITE Number of migAuthDigest indicated by MSAlist
typedef struct tdTPM_NONCE TPM_NONCE |
Part 2, section 5.5: TPM_NONCE
typedef struct tdTPM_NV_ATTRIBUTES TPM_NV_ATTRIBUTES |
Part 2, section 19.2: TPM_NV_ATTRIBUTES
typedef struct tdTPM_NV_DATA_PUBLIC TPM_NV_DATA_PUBLIC |
Part 2, section 19.3: TPM_NV_DATA_PUBLIC
typedef UINT32 TPM_NV_INDEX |
typedef UINT8 TPM_PAYLOAD_TYPE |
typedef struct tdTPM_PCR_ATTRIBUTES TPM_PCR_ATTRIBUTES |
Part 2, section 8.8: TPM_PCR_ATTRIBUTES
typedef struct tdTPM_PCR_COMPOSITE TPM_PCR_COMPOSITE |
Part 2, section 8.2: TPM_PCR_COMPOSITE Size of pcrValue[] indicated by valueSize
typedef struct tdTPM_PCR_INFO TPM_PCR_INFO |
Part 2, section 8.3: TPM_PCR_INFO
typedef struct tdTPM_PCR_INFO_LONG TPM_PCR_INFO_LONG |
Part 2, section 8.4: TPM_PCR_INFO_LONG
typedef struct tdTPM_PCR_INFO_SHORT TPM_PCR_INFO_SHORT |
Part 2, section 8.5: TPM_PCR_INFO_SHORT
typedef struct tdTPM_PCR_SELECTION TPM_PCR_SELECTION |
Part 2, section 8.1: TPM_PCR_SELECTION Size of pcrSelect[] indicated by sizeOfSelect
typedef UINT32 TPM_PCRINDEX |
typedef TPM_DIGEST TPM_PCRVALUE |
typedef struct tdTPM_PERMANENT_FLAGS TPM_PERMANENT_FLAGS |
Part 2, section 7.1: TPM_PERMANENT_FLAGS
typedef UINT16 TPM_PHYSICAL_PRESENCE |
typedef UINT16 TPM_PLATFORM_SPECIFIC |
typedef UINT16 TPM_PROTOCOL_ID |
typedef struct tdTPM_PUBKEY TPM_PUBKEY |
Part 2, section 10.5: TPM_PUBKEY
typedef struct tdTPM_QUOTE_INFO TPM_QUOTE_INFO |
Part 2, section 11.3 TPM_QUOTE_INFO Structure
typedef struct tdTPM_QUOTE_INFO2 TPM_QUOTE_INFO2 |
Part 2, section 11.4 TPM_QUOTE_INFO2 Structure
typedef UINT32 TPM_REDIT_COMMAND |
typedef UINT32 TPM_RESOURCE_TYPE |
typedef UINT32 TPM_RESULT |
typedef struct tdTPM_RQU_COMMAND_HDR TPM_RQU_COMMAND_HDR |
TPM Command Headers defined in Part 3
typedef struct tdTPM_RSP_COMMAND_HDR TPM_RSP_COMMAND_HDR |
TPM Response Headers defined in Part 3
typedef struct tdTPM_SEALED_DATA TPM_SEALED_DATA |
Part 2, section 9.3: TPM_SEALED_DATA [size_is(dataSize)] BYTE* data;
typedef TPM_AUTHDATA TPM_SECRET |
typedef struct tdTPM_SELECT_SIZE TPM_SELECT_SIZE |
Part 2, section 5.18: TPM_SELECT_SIZE
typedef UINT16 TPM_SIG_SCHEME |
typedef struct tdTPM_SIGN_INFO TPM_SIGN_INFO |
Part 2, section 5.14: TPM_SIGN_INFO Size of data indicated by dataLen
typedef struct tdTPM_STANY_FLAGS TPM_STANY_FLAGS |
Part 2, section 7.3: TPM_STANY_FLAGS
typedef UINT32 TPM_STARTUP_EFFECTS |
typedef UINT16 TPM_STARTUP_TYPE |
typedef struct tdTPM_STCLEAR_DATA TPM_STCLEAR_DATA |
Part 2, section 7.5: TPM_STCLEAR_DATA available inside TPM only
typedef struct tdTPM_STCLEAR_FLAGS TPM_STCLEAR_FLAGS |
Part 2, section 7.2: TPM_STCLEAR_FLAGS
typedef struct tdTPM_STORE_ASYMKEY TPM_STORE_ASYMKEY |
Part 2, section 10.6: TPM_STORE_ASYMKEY
typedef struct tdTPM_STORE_PRIVKEY TPM_STORE_PRIVKEY |
Part 2, section 10.7: TPM_STORE_PRIVKEY [size_is(keyLength)] BYTE* key;
typedef struct tdTPM_STORE_PUBKEY TPM_STORE_PUBKEY |
Part 2, section 10.4: TPM_STORE_PUBKEY
typedef struct tdTPM_STORED_DATA TPM_STORED_DATA |
Part 2, section 9.1: TPM_STORED_DATA [size_is(sealInfoSize)] BYTE* sealInfo; [size_is(encDataSize)] BYTE* encData;
typedef struct tdTPM_STORED_DATA12 TPM_STORED_DATA12 |
Part 2, section 9.2: TPM_STORED_DATA12 [size_is(sealInfoSize)] BYTE* sealInfo; [size_is(encDataSize)] BYTE* encData;
typedef struct tdTPM_STRUCT_VER TPM_STRUCT_VER |
Part 2, section 5.1: TPM_STRUCT_VER
typedef UINT16 TPM_STRUCTURE_TAG |
typedef struct tdTPM_SYM_CA_ATTESTATION TPM_SYM_CA_ATTESTATION |
Part 2, section 12.9 TPM_SYM_CA_ATTESTATION
typedef UINT32 TPM_SYM_MODE |
typedef struct tdTPM_SYMMETRIC_KEY TPM_SYMMETRIC_KEY |
Part 2, section 9.4: TPM_SYMMETRIC_KEY [size_is(size)] BYTE* data;
typedef UINT16 TPM_TAG |
typedef UINT32 TPM_TRANSHANDLE |
typedef UINT32 TPM_TRANSPORT_ATTRIBUTES |
typedef struct tdTPM_TRANSPORT_AUTH TPM_TRANSPORT_AUTH |
Part 2, section 13.5 TPM_TRANSPORT_AUTH structure
typedef struct tdTPM_TRANSPORT_INTERNAL TPM_TRANSPORT_INTERNAL |
Part 2, section 13.2 TPM_TRANSPORT_INTERNAL
typedef struct tdTPM_TRANSPORT_LOG_IN TPM_TRANSPORT_LOG_IN |
Part 2, section 13.3 TPM_TRANSPORT_LOG_IN structure
typedef struct tdTPM_TRANSPORT_LOG_OUT TPM_TRANSPORT_LOG_OUT |
Part 2, section 13.4 TPM_TRANSPORT_LOG_OUT structure
typedef struct tdTPM_TRANSPORT_PUBLIC TPM_TRANSPORT_PUBLIC |
Part 2, section 13: Transport structures Part 2, section 13.1: TPM _TRANSPORT_PUBLIC
typedef struct tdTPM_VERSION TPM_VERSION |
Part 2, section 5.3: TPM_VERSION
typedef UINT8 TPM_VERSION_BYTE |
enum tdTPM_KEY_FLAGS |