206#define TPM_Vendor_Specific32 ((UINT32) 0x00000400)
207#define TPM_Vendor_Specific8 ((UINT8) 0x80)
212#define TPM_TAG_CONTEXTBLOB ((TPM_STRUCTURE_TAG) 0x0001)
213#define TPM_TAG_CONTEXT_SENSITIVE ((TPM_STRUCTURE_TAG) 0x0002)
214#define TPM_TAG_CONTEXTPOINTER ((TPM_STRUCTURE_TAG) 0x0003)
215#define TPM_TAG_CONTEXTLIST ((TPM_STRUCTURE_TAG) 0x0004)
216#define TPM_TAG_SIGNINFO ((TPM_STRUCTURE_TAG) 0x0005)
217#define TPM_TAG_PCR_INFO_LONG ((TPM_STRUCTURE_TAG) 0x0006)
218#define TPM_TAG_PERSISTENT_FLAGS ((TPM_STRUCTURE_TAG) 0x0007)
219#define TPM_TAG_VOLATILE_FLAGS ((TPM_STRUCTURE_TAG) 0x0008)
220#define TPM_TAG_PERSISTENT_DATA ((TPM_STRUCTURE_TAG) 0x0009)
221#define TPM_TAG_VOLATILE_DATA ((TPM_STRUCTURE_TAG) 0x000A)
222#define TPM_TAG_SV_DATA ((TPM_STRUCTURE_TAG) 0x000B)
223#define TPM_TAG_EK_BLOB ((TPM_STRUCTURE_TAG) 0x000C)
224#define TPM_TAG_EK_BLOB_AUTH ((TPM_STRUCTURE_TAG) 0x000D)
225#define TPM_TAG_COUNTER_VALUE ((TPM_STRUCTURE_TAG) 0x000E)
226#define TPM_TAG_TRANSPORT_INTERNAL ((TPM_STRUCTURE_TAG) 0x000F)
227#define TPM_TAG_TRANSPORT_LOG_IN ((TPM_STRUCTURE_TAG) 0x0010)
228#define TPM_TAG_TRANSPORT_LOG_OUT ((TPM_STRUCTURE_TAG) 0x0011)
229#define TPM_TAG_AUDIT_EVENT_IN ((TPM_STRUCTURE_TAG) 0x0012)
230#define TPM_TAG_AUDIT_EVENT_OUT ((TPM_STRUCTURE_TAG) 0x0013)
231#define TPM_TAG_CURRENT_TICKS ((TPM_STRUCTURE_TAG) 0x0014)
232#define TPM_TAG_KEY ((TPM_STRUCTURE_TAG) 0x0015)
233#define TPM_TAG_STORED_DATA12 ((TPM_STRUCTURE_TAG) 0x0016)
234#define TPM_TAG_NV_ATTRIBUTES ((TPM_STRUCTURE_TAG) 0x0017)
235#define TPM_TAG_NV_DATA_PUBLIC ((TPM_STRUCTURE_TAG) 0x0018)
236#define TPM_TAG_NV_DATA_SENSITIVE ((TPM_STRUCTURE_TAG) 0x0019)
237#define TPM_TAG_DELEGATIONS ((TPM_STRUCTURE_TAG) 0x001A)
238#define TPM_TAG_DELEGATE_PUBLIC ((TPM_STRUCTURE_TAG) 0x001B)
239#define TPM_TAG_DELEGATE_TABLE_ROW ((TPM_STRUCTURE_TAG) 0x001C)
240#define TPM_TAG_TRANSPORT_AUTH ((TPM_STRUCTURE_TAG) 0x001D)
241#define TPM_TAG_TRANSPORT_PUBLIC ((TPM_STRUCTURE_TAG) 0x001E)
242#define TPM_TAG_PERMANENT_FLAGS ((TPM_STRUCTURE_TAG) 0x001F)
243#define TPM_TAG_STCLEAR_FLAGS ((TPM_STRUCTURE_TAG) 0x0020)
244#define TPM_TAG_STANY_FLAGS ((TPM_STRUCTURE_TAG) 0x0021)
245#define TPM_TAG_PERMANENT_DATA ((TPM_STRUCTURE_TAG) 0x0022)
246#define TPM_TAG_STCLEAR_DATA ((TPM_STRUCTURE_TAG) 0x0023)
247#define TPM_TAG_STANY_DATA ((TPM_STRUCTURE_TAG) 0x0024)
248#define TPM_TAG_FAMILY_TABLE_ENTRY ((TPM_STRUCTURE_TAG) 0x0025)
249#define TPM_TAG_DELEGATE_SENSITIVE ((TPM_STRUCTURE_TAG) 0x0026)
250#define TPM_TAG_DELG_KEY_BLOB ((TPM_STRUCTURE_TAG) 0x0027)
251#define TPM_TAG_KEY12 ((TPM_STRUCTURE_TAG) 0x0028)
252#define TPM_TAG_CERTIFY_INFO2 ((TPM_STRUCTURE_TAG) 0x0029)
253#define TPM_TAG_DELEGATE_OWNER_BLOB ((TPM_STRUCTURE_TAG) 0x002A)
254#define TPM_TAG_EK_BLOB_ACTIVATE ((TPM_STRUCTURE_TAG) 0x002B)
255#define TPM_TAG_DAA_BLOB ((TPM_STRUCTURE_TAG) 0x002C)
256#define TPM_TAG_DAA_CONTEXT ((TPM_STRUCTURE_TAG) 0x002D)
257#define TPM_TAG_DAA_ENFORCE ((TPM_STRUCTURE_TAG) 0x002E)
258#define TPM_TAG_DAA_ISSUER ((TPM_STRUCTURE_TAG) 0x002F)
259#define TPM_TAG_CAP_VERSION_INFO ((TPM_STRUCTURE_TAG) 0x0030)
260#define TPM_TAG_DAA_SENSITIVE ((TPM_STRUCTURE_TAG) 0x0031)
261#define TPM_TAG_DAA_TPM ((TPM_STRUCTURE_TAG) 0x0032)
262#define TPM_TAG_CMK_MIGAUTH ((TPM_STRUCTURE_TAG) 0x0033)
263#define TPM_TAG_CMK_SIGTICKET ((TPM_STRUCTURE_TAG) 0x0034)
264#define TPM_TAG_CMK_MA_APPROVAL ((TPM_STRUCTURE_TAG) 0x0035)
265#define TPM_TAG_QUOTE_INFO2 ((TPM_STRUCTURE_TAG) 0x0036)
266#define TPM_TAG_DA_INFO ((TPM_STRUCTURE_TAG) 0x0037)
267#define TPM_TAG_DA_LIMITED ((TPM_STRUCTURE_TAG) 0x0038)
268#define TPM_TAG_DA_ACTION_TYPE ((TPM_STRUCTURE_TAG) 0x0039)
277#define TPM_RT_KEY ((TPM_RESOURCE_TYPE) 0x00000001)
278#define TPM_RT_AUTH ((TPM_RESOURCE_TYPE) 0x00000002)
279#define TPM_RT_HASH ((TPM_RESOURCE_TYPE) 0x00000003)
280#define TPM_RT_TRANS ((TPM_RESOURCE_TYPE) 0x00000004)
281#define TPM_RT_CONTEXT ((TPM_RESOURCE_TYPE) 0x00000005)
282#define TPM_RT_COUNTER ((TPM_RESOURCE_TYPE) 0x00000006)
283#define TPM_RT_DELEGATE ((TPM_RESOURCE_TYPE) 0x00000007)
284#define TPM_RT_DAA_TPM ((TPM_RESOURCE_TYPE) 0x00000008)
285#define TPM_RT_DAA_V0 ((TPM_RESOURCE_TYPE) 0x00000009)
286#define TPM_RT_DAA_V1 ((TPM_RESOURCE_TYPE) 0x0000000A)
291#define TPM_PT_ASYM ((TPM_PAYLOAD_TYPE) 0x01)
292#define TPM_PT_BIND ((TPM_PAYLOAD_TYPE) 0x02)
293#define TPM_PT_MIGRATE ((TPM_PAYLOAD_TYPE) 0x03)
294#define TPM_PT_MAINT ((TPM_PAYLOAD_TYPE) 0x04)
295#define TPM_PT_SEAL ((TPM_PAYLOAD_TYPE) 0x05)
296#define TPM_PT_MIGRATE_RESTRICTED ((TPM_PAYLOAD_TYPE) 0x06)
297#define TPM_PT_MIGRATE_EXTERNAL ((TPM_PAYLOAD_TYPE) 0x07)
298#define TPM_PT_CMK_MIGRATE ((TPM_PAYLOAD_TYPE) 0x08)
299#define TPM_PT_VENDOR_SPECIFIC ((TPM_PAYLOAD_TYPE) 0x80)
304#define TPM_ET_KEYHANDLE ((UINT16) 0x0001)
305#define TPM_ET_OWNER ((UINT16) 0x0002)
306#define TPM_ET_DATA ((UINT16) 0x0003)
307#define TPM_ET_SRK ((UINT16) 0x0004)
308#define TPM_ET_KEY ((UINT16) 0x0005)
309#define TPM_ET_REVOKE ((UINT16) 0x0006)
310#define TPM_ET_DEL_OWNER_BLOB ((UINT16) 0x0007)
311#define TPM_ET_DEL_ROW ((UINT16) 0x0008)
312#define TPM_ET_DEL_KEY_BLOB ((UINT16) 0x0009)
313#define TPM_ET_COUNTER ((UINT16) 0x000A)
314#define TPM_ET_NV ((UINT16) 0x000B)
315#define TPM_ET_OPERATOR ((UINT16) 0x000C)
316#define TPM_ET_RESERVED_HANDLE ((UINT16) 0x0040)
320#define TPM_ET_XOR ((UINT16) 0x0000)
321#define TPM_ET_AES128 ((UINT16) 0x0006)
326#define TPM_KH_SRK ((TPM_KEY_HANDLE) 0x40000000)
327#define TPM_KH_OWNER ((TPM_KEY_HANDLE) 0x40000001)
328#define TPM_KH_REVOKE ((TPM_KEY_HANDLE) 0x40000002)
329#define TPM_KH_TRANSPORT ((TPM_KEY_HANDLE) 0x40000003)
330#define TPM_KH_OPERATOR ((TPM_KEY_HANDLE) 0x40000004)
331#define TPM_KH_ADMIN ((TPM_KEY_HANDLE) 0x40000005)
332#define TPM_KH_EK ((TPM_KEY_HANDLE) 0x40000006)
337#define TPM_ST_CLEAR ((TPM_STARTUP_TYPE) 0x0001)
338#define TPM_ST_STATE ((TPM_STARTUP_TYPE) 0x0002)
339#define TPM_ST_DEACTIVATED ((TPM_STARTUP_TYPE) 0x0003)
349#define TPM_PID_OIAP ((TPM_PROTOCOL_ID) 0x0001)
350#define TPM_PID_OSAP ((TPM_PROTOCOL_ID) 0x0002)
351#define TPM_PID_ADIP ((TPM_PROTOCOL_ID) 0x0003)
352#define TPM_PID_ADCP ((TPM_PROTOCOL_ID) 0x0004)
353#define TPM_PID_OWNER ((TPM_PROTOCOL_ID) 0x0005)
354#define TPM_PID_DSAP ((TPM_PROTOCOL_ID) 0x0006)
355#define TPM_PID_TRANSPORT ((TPM_PROTOCOL_ID) 0x0007)
362#define TPM_ALG_RSA ((TPM_ALGORITHM_ID) 0x00000001)
363#define TPM_ALG_DES ((TPM_ALGORITHM_ID) 0x00000002)
364#define TPM_ALG_3DES ((TPM_ALGORITHM_ID) 0x00000003)
365#define TPM_ALG_SHA ((TPM_ALGORITHM_ID) 0x00000004)
366#define TPM_ALG_HMAC ((TPM_ALGORITHM_ID) 0x00000005)
367#define TPM_ALG_AES128 ((TPM_ALGORITHM_ID) 0x00000006)
368#define TPM_ALG_MGF1 ((TPM_ALGORITHM_ID) 0x00000007)
369#define TPM_ALG_AES192 ((TPM_ALGORITHM_ID) 0x00000008)
370#define TPM_ALG_AES256 ((TPM_ALGORITHM_ID) 0x00000009)
371#define TPM_ALG_XOR ((TPM_ALGORITHM_ID) 0x0000000A)
376#define TPM_PHYSICAL_PRESENCE_HW_DISABLE ((TPM_PHYSICAL_PRESENCE) 0x0200)
377#define TPM_PHYSICAL_PRESENCE_CMD_DISABLE ((TPM_PHYSICAL_PRESENCE) 0x0100)
378#define TPM_PHYSICAL_PRESENCE_LIFETIME_LOCK ((TPM_PHYSICAL_PRESENCE) 0x0080)
379#define TPM_PHYSICAL_PRESENCE_HW_ENABLE ((TPM_PHYSICAL_PRESENCE) 0x0040)
380#define TPM_PHYSICAL_PRESENCE_CMD_ENABLE ((TPM_PHYSICAL_PRESENCE) 0x0020)
381#define TPM_PHYSICAL_PRESENCE_NOTPRESENT ((TPM_PHYSICAL_PRESENCE) 0x0010)
382#define TPM_PHYSICAL_PRESENCE_PRESENT ((TPM_PHYSICAL_PRESENCE) 0x0008)
383#define TPM_PHYSICAL_PRESENCE_LOCK ((TPM_PHYSICAL_PRESENCE) 0x0004)
388#define TPM_MS_MIGRATE ((TPM_MIGRATE_SCHEME) 0x0001)
389#define TPM_MS_REWRAP ((TPM_MIGRATE_SCHEME) 0x0002)
390#define TPM_MS_MAINT ((TPM_MIGRATE_SCHEME) 0x0003)
391#define TPM_MS_RESTRICT_MIGRATE ((TPM_MIGRATE_SCHEME) 0x0004)
392#define TPM_MS_RESTRICT_APPROVE_DOUBLE ((TPM_MIGRATE_SCHEME) 0x0005)
397#define TPM_EK_TYPE_ACTIVATE ((TPM_EK_TYPE) 0x0001)
398#define TPM_EK_TYPE_AUTH ((TPM_EK_TYPE) 0x0002)
403#define TPM_PS_PC_11 ((TPM_PLATFORM_SPECIFIC) 0x0001)
404#define TPM_PS_PC_12 ((TPM_PLATFORM_SPECIFIC) 0x0002)
405#define TPM_PS_PDA_12 ((TPM_PLATFORM_SPECIFIC) 0x0003)
406#define TPM_PS_Server_12 ((TPM_PLATFORM_SPECIFIC) 0x0004)
407#define TPM_PS_Mobile_12 ((TPM_PLATFORM_SPECIFIC) 0x0005)
433#define TPM_SHA1_160_HASH_LEN 0x14
434#define TPM_SHA1BASED_NONCE_LEN TPM_SHA1_160_HASH_LEN
440 UINT8 digest[TPM_SHA1_160_HASH_LEN];
519#define TPM_KEY_SIGNING ((UINT16) 0x0010)
524#define TPM_KEY_STORAGE ((UINT16) 0x0011)
529#define TPM_KEY_IDENTITY ((UINT16) 0x0012)
534#define TPM_KEY_AUTHCHANGE ((UINT16) 0x0013)
539#define TPM_KEY_BIND ((UINT16) 0x0014)
548#define TPM_KEY_LEGACY ((UINT16) 0x0015)
552#define TPM_KEY_MIGRATE ((UINT16) 0x0016)
558#define TPM_ES_NONE ((TPM_ENC_SCHEME) 0x0001)
559#define TPM_ES_RSAESPKCSv15 ((TPM_ENC_SCHEME) 0x0002)
560#define TPM_ES_RSAESOAEP_SHA1_MGF1 ((TPM_ENC_SCHEME) 0x0003)
561#define TPM_ES_SYM_CNT ((TPM_ENC_SCHEME) 0x0004)
562#define TPM_ES_SYM_CTR ((TPM_ENC_SCHEME) 0x0004)
563#define TPM_ES_SYM_OFB ((TPM_ENC_SCHEME) 0x0005)
565#define TPM_SS_NONE ((TPM_SIG_SCHEME) 0x0001)
566#define TPM_SS_RSASSAPKCS1v15_SHA1 ((TPM_SIG_SCHEME) 0x0002)
567#define TPM_SS_RSASSAPKCS1v15_DER ((TPM_SIG_SCHEME) 0x0003)
568#define TPM_SS_RSASSAPKCS1v15_INFO ((TPM_SIG_SCHEME) 0x0004)
573#define TPM_AUTH_NEVER ((TPM_AUTH_DATA_USAGE) 0x00)
574#define TPM_AUTH_ALWAYS ((TPM_AUTH_DATA_USAGE) 0x01)
575#define TPM_AUTH_PRIV_USE_ONLY ((TPM_AUTH_DATA_USAGE) 0x03)
581 redirection = 0x00000001,
582 migratable = 0x00000002,
583 isVolatile = 0x00000004,
584 pcrIgnoredOnRead = 0x00000008,
585 migrateAuthority = 0x00000010
678#define TPM_CMK_DELEGATE_SIGNING ((TPM_CMK_DELEGATE) BIT31)
679#define TPM_CMK_DELEGATE_STORAGE ((TPM_CMK_DELEGATE) BIT30)
680#define TPM_CMK_DELEGATE_BIND ((TPM_CMK_DELEGATE) BIT29)
681#define TPM_CMK_DELEGATE_LEGACY ((TPM_CMK_DELEGATE) BIT28)
682#define TPM_CMK_DELEGATE_MIGRATE ((TPM_CMK_DELEGATE) BIT27)
722#define TPM_TAG_RQU_COMMAND ((TPM_STRUCTURE_TAG) 0x00C1)
723#define TPM_TAG_RQU_AUTH1_COMMAND ((TPM_STRUCTURE_TAG) 0x00C2)
724#define TPM_TAG_RQU_AUTH2_COMMAND ((TPM_STRUCTURE_TAG) 0x00C3)
725#define TPM_TAG_RSP_COMMAND ((TPM_STRUCTURE_TAG) 0x00C4)
726#define TPM_TAG_RSP_AUTH1_COMMAND ((TPM_STRUCTURE_TAG) 0x00C5)
727#define TPM_TAG_RSP_AUTH2_COMMAND ((TPM_STRUCTURE_TAG) 0x00C6)
738 BOOLEAN disableOwnerClear;
739 BOOLEAN allowMaintenance;
740 BOOLEAN physicalPresenceLifetimeLock;
741 BOOLEAN physicalPresenceHWEnable;
742 BOOLEAN physicalPresenceCMDEnable;
748 BOOLEAN enableRevokeEK;
751 BOOLEAN tpmEstablished;
752 BOOLEAN maintenanceDone;
753 BOOLEAN disableFullDALogicInfo;
759#define TPM_PF_DISABLE ((TPM_CAPABILITY_AREA) 1)
760#define TPM_PF_OWNERSHIP ((TPM_CAPABILITY_AREA) 2)
761#define TPM_PF_DEACTIVATED ((TPM_CAPABILITY_AREA) 3)
762#define TPM_PF_READPUBEK ((TPM_CAPABILITY_AREA) 4)
763#define TPM_PF_DISABLEOWNERCLEAR ((TPM_CAPABILITY_AREA) 5)
764#define TPM_PF_ALLOWMAINTENANCE ((TPM_CAPABILITY_AREA) 6)
765#define TPM_PF_PHYSICALPRESENCELIFETIMELOCK ((TPM_CAPABILITY_AREA) 7)
766#define TPM_PF_PHYSICALPRESENCEHWENABLE ((TPM_CAPABILITY_AREA) 8)
767#define TPM_PF_PHYSICALPRESENCECMDENABLE ((TPM_CAPABILITY_AREA) 9)
768#define TPM_PF_CEKPUSED ((TPM_CAPABILITY_AREA) 10)
769#define TPM_PF_TPMPOST ((TPM_CAPABILITY_AREA) 11)
770#define TPM_PF_TPMPOSTLOCK ((TPM_CAPABILITY_AREA) 12)
771#define TPM_PF_FIPS ((TPM_CAPABILITY_AREA) 13)
772#define TPM_PF_OPERATOR ((TPM_CAPABILITY_AREA) 14)
773#define TPM_PF_ENABLEREVOKEEK ((TPM_CAPABILITY_AREA) 15)
774#define TPM_PF_NV_LOCKED ((TPM_CAPABILITY_AREA) 16)
775#define TPM_PF_READSRKPUB ((TPM_CAPABILITY_AREA) 17)
776#define TPM_PF_TPMESTABLISHED ((TPM_CAPABILITY_AREA) 18)
777#define TPM_PF_MAINTENANCEDONE ((TPM_CAPABILITY_AREA) 19)
778#define TPM_PF_DISABLEFULLDALOGICINFO ((TPM_CAPABILITY_AREA) 20)
786 BOOLEAN disableForceClear;
787 BOOLEAN physicalPresence;
788 BOOLEAN physicalPresenceLock;
795#define TPM_SF_DEACTIVATED ((TPM_CAPABILITY_AREA) 1)
796#define TPM_SF_DISABLEFORCECLEAR ((TPM_CAPABILITY_AREA) 2)
797#define TPM_SF_PHYSICALPRESENCE ((TPM_CAPABILITY_AREA) 3)
798#define TPM_SF_PHYSICALPRESENCELOCK ((TPM_CAPABILITY_AREA) 4)
799#define TPM_SF_BGLOBALLOCK ((TPM_CAPABILITY_AREA) 5)
806 BOOLEAN postInitialise;
808 BOOLEAN transportExclusive;
815#define TPM_AF_POSTINITIALISE ((TPM_CAPABILITY_AREA) 1)
816#define TPM_AF_LOCALITYMODIFIER ((TPM_CAPABILITY_AREA) 2)
817#define TPM_AF_TRANSPORTEXCLUSIVE ((TPM_CAPABILITY_AREA) 3)
818#define TPM_AF_TOSPRESENT ((TPM_CAPABILITY_AREA) 4)
826#define TPM_MIN_COUNTERS 4
827#define TPM_DELEGATE_KEY TPM_KEY
828#define TPM_NUM_PCR 16
829#define TPM_MAX_NV_WRITE_NOOWNER 64
834#define TPM_PD_REVMAJOR ((TPM_CAPABILITY_AREA) 1)
835#define TPM_PD_REVMINOR ((TPM_CAPABILITY_AREA) 2)
836#define TPM_PD_TPMPROOF ((TPM_CAPABILITY_AREA) 3)
837#define TPM_PD_OWNERAUTH ((TPM_CAPABILITY_AREA) 4)
838#define TPM_PD_OPERATORAUTH ((TPM_CAPABILITY_AREA) 5)
839#define TPM_PD_MANUMAINTPUB ((TPM_CAPABILITY_AREA) 6)
840#define TPM_PD_ENDORSEMENTKEY ((TPM_CAPABILITY_AREA) 7)
841#define TPM_PD_SRK ((TPM_CAPABILITY_AREA) 8)
842#define TPM_PD_DELEGATEKEY ((TPM_CAPABILITY_AREA) 9)
843#define TPM_PD_CONTEXTKEY ((TPM_CAPABILITY_AREA) 10)
844#define TPM_PD_AUDITMONOTONICCOUNTER ((TPM_CAPABILITY_AREA) 11)
845#define TPM_PD_MONOTONICCOUNTER ((TPM_CAPABILITY_AREA) 12)
846#define TPM_PD_PCRATTRIB ((TPM_CAPABILITY_AREA) 13)
847#define TPM_PD_ORDINALAUDITSTATUS ((TPM_CAPABILITY_AREA) 14)
848#define TPM_PD_AUTHDIR ((TPM_CAPABILITY_AREA) 15)
849#define TPM_PD_RNGSTATE ((TPM_CAPABILITY_AREA) 16)
850#define TPM_PD_FAMILYTABLE ((TPM_CAPABILITY_AREA) 17)
851#define TPM_DELEGATETABLE ((TPM_CAPABILITY_AREA) 18)
852#define TPM_PD_EKRESET ((TPM_CAPABILITY_AREA) 19)
853#define TPM_PD_MAXNVBUFSIZE ((TPM_CAPABILITY_AREA) 20)
854#define TPM_PD_LASTFAMILYID ((TPM_CAPABILITY_AREA) 21)
855#define TPM_PD_NOOWNERNVWRITE ((TPM_CAPABILITY_AREA) 22)
856#define TPM_PD_RESTRICTDELEGATE ((TPM_CAPABILITY_AREA) 23)
857#define TPM_PD_TPMDAASEED ((TPM_CAPABILITY_AREA) 24)
858#define TPM_PD_DAAPROOF ((TPM_CAPABILITY_AREA) 25)
868 UINT32 ownerReference;
869 BOOLEAN disableResetLock;
871 UINT32 deferredPhysicalPresence;
877#define TPM_SD_CONTEXTNONCEKEY ((TPM_CAPABILITY_AREA)0x00000001)
878#define TPM_SD_COUNTID ((TPM_CAPABILITY_AREA)0x00000002)
879#define TPM_SD_OWNERREFERENCE ((TPM_CAPABILITY_AREA)0x00000003)
880#define TPM_SD_DISABLERESETLOCK ((TPM_CAPABILITY_AREA)0x00000004)
881#define TPM_SD_PCR ((TPM_CAPABILITY_AREA)0x00000005)
882#define TPM_SD_DEFERREDPHYSICALPRESENCE ((TPM_CAPABILITY_AREA)0x00000006)
887#define TPM_AD_CONTEXTNONCESESSION ((TPM_CAPABILITY_AREA) 1)
888#define TPM_AD_AUDITDIGEST ((TPM_CAPABILITY_AREA) 2)
889#define TPM_AD_CURRENTTICKS ((TPM_CAPABILITY_AREA) 3)
890#define TPM_AD_CONTEXTCOUNT ((TPM_CAPABILITY_AREA) 4)
891#define TPM_AD_CONTEXTLIST ((TPM_CAPABILITY_AREA) 5)
892#define TPM_AD_SESSIONS ((TPM_CAPABILITY_AREA) 6)
931#define TPM_LOC_FOUR ((UINT8) 0x10)
932#define TPM_LOC_THREE ((UINT8) 0x08)
933#define TPM_LOC_TWO ((UINT8) 0x04)
934#define TPM_LOC_ONE ((UINT8) 0x02)
935#define TPM_LOC_ZERO ((UINT8) 0x01)
1029 UINT8 payloadData[1];
1105 UINT32 partPrivKeyLen;
1112#define TPM_KEY_CONTROL_OWNER_EVICT ((UINT32) 0x00000001)
1129 BOOLEAN parentPCRStatus;
1147 BOOLEAN parentPCRStatus;
1150 UINT32 migrationAuthoritySize;
1151 UINT8 *migrationAuthority;
1234 UINT32 identityBindingSize;
1235 UINT32 endorsementSize;
1236 UINT32 platformSize;
1237 UINT32 conformanceSize;
1240 UINT8 *identityBinding;
1241 UINT8 *endorsementCredential;
1242 UINT8 *platformCredential;
1243 UINT8 *conformanceCredential;
1269 UINT64 currentTicks;
1291#define TPM_TRANSPORT_ENCRYPT ((UINT32)BIT0)
1292#define TPM_TRANSPORT_LOG ((UINT32)BIT1)
1293#define TPM_TRANSPORT_EXCLUSIVE ((UINT32)BIT2)
1300 TPM_AUTHDATA authData;
1331 TPM_AUTHDATA authData;
1362#define TPM_VENDOR_ERROR TPM_Vendor_Specific32
1363#define TPM_NON_FATAL 0x00000800
1365#define TPM_SUCCESS ((TPM_RESULT) TPM_BASE)
1366#define TPM_AUTHFAIL ((TPM_RESULT) (TPM_BASE + 1))
1367#define TPM_BADINDEX ((TPM_RESULT) (TPM_BASE + 2))
1368#define TPM_BAD_PARAMETER ((TPM_RESULT) (TPM_BASE + 3))
1369#define TPM_AUDITFAILURE ((TPM_RESULT) (TPM_BASE + 4))
1370#define TPM_CLEAR_DISABLED ((TPM_RESULT) (TPM_BASE + 5))
1371#define TPM_DEACTIVATED ((TPM_RESULT) (TPM_BASE + 6))
1372#define TPM_DISABLED ((TPM_RESULT) (TPM_BASE + 7))
1373#define TPM_DISABLED_CMD ((TPM_RESULT) (TPM_BASE + 8))
1374#define TPM_FAIL ((TPM_RESULT) (TPM_BASE + 9))
1375#define TPM_BAD_ORDINAL ((TPM_RESULT) (TPM_BASE + 10))
1376#define TPM_INSTALL_DISABLED ((TPM_RESULT) (TPM_BASE + 11))
1377#define TPM_INVALID_KEYHANDLE ((TPM_RESULT) (TPM_BASE + 12))
1378#define TPM_KEYNOTFOUND ((TPM_RESULT) (TPM_BASE + 13))
1379#define TPM_INAPPROPRIATE_ENC ((TPM_RESULT) (TPM_BASE + 14))
1380#define TPM_MIGRATEFAIL ((TPM_RESULT) (TPM_BASE + 15))
1381#define TPM_INVALID_PCR_INFO ((TPM_RESULT) (TPM_BASE + 16))
1382#define TPM_NOSPACE ((TPM_RESULT) (TPM_BASE + 17))
1383#define TPM_NOSRK ((TPM_RESULT) (TPM_BASE + 18))
1384#define TPM_NOTSEALED_BLOB ((TPM_RESULT) (TPM_BASE + 19))
1385#define TPM_OWNER_SET ((TPM_RESULT) (TPM_BASE + 20))
1386#define TPM_RESOURCES ((TPM_RESULT) (TPM_BASE + 21))
1387#define TPM_SHORTRANDOM ((TPM_RESULT) (TPM_BASE + 22))
1388#define TPM_SIZE ((TPM_RESULT) (TPM_BASE + 23))
1389#define TPM_WRONGPCRVAL ((TPM_RESULT) (TPM_BASE + 24))
1390#define TPM_BAD_PARAM_SIZE ((TPM_RESULT) (TPM_BASE + 25))
1391#define TPM_SHA_THREAD ((TPM_RESULT) (TPM_BASE + 26))
1392#define TPM_SHA_ERROR ((TPM_RESULT) (TPM_BASE + 27))
1393#define TPM_FAILEDSELFTEST ((TPM_RESULT) (TPM_BASE + 28))
1394#define TPM_AUTH2FAIL ((TPM_RESULT) (TPM_BASE + 29))
1395#define TPM_BADTAG ((TPM_RESULT) (TPM_BASE + 30))
1396#define TPM_IOERROR ((TPM_RESULT) (TPM_BASE + 31))
1397#define TPM_ENCRYPT_ERROR ((TPM_RESULT) (TPM_BASE + 32))
1398#define TPM_DECRYPT_ERROR ((TPM_RESULT) (TPM_BASE + 33))
1399#define TPM_INVALID_AUTHHANDLE ((TPM_RESULT) (TPM_BASE + 34))
1400#define TPM_NO_ENDORSEMENT ((TPM_RESULT) (TPM_BASE + 35))
1401#define TPM_INVALID_KEYUSAGE ((TPM_RESULT) (TPM_BASE + 36))
1402#define TPM_WRONG_ENTITYTYPE ((TPM_RESULT) (TPM_BASE + 37))
1403#define TPM_INVALID_POSTINIT ((TPM_RESULT) (TPM_BASE + 38))
1404#define TPM_INAPPROPRIATE_SIG ((TPM_RESULT) (TPM_BASE + 39))
1405#define TPM_BAD_KEY_PROPERTY ((TPM_RESULT) (TPM_BASE + 40))
1406#define TPM_BAD_MIGRATION ((TPM_RESULT) (TPM_BASE + 41))
1407#define TPM_BAD_SCHEME ((TPM_RESULT) (TPM_BASE + 42))
1408#define TPM_BAD_DATASIZE ((TPM_RESULT) (TPM_BASE + 43))
1409#define TPM_BAD_MODE ((TPM_RESULT) (TPM_BASE + 44))
1410#define TPM_BAD_PRESENCE ((TPM_RESULT) (TPM_BASE + 45))
1411#define TPM_BAD_VERSION ((TPM_RESULT) (TPM_BASE + 46))
1412#define TPM_NO_WRAP_TRANSPORT ((TPM_RESULT) (TPM_BASE + 47))
1413#define TPM_AUDITFAIL_UNSUCCESSFUL ((TPM_RESULT) (TPM_BASE + 48))
1414#define TPM_AUDITFAIL_SUCCESSFUL ((TPM_RESULT) (TPM_BASE + 49))
1415#define TPM_NOTRESETABLE ((TPM_RESULT) (TPM_BASE + 50))
1416#define TPM_NOTLOCAL ((TPM_RESULT) (TPM_BASE + 51))
1417#define TPM_BAD_TYPE ((TPM_RESULT) (TPM_BASE + 52))
1418#define TPM_INVALID_RESOURCE ((TPM_RESULT) (TPM_BASE + 53))
1419#define TPM_NOTFIPS ((TPM_RESULT) (TPM_BASE + 54))
1420#define TPM_INVALID_FAMILY ((TPM_RESULT) (TPM_BASE + 55))
1421#define TPM_NO_NV_PERMISSION ((TPM_RESULT) (TPM_BASE + 56))
1422#define TPM_REQUIRES_SIGN ((TPM_RESULT) (TPM_BASE + 57))
1423#define TPM_KEY_NOTSUPPORTED ((TPM_RESULT) (TPM_BASE + 58))
1424#define TPM_AUTH_CONFLICT ((TPM_RESULT) (TPM_BASE + 59))
1425#define TPM_AREA_LOCKED ((TPM_RESULT) (TPM_BASE + 60))
1426#define TPM_BAD_LOCALITY ((TPM_RESULT) (TPM_BASE + 61))
1427#define TPM_READ_ONLY ((TPM_RESULT) (TPM_BASE + 62))
1428#define TPM_PER_NOWRITE ((TPM_RESULT) (TPM_BASE + 63))
1429#define TPM_FAMILYCOUNT ((TPM_RESULT) (TPM_BASE + 64))
1430#define TPM_WRITE_LOCKED ((TPM_RESULT) (TPM_BASE + 65))
1431#define TPM_BAD_ATTRIBUTES ((TPM_RESULT) (TPM_BASE + 66))
1432#define TPM_INVALID_STRUCTURE ((TPM_RESULT) (TPM_BASE + 67))
1433#define TPM_KEY_OWNER_CONTROL ((TPM_RESULT) (TPM_BASE + 68))
1434#define TPM_BAD_COUNTER ((TPM_RESULT) (TPM_BASE + 69))
1435#define TPM_NOT_FULLWRITE ((TPM_RESULT) (TPM_BASE + 70))
1436#define TPM_CONTEXT_GAP ((TPM_RESULT) (TPM_BASE + 71))
1437#define TPM_MAXNVWRITES ((TPM_RESULT) (TPM_BASE + 72))
1438#define TPM_NOOPERATOR ((TPM_RESULT) (TPM_BASE + 73))
1439#define TPM_RESOURCEMISSING ((TPM_RESULT) (TPM_BASE + 74))
1440#define TPM_DELEGATE_LOCK ((TPM_RESULT) (TPM_BASE + 75))
1441#define TPM_DELEGATE_FAMILY ((TPM_RESULT) (TPM_BASE + 76))
1442#define TPM_DELEGATE_ADMIN ((TPM_RESULT) (TPM_BASE + 77))
1443#define TPM_TRANSPORT_NOTEXCLUSIVE ((TPM_RESULT) (TPM_BASE + 78))
1444#define TPM_OWNER_CONTROL ((TPM_RESULT) (TPM_BASE + 79))
1445#define TPM_DAA_RESOURCES ((TPM_RESULT) (TPM_BASE + 80))
1446#define TPM_DAA_INPUT_DATA0 ((TPM_RESULT) (TPM_BASE + 81))
1447#define TPM_DAA_INPUT_DATA1 ((TPM_RESULT) (TPM_BASE + 82))
1448#define TPM_DAA_ISSUER_SETTINGS ((TPM_RESULT) (TPM_BASE + 83))
1449#define TPM_DAA_TPM_SETTINGS ((TPM_RESULT) (TPM_BASE + 84))
1450#define TPM_DAA_STAGE ((TPM_RESULT) (TPM_BASE + 85))
1451#define TPM_DAA_ISSUER_VALIDITY ((TPM_RESULT) (TPM_BASE + 86))
1452#define TPM_DAA_WRONG_W ((TPM_RESULT) (TPM_BASE + 87))
1453#define TPM_BAD_HANDLE ((TPM_RESULT) (TPM_BASE + 88))
1454#define TPM_BAD_DELEGATE ((TPM_RESULT) (TPM_BASE + 89))
1455#define TPM_BADCONTEXT ((TPM_RESULT) (TPM_BASE + 90))
1456#define TPM_TOOMANYCONTEXTS ((TPM_RESULT) (TPM_BASE + 91))
1457#define TPM_MA_TICKET_SIGNATURE ((TPM_RESULT) (TPM_BASE + 92))
1458#define TPM_MA_DESTINATION ((TPM_RESULT) (TPM_BASE + 93))
1459#define TPM_MA_SOURCE ((TPM_RESULT) (TPM_BASE + 94))
1460#define TPM_MA_AUTHORITY ((TPM_RESULT) (TPM_BASE + 95))
1461#define TPM_PERMANENTEK ((TPM_RESULT) (TPM_BASE + 97))
1462#define TPM_BAD_SIGNATURE ((TPM_RESULT) (TPM_BASE + 98))
1463#define TPM_NOCONTEXTSPACE ((TPM_RESULT) (TPM_BASE + 99))
1465#define TPM_RETRY ((TPM_RESULT) (TPM_BASE + TPM_NON_FATAL))
1466#define TPM_NEEDS_SELFTEST ((TPM_RESULT) (TPM_BASE + TPM_NON_FATAL + 1))
1467#define TPM_DOING_SELFTEST ((TPM_RESULT) (TPM_BASE + TPM_NON_FATAL + 2))
1468#define TPM_DEFEND_LOCK_RUNNING ((TPM_RESULT) (TPM_BASE + TPM_NON_FATAL + 3))
1498#define TPM_ORD_ActivateIdentity ((TPM_COMMAND_CODE) 0x0000007A)
1499#define TPM_ORD_AuthorizeMigrationKey ((TPM_COMMAND_CODE) 0x0000002B)
1500#define TPM_ORD_CertifyKey ((TPM_COMMAND_CODE) 0x00000032)
1501#define TPM_ORD_CertifyKey2 ((TPM_COMMAND_CODE) 0x00000033)
1502#define TPM_ORD_CertifySelfTest ((TPM_COMMAND_CODE) 0x00000052)
1503#define TPM_ORD_ChangeAuth ((TPM_COMMAND_CODE) 0x0000000C)
1504#define TPM_ORD_ChangeAuthAsymFinish ((TPM_COMMAND_CODE) 0x0000000F)
1505#define TPM_ORD_ChangeAuthAsymStart ((TPM_COMMAND_CODE) 0x0000000E)
1506#define TPM_ORD_ChangeAuthOwner ((TPM_COMMAND_CODE) 0x00000010)
1507#define TPM_ORD_CMK_ApproveMA ((TPM_COMMAND_CODE) 0x0000001D)
1508#define TPM_ORD_CMK_ConvertMigration ((TPM_COMMAND_CODE) 0x00000024)
1509#define TPM_ORD_CMK_CreateBlob ((TPM_COMMAND_CODE) 0x0000001B)
1510#define TPM_ORD_CMK_CreateKey ((TPM_COMMAND_CODE) 0x00000013)
1511#define TPM_ORD_CMK_CreateTicket ((TPM_COMMAND_CODE) 0x00000012)
1512#define TPM_ORD_CMK_SetRestrictions ((TPM_COMMAND_CODE) 0x0000001C)
1513#define TPM_ORD_ContinueSelfTest ((TPM_COMMAND_CODE) 0x00000053)
1514#define TPM_ORD_ConvertMigrationBlob ((TPM_COMMAND_CODE) 0x0000002A)
1515#define TPM_ORD_CreateCounter ((TPM_COMMAND_CODE) 0x000000DC)
1516#define TPM_ORD_CreateEndorsementKeyPair ((TPM_COMMAND_CODE) 0x00000078)
1517#define TPM_ORD_CreateMaintenanceArchive ((TPM_COMMAND_CODE) 0x0000002C)
1518#define TPM_ORD_CreateMigrationBlob ((TPM_COMMAND_CODE) 0x00000028)
1519#define TPM_ORD_CreateRevocableEK ((TPM_COMMAND_CODE) 0x0000007F)
1520#define TPM_ORD_CreateWrapKey ((TPM_COMMAND_CODE) 0x0000001F)
1521#define TPM_ORD_DAA_JOIN ((TPM_COMMAND_CODE) 0x00000029)
1522#define TPM_ORD_DAA_SIGN ((TPM_COMMAND_CODE) 0x00000031)
1523#define TPM_ORD_Delegate_CreateKeyDelegation ((TPM_COMMAND_CODE) 0x000000D4)
1524#define TPM_ORD_Delegate_CreateOwnerDelegation ((TPM_COMMAND_CODE) 0x000000D5)
1525#define TPM_ORD_Delegate_LoadOwnerDelegation ((TPM_COMMAND_CODE) 0x000000D8)
1526#define TPM_ORD_Delegate_Manage ((TPM_COMMAND_CODE) 0x000000D2)
1527#define TPM_ORD_Delegate_ReadTable ((TPM_COMMAND_CODE) 0x000000DB)
1528#define TPM_ORD_Delegate_UpdateVerification ((TPM_COMMAND_CODE) 0x000000D1)
1529#define TPM_ORD_Delegate_VerifyDelegation ((TPM_COMMAND_CODE) 0x000000D6)
1530#define TPM_ORD_DirRead ((TPM_COMMAND_CODE) 0x0000001A)
1531#define TPM_ORD_DirWriteAuth ((TPM_COMMAND_CODE) 0x00000019)
1532#define TPM_ORD_DisableForceClear ((TPM_COMMAND_CODE) 0x0000005E)
1533#define TPM_ORD_DisableOwnerClear ((TPM_COMMAND_CODE) 0x0000005C)
1534#define TPM_ORD_DisablePubekRead ((TPM_COMMAND_CODE) 0x0000007E)
1535#define TPM_ORD_DSAP ((TPM_COMMAND_CODE) 0x00000011)
1536#define TPM_ORD_EstablishTransport ((TPM_COMMAND_CODE) 0x000000E6)
1537#define TPM_ORD_EvictKey ((TPM_COMMAND_CODE) 0x00000022)
1538#define TPM_ORD_ExecuteTransport ((TPM_COMMAND_CODE) 0x000000E7)
1539#define TPM_ORD_Extend ((TPM_COMMAND_CODE) 0x00000014)
1540#define TPM_ORD_FieldUpgrade ((TPM_COMMAND_CODE) 0x000000AA)
1541#define TPM_ORD_FlushSpecific ((TPM_COMMAND_CODE) 0x000000BA)
1542#define TPM_ORD_ForceClear ((TPM_COMMAND_CODE) 0x0000005D)
1543#define TPM_ORD_GetAuditDigest ((TPM_COMMAND_CODE) 0x00000085)
1544#define TPM_ORD_GetAuditDigestSigned ((TPM_COMMAND_CODE) 0x00000086)
1545#define TPM_ORD_GetAuditEvent ((TPM_COMMAND_CODE) 0x00000082)
1546#define TPM_ORD_GetAuditEventSigned ((TPM_COMMAND_CODE) 0x00000083)
1547#define TPM_ORD_GetCapability ((TPM_COMMAND_CODE) 0x00000065)
1548#define TPM_ORD_GetCapabilityOwner ((TPM_COMMAND_CODE) 0x00000066)
1549#define TPM_ORD_GetCapabilitySigned ((TPM_COMMAND_CODE) 0x00000064)
1550#define TPM_ORD_GetOrdinalAuditStatus ((TPM_COMMAND_CODE) 0x0000008C)
1551#define TPM_ORD_GetPubKey ((TPM_COMMAND_CODE) 0x00000021)
1552#define TPM_ORD_GetRandom ((TPM_COMMAND_CODE) 0x00000046)
1553#define TPM_ORD_GetTestResult ((TPM_COMMAND_CODE) 0x00000054)
1554#define TPM_ORD_GetTicks ((TPM_COMMAND_CODE) 0x000000F1)
1555#define TPM_ORD_IncrementCounter ((TPM_COMMAND_CODE) 0x000000DD)
1556#define TPM_ORD_Init ((TPM_COMMAND_CODE) 0x00000097)
1557#define TPM_ORD_KeyControlOwner ((TPM_COMMAND_CODE) 0x00000023)
1558#define TPM_ORD_KillMaintenanceFeature ((TPM_COMMAND_CODE) 0x0000002E)
1559#define TPM_ORD_LoadAuthContext ((TPM_COMMAND_CODE) 0x000000B7)
1560#define TPM_ORD_LoadContext ((TPM_COMMAND_CODE) 0x000000B9)
1561#define TPM_ORD_LoadKey ((TPM_COMMAND_CODE) 0x00000020)
1562#define TPM_ORD_LoadKey2 ((TPM_COMMAND_CODE) 0x00000041)
1563#define TPM_ORD_LoadKeyContext ((TPM_COMMAND_CODE) 0x000000B5)
1564#define TPM_ORD_LoadMaintenanceArchive ((TPM_COMMAND_CODE) 0x0000002D)
1565#define TPM_ORD_LoadManuMaintPub ((TPM_COMMAND_CODE) 0x0000002F)
1566#define TPM_ORD_MakeIdentity ((TPM_COMMAND_CODE) 0x00000079)
1567#define TPM_ORD_MigrateKey ((TPM_COMMAND_CODE) 0x00000025)
1568#define TPM_ORD_NV_DefineSpace ((TPM_COMMAND_CODE) 0x000000CC)
1569#define TPM_ORD_NV_ReadValue ((TPM_COMMAND_CODE) 0x000000CF)
1570#define TPM_ORD_NV_ReadValueAuth ((TPM_COMMAND_CODE) 0x000000D0)
1571#define TPM_ORD_NV_WriteValue ((TPM_COMMAND_CODE) 0x000000CD)
1572#define TPM_ORD_NV_WriteValueAuth ((TPM_COMMAND_CODE) 0x000000CE)
1573#define TPM_ORD_OIAP ((TPM_COMMAND_CODE) 0x0000000A)
1574#define TPM_ORD_OSAP ((TPM_COMMAND_CODE) 0x0000000B)
1575#define TPM_ORD_OwnerClear ((TPM_COMMAND_CODE) 0x0000005B)
1576#define TPM_ORD_OwnerReadInternalPub ((TPM_COMMAND_CODE) 0x00000081)
1577#define TPM_ORD_OwnerReadPubek ((TPM_COMMAND_CODE) 0x0000007D)
1578#define TPM_ORD_OwnerSetDisable ((TPM_COMMAND_CODE) 0x0000006E)
1579#define TPM_ORD_PCR_Reset ((TPM_COMMAND_CODE) 0x000000C8)
1580#define TPM_ORD_PcrRead ((TPM_COMMAND_CODE) 0x00000015)
1581#define TPM_ORD_PhysicalDisable ((TPM_COMMAND_CODE) 0x00000070)
1582#define TPM_ORD_PhysicalEnable ((TPM_COMMAND_CODE) 0x0000006F)
1583#define TPM_ORD_PhysicalSetDeactivated ((TPM_COMMAND_CODE) 0x00000072)
1584#define TPM_ORD_Quote ((TPM_COMMAND_CODE) 0x00000016)
1585#define TPM_ORD_Quote2 ((TPM_COMMAND_CODE) 0x0000003E)
1586#define TPM_ORD_ReadCounter ((TPM_COMMAND_CODE) 0x000000DE)
1587#define TPM_ORD_ReadManuMaintPub ((TPM_COMMAND_CODE) 0x00000030)
1588#define TPM_ORD_ReadPubek ((TPM_COMMAND_CODE) 0x0000007C)
1589#define TPM_ORD_ReleaseCounter ((TPM_COMMAND_CODE) 0x000000DF)
1590#define TPM_ORD_ReleaseCounterOwner ((TPM_COMMAND_CODE) 0x000000E0)
1591#define TPM_ORD_ReleaseTransportSigned ((TPM_COMMAND_CODE) 0x000000E8)
1592#define TPM_ORD_Reset ((TPM_COMMAND_CODE) 0x0000005A)
1593#define TPM_ORD_ResetLockValue ((TPM_COMMAND_CODE) 0x00000040)
1594#define TPM_ORD_RevokeTrust ((TPM_COMMAND_CODE) 0x00000080)
1595#define TPM_ORD_SaveAuthContext ((TPM_COMMAND_CODE) 0x000000B6)
1596#define TPM_ORD_SaveContext ((TPM_COMMAND_CODE) 0x000000B8)
1597#define TPM_ORD_SaveKeyContext ((TPM_COMMAND_CODE) 0x000000B4)
1598#define TPM_ORD_SaveState ((TPM_COMMAND_CODE) 0x00000098)
1599#define TPM_ORD_Seal ((TPM_COMMAND_CODE) 0x00000017)
1600#define TPM_ORD_Sealx ((TPM_COMMAND_CODE) 0x0000003D)
1601#define TPM_ORD_SelfTestFull ((TPM_COMMAND_CODE) 0x00000050)
1602#define TPM_ORD_SetCapability ((TPM_COMMAND_CODE) 0x0000003F)
1603#define TPM_ORD_SetOperatorAuth ((TPM_COMMAND_CODE) 0x00000074)
1604#define TPM_ORD_SetOrdinalAuditStatus ((TPM_COMMAND_CODE) 0x0000008D)
1605#define TPM_ORD_SetOwnerInstall ((TPM_COMMAND_CODE) 0x00000071)
1606#define TPM_ORD_SetOwnerPointer ((TPM_COMMAND_CODE) 0x00000075)
1607#define TPM_ORD_SetRedirection ((TPM_COMMAND_CODE) 0x0000009A)
1608#define TPM_ORD_SetTempDeactivated ((TPM_COMMAND_CODE) 0x00000073)
1609#define TPM_ORD_SHA1Complete ((TPM_COMMAND_CODE) 0x000000A2)
1610#define TPM_ORD_SHA1CompleteExtend ((TPM_COMMAND_CODE) 0x000000A3)
1611#define TPM_ORD_SHA1Start ((TPM_COMMAND_CODE) 0x000000A0)
1612#define TPM_ORD_SHA1Update ((TPM_COMMAND_CODE) 0x000000A1)
1613#define TPM_ORD_Sign ((TPM_COMMAND_CODE) 0x0000003C)
1614#define TPM_ORD_Startup ((TPM_COMMAND_CODE) 0x00000099)
1615#define TPM_ORD_StirRandom ((TPM_COMMAND_CODE) 0x00000047)
1616#define TPM_ORD_TakeOwnership ((TPM_COMMAND_CODE) 0x0000000D)
1617#define TPM_ORD_Terminate_Handle ((TPM_COMMAND_CODE) 0x00000096)
1618#define TPM_ORD_TickStampBlob ((TPM_COMMAND_CODE) 0x000000F2)
1619#define TPM_ORD_UnBind ((TPM_COMMAND_CODE) 0x0000001E)
1620#define TPM_ORD_Unseal ((TPM_COMMAND_CODE) 0x00000018)
1621#define TSC_ORD_PhysicalPresence ((TPM_COMMAND_CODE) 0x4000000A)
1622#define TSC_ORD_ResetEstablishmentBit ((TPM_COMMAND_CODE) 0x4000000B)
1636 UINT32 contextCount;
1638 UINT32 additionalSize;
1639 UINT8 *additionalData;
1640 UINT32 sensitiveSize;
1641 UINT8 *sensitiveData;
1650 UINT32 internalSize;
1651 UINT8 *internalData;
1661#define TPM_NV_INDEX_LOCK ((UINT32)0xffffffff)
1662#define TPM_NV_INDEX0 ((UINT32)0x00000000)
1663#define TPM_NV_INDEX_DIR ((UINT32)0x10000001)
1664#define TPM_NV_INDEX_EKCert ((UINT32)0x0000f000)
1665#define TPM_NV_INDEX_TPM_CC ((UINT32)0x0000f001)
1666#define TPM_NV_INDEX_PlatformCert ((UINT32)0x0000f002)
1667#define TPM_NV_INDEX_Platform_CC ((UINT32)0x0000f003)
1671#define TPM_NV_INDEX_TSS_BASE ((UINT32)0x00011100)
1672#define TPM_NV_INDEX_PC_BASE ((UINT32)0x00011200)
1673#define TPM_NV_INDEX_SERVER_BASE ((UINT32)0x00011300)
1674#define TPM_NV_INDEX_MOBILE_BASE ((UINT32)0x00011400)
1675#define TPM_NV_INDEX_PERIPHERAL_BASE ((UINT32)0x00011500)
1676#define TPM_NV_INDEX_GROUP_RESV_BASE ((UINT32)0x00010000)
1686#define TPM_NV_PER_READ_STCLEAR (BIT31)
1687#define TPM_NV_PER_AUTHREAD (BIT18)
1688#define TPM_NV_PER_OWNERREAD (BIT17)
1689#define TPM_NV_PER_PPREAD (BIT16)
1690#define TPM_NV_PER_GLOBALLOCK (BIT15)
1691#define TPM_NV_PER_WRITE_STCLEAR (BIT14)
1692#define TPM_NV_PER_WRITEDEFINE (BIT13)
1693#define TPM_NV_PER_WRITEALL (BIT12)
1694#define TPM_NV_PER_AUTHWRITE (BIT2)
1695#define TPM_NV_PER_OWNERWRITE (BIT1)
1696#define TPM_NV_PER_PPWRITE (BIT0)
1707 BOOLEAN bReadSTClear;
1708 BOOLEAN bWriteSTClear;
1709 BOOLEAN bWriteDefine;
1717#define TPM_DEL_OWNER_BITS ((UINT32)0x00000001)
1718#define TPM_DEL_KEY_BITS ((UINT32)0x00000002)
1724 UINT32 delegateType;
1732#define TPM_DELEGATE_SetOrdinalAuditStatus (BIT30)
1733#define TPM_DELEGATE_DirWriteAuth (BIT29)
1734#define TPM_DELEGATE_CMK_ApproveMA (BIT28)
1735#define TPM_DELEGATE_NV_WriteValue (BIT27)
1736#define TPM_DELEGATE_CMK_CreateTicket (BIT26)
1737#define TPM_DELEGATE_NV_ReadValue (BIT25)
1738#define TPM_DELEGATE_Delegate_LoadOwnerDelegation (BIT24)
1739#define TPM_DELEGATE_DAA_Join (BIT23)
1740#define TPM_DELEGATE_AuthorizeMigrationKey (BIT22)
1741#define TPM_DELEGATE_CreateMaintenanceArchive (BIT21)
1742#define TPM_DELEGATE_LoadMaintenanceArchive (BIT20)
1743#define TPM_DELEGATE_KillMaintenanceFeature (BIT19)
1744#define TPM_DELEGATE_OwnerReadInteralPub (BIT18)
1745#define TPM_DELEGATE_ResetLockValue (BIT17)
1746#define TPM_DELEGATE_OwnerClear (BIT16)
1747#define TPM_DELEGATE_DisableOwnerClear (BIT15)
1748#define TPM_DELEGATE_NV_DefineSpace (BIT14)
1749#define TPM_DELEGATE_OwnerSetDisable (BIT13)
1750#define TPM_DELEGATE_SetCapability (BIT12)
1751#define TPM_DELEGATE_MakeIdentity (BIT11)
1752#define TPM_DELEGATE_ActivateIdentity (BIT10)
1753#define TPM_DELEGATE_OwnerReadPubek (BIT9)
1754#define TPM_DELEGATE_DisablePubekRead (BIT8)
1755#define TPM_DELEGATE_SetRedirection (BIT7)
1756#define TPM_DELEGATE_FieldUpgrade (BIT6)
1757#define TPM_DELEGATE_Delegate_UpdateVerification (BIT5)
1758#define TPM_DELEGATE_CreateCounter (BIT4)
1759#define TPM_DELEGATE_ReleaseCounterOwner (BIT3)
1760#define TPM_DELEGATE_DelegateManage (BIT2)
1761#define TPM_DELEGATE_Delegate_CreateOwnerDelegation (BIT1)
1762#define TPM_DELEGATE_DAA_Sign (BIT0)
1767#define TPM_KEY_DELEGATE_CMK_ConvertMigration (BIT28)
1768#define TPM_KEY_DELEGATE_TickStampBlob (BIT27)
1769#define TPM_KEY_DELEGATE_ChangeAuthAsymStart (BIT26)
1770#define TPM_KEY_DELEGATE_ChangeAuthAsymFinish (BIT25)
1771#define TPM_KEY_DELEGATE_CMK_CreateKey (BIT24)
1772#define TPM_KEY_DELEGATE_MigrateKey (BIT23)
1773#define TPM_KEY_DELEGATE_LoadKey2 (BIT22)
1774#define TPM_KEY_DELEGATE_EstablishTransport (BIT21)
1775#define TPM_KEY_DELEGATE_ReleaseTransportSigned (BIT20)
1776#define TPM_KEY_DELEGATE_Quote2 (BIT19)
1777#define TPM_KEY_DELEGATE_Sealx (BIT18)
1778#define TPM_KEY_DELEGATE_MakeIdentity (BIT17)
1779#define TPM_KEY_DELEGATE_ActivateIdentity (BIT16)
1780#define TPM_KEY_DELEGATE_GetAuditDigestSigned (BIT15)
1781#define TPM_KEY_DELEGATE_Sign (BIT14)
1782#define TPM_KEY_DELEGATE_CertifyKey2 (BIT13)
1783#define TPM_KEY_DELEGATE_CertifyKey (BIT12)
1784#define TPM_KEY_DELEGATE_CreateWrapKey (BIT11)
1785#define TPM_KEY_DELEGATE_CMK_CreateBlob (BIT10)
1786#define TPM_KEY_DELEGATE_CreateMigrationBlob (BIT9)
1787#define TPM_KEY_DELEGATE_ConvertMigrationBlob (BIT8)
1788#define TPM_KEY_DELEGATE_CreateKeyDelegation (BIT7)
1789#define TPM_KEY_DELEGATE_ChangeAuth (BIT6)
1790#define TPM_KEY_DELEGATE_GetPubKey (BIT5)
1791#define TPM_KEY_DELEGATE_UnBind (BIT4)
1792#define TPM_KEY_DELEGATE_Quote (BIT3)
1793#define TPM_KEY_DELEGATE_Unseal (BIT2)
1794#define TPM_KEY_DELEGATE_Seal (BIT1)
1795#define TPM_KEY_DELEGATE_LoadKey (BIT0)
1800#define TPM_DELEGATE_ADMIN_LOCK (BIT1)
1801#define TPM_FAMFLAG_ENABLE (BIT0)
1824#define TPM_NUM_FAMILY_TABLE_ENTRY_MIN 8
1861#define TPM_NUM_DELEGATE_TABLE_ENTRY_MIN 2
1882 UINT32 additionalSize;
1883 UINT8 *additionalArea;
1884 UINT32 sensitiveSize;
1885 UINT8 *sensitiveArea;
1896 UINT32 additionalSize;
1897 UINT8 *additionalArea;
1898 UINT32 sensitiveSize;
1899 UINT8 *sensitiveArea;
1905#define TPM_FAMILY_CREATE ((UINT32)0x00000001)
1906#define TPM_FAMILY_ENABLE ((UINT32)0x00000002)
1907#define TPM_FAMILY_ADMIN ((UINT32)0x00000003)
1908#define TPM_FAMILY_INVALIDATE ((UINT32)0x00000004)
1913#define TPM_CAP_ORD ((TPM_CAPABILITY_AREA) 0x00000001)
1914#define TPM_CAP_ALG ((TPM_CAPABILITY_AREA) 0x00000002)
1915#define TPM_CAP_PID ((TPM_CAPABILITY_AREA) 0x00000003)
1916#define TPM_CAP_FLAG ((TPM_CAPABILITY_AREA) 0x00000004)
1917#define TPM_CAP_PROPERTY ((TPM_CAPABILITY_AREA) 0x00000005)
1918#define TPM_CAP_VERSION ((TPM_CAPABILITY_AREA) 0x00000006)
1919#define TPM_CAP_KEY_HANDLE ((TPM_CAPABILITY_AREA) 0x00000007)
1920#define TPM_CAP_CHECK_LOADED ((TPM_CAPABILITY_AREA) 0x00000008)
1921#define TPM_CAP_SYM_MODE ((TPM_CAPABILITY_AREA) 0x00000009)
1922#define TPM_CAP_KEY_STATUS ((TPM_CAPABILITY_AREA) 0x0000000C)
1923#define TPM_CAP_NV_LIST ((TPM_CAPABILITY_AREA) 0x0000000D)
1924#define TPM_CAP_MFR ((TPM_CAPABILITY_AREA) 0x00000010)
1925#define TPM_CAP_NV_INDEX ((TPM_CAPABILITY_AREA) 0x00000011)
1926#define TPM_CAP_TRANS_ALG ((TPM_CAPABILITY_AREA) 0x00000012)
1927#define TPM_CAP_HANDLE ((TPM_CAPABILITY_AREA) 0x00000014)
1928#define TPM_CAP_TRANS_ES ((TPM_CAPABILITY_AREA) 0x00000015)
1929#define TPM_CAP_AUTH_ENCRYPT ((TPM_CAPABILITY_AREA) 0x00000017)
1930#define TPM_CAP_SELECT_SIZE ((TPM_CAPABILITY_AREA) 0x00000018)
1931#define TPM_CAP_VERSION_VAL ((TPM_CAPABILITY_AREA) 0x0000001A)
1933#define TPM_CAP_FLAG_PERMANENT ((TPM_CAPABILITY_AREA) 0x00000108)
1934#define TPM_CAP_FLAG_VOLATILE ((TPM_CAPABILITY_AREA) 0x00000109)
1939#define TPM_CAP_PROP_PCR ((TPM_CAPABILITY_AREA) 0x00000101)
1940#define TPM_CAP_PROP_DIR ((TPM_CAPABILITY_AREA) 0x00000102)
1941#define TPM_CAP_PROP_MANUFACTURER ((TPM_CAPABILITY_AREA) 0x00000103)
1942#define TPM_CAP_PROP_KEYS ((TPM_CAPABILITY_AREA) 0x00000104)
1943#define TPM_CAP_PROP_MIN_COUNTER ((TPM_CAPABILITY_AREA) 0x00000107)
1944#define TPM_CAP_PROP_AUTHSESS ((TPM_CAPABILITY_AREA) 0x0000010A)
1945#define TPM_CAP_PROP_TRANSESS ((TPM_CAPABILITY_AREA) 0x0000010B)
1946#define TPM_CAP_PROP_COUNTERS ((TPM_CAPABILITY_AREA) 0x0000010C)
1947#define TPM_CAP_PROP_MAX_AUTHSESS ((TPM_CAPABILITY_AREA) 0x0000010D)
1948#define TPM_CAP_PROP_MAX_TRANSESS ((TPM_CAPABILITY_AREA) 0x0000010E)
1949#define TPM_CAP_PROP_MAX_COUNTERS ((TPM_CAPABILITY_AREA) 0x0000010F)
1950#define TPM_CAP_PROP_MAX_KEYS ((TPM_CAPABILITY_AREA) 0x00000110)
1951#define TPM_CAP_PROP_OWNER ((TPM_CAPABILITY_AREA) 0x00000111)
1952#define TPM_CAP_PROP_CONTEXT ((TPM_CAPABILITY_AREA) 0x00000112)
1953#define TPM_CAP_PROP_MAX_CONTEXT ((TPM_CAPABILITY_AREA) 0x00000113)
1954#define TPM_CAP_PROP_FAMILYROWS ((TPM_CAPABILITY_AREA) 0x00000114)
1955#define TPM_CAP_PROP_TIS_TIMEOUT ((TPM_CAPABILITY_AREA) 0x00000115)
1956#define TPM_CAP_PROP_STARTUP_EFFECT ((TPM_CAPABILITY_AREA) 0x00000116)
1957#define TPM_CAP_PROP_DELEGATE_ROW ((TPM_CAPABILITY_AREA) 0x00000117)
1958#define TPM_CAP_PROP_DAA_MAX ((TPM_CAPABILITY_AREA) 0x00000119)
1959#define CAP_PROP_SESSION_DAA ((TPM_CAPABILITY_AREA) 0x0000011A)
1960#define TPM_CAP_PROP_CONTEXT_DIST ((TPM_CAPABILITY_AREA) 0x0000011B)
1961#define TPM_CAP_PROP_DAA_INTERRUPT ((TPM_CAPABILITY_AREA) 0x0000011C)
1962#define TPM_CAP_PROP_SESSIONS ((TPM_CAPABILITY_AREA) 0x0000011D)
1963#define TPM_CAP_PROP_MAX_SESSIONS ((TPM_CAPABILITY_AREA) 0x0000011E)
1964#define TPM_CAP_PROP_CMK_RESTRICTION ((TPM_CAPABILITY_AREA) 0x0000011F)
1965#define TPM_CAP_PROP_DURATION ((TPM_CAPABILITY_AREA) 0x00000120)
1966#define TPM_CAP_PROP_ACTIVE_COUNTER ((TPM_CAPABILITY_AREA) 0x00000122)
1967#define TPM_CAP_PROP_MAX_NV_AVAILABLE ((TPM_CAPABILITY_AREA) 0x00000123)
1968#define TPM_CAP_PROP_INPUT_BUFFER ((TPM_CAPABILITY_AREA) 0x00000124)
1973#define TPM_SET_PERM_FLAGS ((TPM_CAPABILITY_AREA) 0x00000001)
1974#define TPM_SET_PERM_DATA ((TPM_CAPABILITY_AREA) 0x00000002)
1975#define TPM_SET_STCLEAR_FLAGS ((TPM_CAPABILITY_AREA) 0x00000003)
1976#define TPM_SET_STCLEAR_DATA ((TPM_CAPABILITY_AREA) 0x00000004)
1977#define TPM_SET_STANY_FLAGS ((TPM_CAPABILITY_AREA) 0x00000005)
1978#define TPM_SET_STANY_DATA ((TPM_CAPABILITY_AREA) 0x00000006)
1989 UINT8 tpmVendorID[4];
1990 UINT16 vendorSpecificSize;
1991 UINT8 *vendorSpecific;
2002#define TPM_DA_ACTION_FAILURE_MODE (((UINT32)1)<<3)
2003#define TPM_DA_ACTION_DEACTIVATE (((UINT32)1)<<2)
2004#define TPM_DA_ACTION_DISABLE (((UINT32)1)<<1)
2005#define TPM_DA_ACTION_TIMEOUT (((UINT32)1)<<0)
2013 UINT16 currentCount;
2014 UINT16 thresholdCount;
2016 UINT32 actionDependValue;
2017 UINT32 vendorDataSize;
2028 UINT32 vendorDataSize;
2035#define TPM_DA_STATE_INACTIVE ((UINT8)0x00)
2036#define TPM_DA_STATE_ACTIVE ((UINT8)0x01)
2045#define TPM_DAA_SIZE_r0 (43)
2046#define TPM_DAA_SIZE_r1 (43)
2047#define TPM_DAA_SIZE_r2 (128)
2048#define TPM_DAA_SIZE_r3 (168)
2049#define TPM_DAA_SIZE_r4 (219)
2050#define TPM_DAA_SIZE_NT (20)
2051#define TPM_DAA_SIZE_v0 (128)
2052#define TPM_DAA_SIZE_v1 (192)
2053#define TPM_DAA_SIZE_NE (256)
2054#define TPM_DAA_SIZE_w (256)
2055#define TPM_DAA_SIZE_issuerModulus (256)
2059#define TPM_DAA_power0 (104)
2060#define TPM_DAA_power1 (1024)
2073 UINT8 DAA_generic_q[26];
2096 UINT8 DAA_scratch[256];
2104 UINT8 DAA_join_u0[128];
2105 UINT8 DAA_join_u1[138];
2117 UINT32 additionalSize;
2118 UINT8 *additionalData;
2119 UINT32 sensitiveSize;
2120 UINT8 *sensitiveData;
2128 UINT32 internalSize;
2129 UINT8 *internalData;
2143#define TPM_REDIR_GPIO (0x00000001)
struct tdTPM_EK_BLOB TPM_EK_BLOB
UINT32 TPM_MODIFIER_INDICATOR
struct tdTPM_KEY12 TPM_KEY12
struct tdTPM_PCR_COMPOSITE TPM_PCR_COMPOSITE
struct tdTPM_STCLEAR_FLAGS TPM_STCLEAR_FLAGS
struct tdTPM_DIGEST TPM_DIGEST
UINT16 TPM_MIGRATE_SCHEME
struct tdTPM_PCR_ATTRIBUTES TPM_PCR_ATTRIBUTES
struct tdTPM_QUOTE_INFO TPM_QUOTE_INFO
TPM_NONCE TPM_DAA_CONTEXT_SEED
struct tdTPM_MIGRATIONKEYAUTH TPM_MIGRATIONKEYAUTH
struct tdTPM_EK_BLOB_AUTH TPM_EK_BLOB_AUTH
TPM_DIGEST TPM_COMPOSITE_HASH
struct tdTPM_SYMMETRIC_KEY TPM_SYMMETRIC_KEY
struct tdTPM_STANY_FLAGS TPM_STANY_FLAGS
struct tdTPM_CMK_SIGTICKET TPM_CMK_SIGTICKET
struct tdTPM_NV_DATA_PUBLIC TPM_NV_DATA_PUBLIC
struct tdTPM_STCLEAR_DATA TPM_STCLEAR_DATA
struct tdTPM_STRUCT_VER TPM_STRUCT_VER
struct tdTPM_MIGRATE_ASYMKEY TPM_MIGRATE_ASYMKEY
struct tdTPM_IDENTITY_PROOF TPM_IDENTITY_PROOF
struct tdTPM_PCR_SELECTION TPM_PCR_SELECTION
struct tdTPM_DAA_SENSITIVE TPM_DAA_SENSITIVE
struct tdTPM_COUNTER_VALUE TPM_COUNTER_VALUE
TPM_DIGEST TPM_AUDITDIGEST
struct tdTPM_PCR_INFO TPM_PCR_INFO
struct tdTPM_FAMILY_TABLE_ENTRY TPM_FAMILY_TABLE_ENTRY
struct tdTPM_VERSION TPM_VERSION
struct tdTPM_NONCE TPM_NONCE
struct tdTPM_SELECT_SIZE TPM_SELECT_SIZE
struct tdTPM_DAA_ISSUER TPM_DAA_ISSUER
struct tdTPM_CMK_MIGAUTH TPM_CMK_MIGAUTH
struct tdTPM_RSP_COMMAND_HDR TPM_RSP_COMMAND_HDR
UINT32 TPM_CAPABILITY_AREA
struct tdTPM_TRANSPORT_LOG_OUT TPM_TRANSPORT_LOG_OUT
struct tdTPM_NV_ATTRIBUTES TPM_NV_ATTRIBUTES
struct tdTPM_DELEGATIONS TPM_DELEGATIONS
struct tdTPM_DELEGATE_OWNER_BLOB TPM_DELEGATE_OWNER_BLOB
struct tdTPM_TRANSPORT_LOG_IN TPM_TRANSPORT_LOG_IN
struct tdTPM_CERTIFY_INFO2 TPM_CERTIFY_INFO2
struct tdTPM_CMK_AUTH TPM_CMK_AUTH
struct tdTPM_STORE_PRIVKEY TPM_STORE_PRIVKEY
UINT8 TPM_LOCALITY_SELECTION
struct tdTPM_QUOTE_INFO2 TPM_QUOTE_INFO2
struct tdTPM_SEALED_DATA TPM_SEALED_DATA
struct tdTPM_IDENTITY_REQ TPM_IDENTITY_REQ
struct tdTPM_CMK_MA_APPROVAL TPM_CMK_MA_APPROVAL
struct tdTPM_CONTEXT_SENSITIVE TPM_CONTEXT_SENSITIVE
UINT8 TPM_AUTH_DATA_USAGE
struct tdTPM_AUDIT_EVENT_OUT TPM_AUDIT_EVENT_OUT
TPM_DIGEST TPM_CHOSENID_HASH
struct tdTPM_KEY_HANDLE_LIST TPM_KEY_HANDLE_LIST
struct tdTPM_CHANGEAUTH_VALIDATE TPM_CHANGEAUTH_VALIDATE
struct tdTPM_TRANSPORT_PUBLIC TPM_TRANSPORT_PUBLIC
struct tdTPM_DA_INFO_LIMITED TPM_DA_INFO_LIMITED
struct tdTPM_DELEGATE_PUBLIC TPM_DELEGATE_PUBLIC
struct tdTPM_PERMANENT_FLAGS TPM_PERMANENT_FLAGS
UINT16 TPM_PHYSICAL_PRESENCE
struct tdTPM_BOUND_DATA TPM_BOUND_DATA
struct tdTPM_AUDIT_EVENT_IN TPM_AUDIT_EVENT_IN
struct tdTPM_CONTEXT_BLOB TPM_CONTEXT_BLOB
struct tdTPM_SYM_CA_ATTESTATION TPM_SYM_CA_ATTESTATION
struct tdTPM_CERTIFY_INFO TPM_CERTIFY_INFO
UINT32 TPM_FAMILY_OPERATION
struct tdTPM_DELEGATE_SENSITIVE TPM_DELEGATE_SENSITIVE
struct tdTPM_IDENTITY_CONTENTS TPM_IDENTITY_CONTENTS
struct tdTPM_DELEGATE_TABLE_ROW TPM_DELEGATE_TABLE_ROW
struct tdTPM_STORED_DATA TPM_STORED_DATA
struct tdTPM_CAP_VERSION_INFO TPM_CAP_VERSION_INFO
struct tdTPM_ASYM_CA_CONTENTS TPM_ASYM_CA_CONTENTS
struct tdTPM_TRANSPORT_INTERNAL TPM_TRANSPORT_INTERNAL
enum tdTPM_KEY_FLAGS TPM_KEY_FLAGS_BITS
UINT32 TPM_TRANSPORT_ATTRIBUTES
struct tdTPM_MSA_COMPOSITE TPM_MSA_COMPOSITE
struct tdTPM_DAA_CONTEXT TPM_DAA_CONTEXT
struct tdTPM_STORE_ASYMKEY TPM_STORE_ASYMKEY
struct tdTPM_DELEGATE_LABEL TPM_DELEGATE_LABEL
struct tdTPM_FAMILY_LABEL TPM_FAMILY_LABEL
struct tdTPM_DAA_TPM TPM_DAA_TPM
struct tdTPM_PUBKEY TPM_PUBKEY
UINT32 TPM_STARTUP_EFFECTS
UINT16 TPM_PLATFORM_SPECIFIC
struct tdTPM_PCR_INFO_SHORT TPM_PCR_INFO_SHORT
TPM_NONCE TPM_DAA_TPM_SEED
struct tdTPM_DA_INFO TPM_DA_INFO
struct tdTPM_SIGN_INFO TPM_SIGN_INFO
struct tdTPM_DELEGATE_KEY_BLOB TPM_DELEGATE_KEY_BLOB
struct tdTPM_TRANSPORT_AUTH TPM_TRANSPORT_AUTH
struct tdTPM_DAA_JOINDATA TPM_DAA_JOINDATA
UINT32 TPM_DELEGATE_INDEX
struct tdTPM_EK_BLOB_ACTIVATE TPM_EK_BLOB_ACTIVATE
struct tdTPM_STORE_PUBKEY TPM_STORE_PUBKEY
struct tdTPM_CURRENT_TICKS TPM_CURRENT_TICKS
struct tdTPM_KEY_PARMS TPM_KEY_PARMS
struct tdTPM_PCR_INFO_LONG TPM_PCR_INFO_LONG
struct tdTPM_STORED_DATA12 TPM_STORED_DATA12
UINT32 TPM_FAMILY_VERIFICATION
struct tdTPM_RQU_COMMAND_HDR TPM_RQU_COMMAND_HDR
struct tdTPM_DA_ACTION_TYPE TPM_DA_ACTION_TYPE
struct tdTPM_DAA_BLOB TPM_DAA_BLOB