213#define TPM_Vendor_Specific32 ((UINT32) 0x00000400)
214#define TPM_Vendor_Specific8 ((UINT8) 0x80)
219#define TPM_TAG_CONTEXTBLOB ((TPM_STRUCTURE_TAG) 0x0001)
220#define TPM_TAG_CONTEXT_SENSITIVE ((TPM_STRUCTURE_TAG) 0x0002)
221#define TPM_TAG_CONTEXTPOINTER ((TPM_STRUCTURE_TAG) 0x0003)
222#define TPM_TAG_CONTEXTLIST ((TPM_STRUCTURE_TAG) 0x0004)
223#define TPM_TAG_SIGNINFO ((TPM_STRUCTURE_TAG) 0x0005)
224#define TPM_TAG_PCR_INFO_LONG ((TPM_STRUCTURE_TAG) 0x0006)
225#define TPM_TAG_PERSISTENT_FLAGS ((TPM_STRUCTURE_TAG) 0x0007)
226#define TPM_TAG_VOLATILE_FLAGS ((TPM_STRUCTURE_TAG) 0x0008)
227#define TPM_TAG_PERSISTENT_DATA ((TPM_STRUCTURE_TAG) 0x0009)
228#define TPM_TAG_VOLATILE_DATA ((TPM_STRUCTURE_TAG) 0x000A)
229#define TPM_TAG_SV_DATA ((TPM_STRUCTURE_TAG) 0x000B)
230#define TPM_TAG_EK_BLOB ((TPM_STRUCTURE_TAG) 0x000C)
231#define TPM_TAG_EK_BLOB_AUTH ((TPM_STRUCTURE_TAG) 0x000D)
232#define TPM_TAG_COUNTER_VALUE ((TPM_STRUCTURE_TAG) 0x000E)
233#define TPM_TAG_TRANSPORT_INTERNAL ((TPM_STRUCTURE_TAG) 0x000F)
234#define TPM_TAG_TRANSPORT_LOG_IN ((TPM_STRUCTURE_TAG) 0x0010)
235#define TPM_TAG_TRANSPORT_LOG_OUT ((TPM_STRUCTURE_TAG) 0x0011)
236#define TPM_TAG_AUDIT_EVENT_IN ((TPM_STRUCTURE_TAG) 0x0012)
237#define TPM_TAG_AUDIT_EVENT_OUT ((TPM_STRUCTURE_TAG) 0x0013)
238#define TPM_TAG_CURRENT_TICKS ((TPM_STRUCTURE_TAG) 0x0014)
239#define TPM_TAG_KEY ((TPM_STRUCTURE_TAG) 0x0015)
240#define TPM_TAG_STORED_DATA12 ((TPM_STRUCTURE_TAG) 0x0016)
241#define TPM_TAG_NV_ATTRIBUTES ((TPM_STRUCTURE_TAG) 0x0017)
242#define TPM_TAG_NV_DATA_PUBLIC ((TPM_STRUCTURE_TAG) 0x0018)
243#define TPM_TAG_NV_DATA_SENSITIVE ((TPM_STRUCTURE_TAG) 0x0019)
244#define TPM_TAG_DELEGATIONS ((TPM_STRUCTURE_TAG) 0x001A)
245#define TPM_TAG_DELEGATE_PUBLIC ((TPM_STRUCTURE_TAG) 0x001B)
246#define TPM_TAG_DELEGATE_TABLE_ROW ((TPM_STRUCTURE_TAG) 0x001C)
247#define TPM_TAG_TRANSPORT_AUTH ((TPM_STRUCTURE_TAG) 0x001D)
248#define TPM_TAG_TRANSPORT_PUBLIC ((TPM_STRUCTURE_TAG) 0x001E)
249#define TPM_TAG_PERMANENT_FLAGS ((TPM_STRUCTURE_TAG) 0x001F)
250#define TPM_TAG_STCLEAR_FLAGS ((TPM_STRUCTURE_TAG) 0x0020)
251#define TPM_TAG_STANY_FLAGS ((TPM_STRUCTURE_TAG) 0x0021)
252#define TPM_TAG_PERMANENT_DATA ((TPM_STRUCTURE_TAG) 0x0022)
253#define TPM_TAG_STCLEAR_DATA ((TPM_STRUCTURE_TAG) 0x0023)
254#define TPM_TAG_STANY_DATA ((TPM_STRUCTURE_TAG) 0x0024)
255#define TPM_TAG_FAMILY_TABLE_ENTRY ((TPM_STRUCTURE_TAG) 0x0025)
256#define TPM_TAG_DELEGATE_SENSITIVE ((TPM_STRUCTURE_TAG) 0x0026)
257#define TPM_TAG_DELG_KEY_BLOB ((TPM_STRUCTURE_TAG) 0x0027)
258#define TPM_TAG_KEY12 ((TPM_STRUCTURE_TAG) 0x0028)
259#define TPM_TAG_CERTIFY_INFO2 ((TPM_STRUCTURE_TAG) 0x0029)
260#define TPM_TAG_DELEGATE_OWNER_BLOB ((TPM_STRUCTURE_TAG) 0x002A)
261#define TPM_TAG_EK_BLOB_ACTIVATE ((TPM_STRUCTURE_TAG) 0x002B)
262#define TPM_TAG_DAA_BLOB ((TPM_STRUCTURE_TAG) 0x002C)
263#define TPM_TAG_DAA_CONTEXT ((TPM_STRUCTURE_TAG) 0x002D)
264#define TPM_TAG_DAA_ENFORCE ((TPM_STRUCTURE_TAG) 0x002E)
265#define TPM_TAG_DAA_ISSUER ((TPM_STRUCTURE_TAG) 0x002F)
266#define TPM_TAG_CAP_VERSION_INFO ((TPM_STRUCTURE_TAG) 0x0030)
267#define TPM_TAG_DAA_SENSITIVE ((TPM_STRUCTURE_TAG) 0x0031)
268#define TPM_TAG_DAA_TPM ((TPM_STRUCTURE_TAG) 0x0032)
269#define TPM_TAG_CMK_MIGAUTH ((TPM_STRUCTURE_TAG) 0x0033)
270#define TPM_TAG_CMK_SIGTICKET ((TPM_STRUCTURE_TAG) 0x0034)
271#define TPM_TAG_CMK_MA_APPROVAL ((TPM_STRUCTURE_TAG) 0x0035)
272#define TPM_TAG_QUOTE_INFO2 ((TPM_STRUCTURE_TAG) 0x0036)
273#define TPM_TAG_DA_INFO ((TPM_STRUCTURE_TAG) 0x0037)
274#define TPM_TAG_DA_LIMITED ((TPM_STRUCTURE_TAG) 0x0038)
275#define TPM_TAG_DA_ACTION_TYPE ((TPM_STRUCTURE_TAG) 0x0039)
284#define TPM_RT_KEY ((TPM_RESOURCE_TYPE) 0x00000001)
285#define TPM_RT_AUTH ((TPM_RESOURCE_TYPE) 0x00000002)
286#define TPM_RT_HASH ((TPM_RESOURCE_TYPE) 0x00000003)
287#define TPM_RT_TRANS ((TPM_RESOURCE_TYPE) 0x00000004)
288#define TPM_RT_CONTEXT ((TPM_RESOURCE_TYPE) 0x00000005)
289#define TPM_RT_COUNTER ((TPM_RESOURCE_TYPE) 0x00000006)
290#define TPM_RT_DELEGATE ((TPM_RESOURCE_TYPE) 0x00000007)
291#define TPM_RT_DAA_TPM ((TPM_RESOURCE_TYPE) 0x00000008)
292#define TPM_RT_DAA_V0 ((TPM_RESOURCE_TYPE) 0x00000009)
293#define TPM_RT_DAA_V1 ((TPM_RESOURCE_TYPE) 0x0000000A)
298#define TPM_PT_ASYM ((TPM_PAYLOAD_TYPE) 0x01)
299#define TPM_PT_BIND ((TPM_PAYLOAD_TYPE) 0x02)
300#define TPM_PT_MIGRATE ((TPM_PAYLOAD_TYPE) 0x03)
301#define TPM_PT_MAINT ((TPM_PAYLOAD_TYPE) 0x04)
302#define TPM_PT_SEAL ((TPM_PAYLOAD_TYPE) 0x05)
303#define TPM_PT_MIGRATE_RESTRICTED ((TPM_PAYLOAD_TYPE) 0x06)
304#define TPM_PT_MIGRATE_EXTERNAL ((TPM_PAYLOAD_TYPE) 0x07)
305#define TPM_PT_CMK_MIGRATE ((TPM_PAYLOAD_TYPE) 0x08)
306#define TPM_PT_VENDOR_SPECIFIC ((TPM_PAYLOAD_TYPE) 0x80)
311#define TPM_ET_KEYHANDLE ((UINT16) 0x0001)
312#define TPM_ET_OWNER ((UINT16) 0x0002)
313#define TPM_ET_DATA ((UINT16) 0x0003)
314#define TPM_ET_SRK ((UINT16) 0x0004)
315#define TPM_ET_KEY ((UINT16) 0x0005)
316#define TPM_ET_REVOKE ((UINT16) 0x0006)
317#define TPM_ET_DEL_OWNER_BLOB ((UINT16) 0x0007)
318#define TPM_ET_DEL_ROW ((UINT16) 0x0008)
319#define TPM_ET_DEL_KEY_BLOB ((UINT16) 0x0009)
320#define TPM_ET_COUNTER ((UINT16) 0x000A)
321#define TPM_ET_NV ((UINT16) 0x000B)
322#define TPM_ET_OPERATOR ((UINT16) 0x000C)
323#define TPM_ET_RESERVED_HANDLE ((UINT16) 0x0040)
327#define TPM_ET_XOR ((UINT16) 0x0000)
328#define TPM_ET_AES128 ((UINT16) 0x0006)
333#define TPM_KH_SRK ((TPM_KEY_HANDLE) 0x40000000)
334#define TPM_KH_OWNER ((TPM_KEY_HANDLE) 0x40000001)
335#define TPM_KH_REVOKE ((TPM_KEY_HANDLE) 0x40000002)
336#define TPM_KH_TRANSPORT ((TPM_KEY_HANDLE) 0x40000003)
337#define TPM_KH_OPERATOR ((TPM_KEY_HANDLE) 0x40000004)
338#define TPM_KH_ADMIN ((TPM_KEY_HANDLE) 0x40000005)
339#define TPM_KH_EK ((TPM_KEY_HANDLE) 0x40000006)
344#define TPM_ST_CLEAR ((TPM_STARTUP_TYPE) 0x0001)
345#define TPM_ST_STATE ((TPM_STARTUP_TYPE) 0x0002)
346#define TPM_ST_DEACTIVATED ((TPM_STARTUP_TYPE) 0x0003)
356#define TPM_PID_OIAP ((TPM_PROTOCOL_ID) 0x0001)
357#define TPM_PID_OSAP ((TPM_PROTOCOL_ID) 0x0002)
358#define TPM_PID_ADIP ((TPM_PROTOCOL_ID) 0x0003)
359#define TPM_PID_ADCP ((TPM_PROTOCOL_ID) 0x0004)
360#define TPM_PID_OWNER ((TPM_PROTOCOL_ID) 0x0005)
361#define TPM_PID_DSAP ((TPM_PROTOCOL_ID) 0x0006)
362#define TPM_PID_TRANSPORT ((TPM_PROTOCOL_ID) 0x0007)
369#define TPM_ALG_RSA ((TPM_ALGORITHM_ID) 0x00000001)
370#define TPM_ALG_DES ((TPM_ALGORITHM_ID) 0x00000002)
371#define TPM_ALG_3DES ((TPM_ALGORITHM_ID) 0x00000003)
372#define TPM_ALG_SHA ((TPM_ALGORITHM_ID) 0x00000004)
373#define TPM_ALG_HMAC ((TPM_ALGORITHM_ID) 0x00000005)
374#define TPM_ALG_AES128 ((TPM_ALGORITHM_ID) 0x00000006)
375#define TPM_ALG_MGF1 ((TPM_ALGORITHM_ID) 0x00000007)
376#define TPM_ALG_AES192 ((TPM_ALGORITHM_ID) 0x00000008)
377#define TPM_ALG_AES256 ((TPM_ALGORITHM_ID) 0x00000009)
378#define TPM_ALG_XOR ((TPM_ALGORITHM_ID) 0x0000000A)
383#define TPM_PHYSICAL_PRESENCE_HW_DISABLE ((TPM_PHYSICAL_PRESENCE) 0x0200)
384#define TPM_PHYSICAL_PRESENCE_CMD_DISABLE ((TPM_PHYSICAL_PRESENCE) 0x0100)
385#define TPM_PHYSICAL_PRESENCE_LIFETIME_LOCK ((TPM_PHYSICAL_PRESENCE) 0x0080)
386#define TPM_PHYSICAL_PRESENCE_HW_ENABLE ((TPM_PHYSICAL_PRESENCE) 0x0040)
387#define TPM_PHYSICAL_PRESENCE_CMD_ENABLE ((TPM_PHYSICAL_PRESENCE) 0x0020)
388#define TPM_PHYSICAL_PRESENCE_NOTPRESENT ((TPM_PHYSICAL_PRESENCE) 0x0010)
389#define TPM_PHYSICAL_PRESENCE_PRESENT ((TPM_PHYSICAL_PRESENCE) 0x0008)
390#define TPM_PHYSICAL_PRESENCE_LOCK ((TPM_PHYSICAL_PRESENCE) 0x0004)
395#define TPM_MS_MIGRATE ((TPM_MIGRATE_SCHEME) 0x0001)
396#define TPM_MS_REWRAP ((TPM_MIGRATE_SCHEME) 0x0002)
397#define TPM_MS_MAINT ((TPM_MIGRATE_SCHEME) 0x0003)
398#define TPM_MS_RESTRICT_MIGRATE ((TPM_MIGRATE_SCHEME) 0x0004)
399#define TPM_MS_RESTRICT_APPROVE_DOUBLE ((TPM_MIGRATE_SCHEME) 0x0005)
404#define TPM_EK_TYPE_ACTIVATE ((TPM_EK_TYPE) 0x0001)
405#define TPM_EK_TYPE_AUTH ((TPM_EK_TYPE) 0x0002)
410#define TPM_PS_PC_11 ((TPM_PLATFORM_SPECIFIC) 0x0001)
411#define TPM_PS_PC_12 ((TPM_PLATFORM_SPECIFIC) 0x0002)
412#define TPM_PS_PDA_12 ((TPM_PLATFORM_SPECIFIC) 0x0003)
413#define TPM_PS_Server_12 ((TPM_PLATFORM_SPECIFIC) 0x0004)
414#define TPM_PS_Mobile_12 ((TPM_PLATFORM_SPECIFIC) 0x0005)
441#define TPM_SHA1_160_HASH_LEN 0x14
442#define TPM_SHA1BASED_NONCE_LEN TPM_SHA1_160_HASH_LEN
527#define TPM_KEY_SIGNING ((UINT16) 0x0010)
532#define TPM_KEY_STORAGE ((UINT16) 0x0011)
537#define TPM_KEY_IDENTITY ((UINT16) 0x0012)
542#define TPM_KEY_AUTHCHANGE ((UINT16) 0x0013)
547#define TPM_KEY_BIND ((UINT16) 0x0014)
556#define TPM_KEY_LEGACY ((UINT16) 0x0015)
560#define TPM_KEY_MIGRATE ((UINT16) 0x0016)
566#define TPM_ES_NONE ((TPM_ENC_SCHEME) 0x0001)
567#define TPM_ES_RSAESPKCSv15 ((TPM_ENC_SCHEME) 0x0002)
568#define TPM_ES_RSAESOAEP_SHA1_MGF1 ((TPM_ENC_SCHEME) 0x0003)
569#define TPM_ES_SYM_CNT ((TPM_ENC_SCHEME) 0x0004)
570#define TPM_ES_SYM_CTR ((TPM_ENC_SCHEME) 0x0004)
571#define TPM_ES_SYM_OFB ((TPM_ENC_SCHEME) 0x0005)
573#define TPM_SS_NONE ((TPM_SIG_SCHEME) 0x0001)
574#define TPM_SS_RSASSAPKCS1v15_SHA1 ((TPM_SIG_SCHEME) 0x0002)
575#define TPM_SS_RSASSAPKCS1v15_DER ((TPM_SIG_SCHEME) 0x0003)
576#define TPM_SS_RSASSAPKCS1v15_INFO ((TPM_SIG_SCHEME) 0x0004)
581#define TPM_AUTH_NEVER ((TPM_AUTH_DATA_USAGE) 0x00)
582#define TPM_AUTH_ALWAYS ((TPM_AUTH_DATA_USAGE) 0x01)
583#define TPM_AUTH_PRIV_USE_ONLY ((TPM_AUTH_DATA_USAGE) 0x03)
686#define TPM_CMK_DELEGATE_SIGNING ((TPM_CMK_DELEGATE) BIT31)
687#define TPM_CMK_DELEGATE_STORAGE ((TPM_CMK_DELEGATE) BIT30)
688#define TPM_CMK_DELEGATE_BIND ((TPM_CMK_DELEGATE) BIT29)
689#define TPM_CMK_DELEGATE_LEGACY ((TPM_CMK_DELEGATE) BIT28)
690#define TPM_CMK_DELEGATE_MIGRATE ((TPM_CMK_DELEGATE) BIT27)
730#define TPM_TAG_RQU_COMMAND ((TPM_STRUCTURE_TAG) 0x00C1)
731#define TPM_TAG_RQU_AUTH1_COMMAND ((TPM_STRUCTURE_TAG) 0x00C2)
732#define TPM_TAG_RQU_AUTH2_COMMAND ((TPM_STRUCTURE_TAG) 0x00C3)
733#define TPM_TAG_RSP_COMMAND ((TPM_STRUCTURE_TAG) 0x00C4)
734#define TPM_TAG_RSP_AUTH1_COMMAND ((TPM_STRUCTURE_TAG) 0x00C5)
735#define TPM_TAG_RSP_AUTH2_COMMAND ((TPM_STRUCTURE_TAG) 0x00C6)
767#define TPM_PF_DISABLE ((TPM_CAPABILITY_AREA) 1)
768#define TPM_PF_OWNERSHIP ((TPM_CAPABILITY_AREA) 2)
769#define TPM_PF_DEACTIVATED ((TPM_CAPABILITY_AREA) 3)
770#define TPM_PF_READPUBEK ((TPM_CAPABILITY_AREA) 4)
771#define TPM_PF_DISABLEOWNERCLEAR ((TPM_CAPABILITY_AREA) 5)
772#define TPM_PF_ALLOWMAINTENANCE ((TPM_CAPABILITY_AREA) 6)
773#define TPM_PF_PHYSICALPRESENCELIFETIMELOCK ((TPM_CAPABILITY_AREA) 7)
774#define TPM_PF_PHYSICALPRESENCEHWENABLE ((TPM_CAPABILITY_AREA) 8)
775#define TPM_PF_PHYSICALPRESENCECMDENABLE ((TPM_CAPABILITY_AREA) 9)
776#define TPM_PF_CEKPUSED ((TPM_CAPABILITY_AREA) 10)
777#define TPM_PF_TPMPOST ((TPM_CAPABILITY_AREA) 11)
778#define TPM_PF_TPMPOSTLOCK ((TPM_CAPABILITY_AREA) 12)
779#define TPM_PF_FIPS ((TPM_CAPABILITY_AREA) 13)
780#define TPM_PF_OPERATOR ((TPM_CAPABILITY_AREA) 14)
781#define TPM_PF_ENABLEREVOKEEK ((TPM_CAPABILITY_AREA) 15)
782#define TPM_PF_NV_LOCKED ((TPM_CAPABILITY_AREA) 16)
783#define TPM_PF_READSRKPUB ((TPM_CAPABILITY_AREA) 17)
784#define TPM_PF_TPMESTABLISHED ((TPM_CAPABILITY_AREA) 18)
785#define TPM_PF_MAINTENANCEDONE ((TPM_CAPABILITY_AREA) 19)
786#define TPM_PF_DISABLEFULLDALOGICINFO ((TPM_CAPABILITY_AREA) 20)
803#define TPM_SF_DEACTIVATED ((TPM_CAPABILITY_AREA) 1)
804#define TPM_SF_DISABLEFORCECLEAR ((TPM_CAPABILITY_AREA) 2)
805#define TPM_SF_PHYSICALPRESENCE ((TPM_CAPABILITY_AREA) 3)
806#define TPM_SF_PHYSICALPRESENCELOCK ((TPM_CAPABILITY_AREA) 4)
807#define TPM_SF_BGLOBALLOCK ((TPM_CAPABILITY_AREA) 5)
823#define TPM_AF_POSTINITIALISE ((TPM_CAPABILITY_AREA) 1)
824#define TPM_AF_LOCALITYMODIFIER ((TPM_CAPABILITY_AREA) 2)
825#define TPM_AF_TRANSPORTEXCLUSIVE ((TPM_CAPABILITY_AREA) 3)
826#define TPM_AF_TOSPRESENT ((TPM_CAPABILITY_AREA) 4)
834#define TPM_MIN_COUNTERS 4
835#define TPM_DELEGATE_KEY TPM_KEY
836#define TPM_NUM_PCR 16
837#define TPM_MAX_NV_WRITE_NOOWNER 64
842#define TPM_PD_REVMAJOR ((TPM_CAPABILITY_AREA) 1)
843#define TPM_PD_REVMINOR ((TPM_CAPABILITY_AREA) 2)
844#define TPM_PD_TPMPROOF ((TPM_CAPABILITY_AREA) 3)
845#define TPM_PD_OWNERAUTH ((TPM_CAPABILITY_AREA) 4)
846#define TPM_PD_OPERATORAUTH ((TPM_CAPABILITY_AREA) 5)
847#define TPM_PD_MANUMAINTPUB ((TPM_CAPABILITY_AREA) 6)
848#define TPM_PD_ENDORSEMENTKEY ((TPM_CAPABILITY_AREA) 7)
849#define TPM_PD_SRK ((TPM_CAPABILITY_AREA) 8)
850#define TPM_PD_DELEGATEKEY ((TPM_CAPABILITY_AREA) 9)
851#define TPM_PD_CONTEXTKEY ((TPM_CAPABILITY_AREA) 10)
852#define TPM_PD_AUDITMONOTONICCOUNTER ((TPM_CAPABILITY_AREA) 11)
853#define TPM_PD_MONOTONICCOUNTER ((TPM_CAPABILITY_AREA) 12)
854#define TPM_PD_PCRATTRIB ((TPM_CAPABILITY_AREA) 13)
855#define TPM_PD_ORDINALAUDITSTATUS ((TPM_CAPABILITY_AREA) 14)
856#define TPM_PD_AUTHDIR ((TPM_CAPABILITY_AREA) 15)
857#define TPM_PD_RNGSTATE ((TPM_CAPABILITY_AREA) 16)
858#define TPM_PD_FAMILYTABLE ((TPM_CAPABILITY_AREA) 17)
859#define TPM_DELEGATETABLE ((TPM_CAPABILITY_AREA) 18)
860#define TPM_PD_EKRESET ((TPM_CAPABILITY_AREA) 19)
861#define TPM_PD_MAXNVBUFSIZE ((TPM_CAPABILITY_AREA) 20)
862#define TPM_PD_LASTFAMILYID ((TPM_CAPABILITY_AREA) 21)
863#define TPM_PD_NOOWNERNVWRITE ((TPM_CAPABILITY_AREA) 22)
864#define TPM_PD_RESTRICTDELEGATE ((TPM_CAPABILITY_AREA) 23)
865#define TPM_PD_TPMDAASEED ((TPM_CAPABILITY_AREA) 24)
866#define TPM_PD_DAAPROOF ((TPM_CAPABILITY_AREA) 25)
885#define TPM_SD_CONTEXTNONCEKEY ((TPM_CAPABILITY_AREA)0x00000001)
886#define TPM_SD_COUNTID ((TPM_CAPABILITY_AREA)0x00000002)
887#define TPM_SD_OWNERREFERENCE ((TPM_CAPABILITY_AREA)0x00000003)
888#define TPM_SD_DISABLERESETLOCK ((TPM_CAPABILITY_AREA)0x00000004)
889#define TPM_SD_PCR ((TPM_CAPABILITY_AREA)0x00000005)
890#define TPM_SD_DEFERREDPHYSICALPRESENCE ((TPM_CAPABILITY_AREA)0x00000006)
895#define TPM_AD_CONTEXTNONCESESSION ((TPM_CAPABILITY_AREA) 1)
896#define TPM_AD_AUDITDIGEST ((TPM_CAPABILITY_AREA) 2)
897#define TPM_AD_CURRENTTICKS ((TPM_CAPABILITY_AREA) 3)
898#define TPM_AD_CONTEXTCOUNT ((TPM_CAPABILITY_AREA) 4)
899#define TPM_AD_CONTEXTLIST ((TPM_CAPABILITY_AREA) 5)
900#define TPM_AD_SESSIONS ((TPM_CAPABILITY_AREA) 6)
939#define TPM_LOC_FOUR ((UINT8) 0x10)
940#define TPM_LOC_THREE ((UINT8) 0x08)
941#define TPM_LOC_TWO ((UINT8) 0x04)
942#define TPM_LOC_ONE ((UINT8) 0x02)
943#define TPM_LOC_ZERO ((UINT8) 0x01)
1118#define TPM_KEY_CONTROL_OWNER_EVICT ((UINT32) 0x00000001)
1298#define TPM_TRANSPORT_ENCRYPT ((UINT32)BIT0)
1299#define TPM_TRANSPORT_LOG ((UINT32)BIT1)
1300#define TPM_TRANSPORT_EXCLUSIVE ((UINT32)BIT2)
1369#define TPM_VENDOR_ERROR TPM_Vendor_Specific32
1370#define TPM_NON_FATAL 0x00000800
1372#define TPM_SUCCESS ((TPM_RESULT) TPM_BASE)
1373#define TPM_AUTHFAIL ((TPM_RESULT) (TPM_BASE + 1))
1374#define TPM_BADINDEX ((TPM_RESULT) (TPM_BASE + 2))
1375#define TPM_BAD_PARAMETER ((TPM_RESULT) (TPM_BASE + 3))
1376#define TPM_AUDITFAILURE ((TPM_RESULT) (TPM_BASE + 4))
1377#define TPM_CLEAR_DISABLED ((TPM_RESULT) (TPM_BASE + 5))
1378#define TPM_DEACTIVATED ((TPM_RESULT) (TPM_BASE + 6))
1379#define TPM_DISABLED ((TPM_RESULT) (TPM_BASE + 7))
1380#define TPM_DISABLED_CMD ((TPM_RESULT) (TPM_BASE + 8))
1381#define TPM_FAIL ((TPM_RESULT) (TPM_BASE + 9))
1382#define TPM_BAD_ORDINAL ((TPM_RESULT) (TPM_BASE + 10))
1383#define TPM_INSTALL_DISABLED ((TPM_RESULT) (TPM_BASE + 11))
1384#define TPM_INVALID_KEYHANDLE ((TPM_RESULT) (TPM_BASE + 12))
1385#define TPM_KEYNOTFOUND ((TPM_RESULT) (TPM_BASE + 13))
1386#define TPM_INAPPROPRIATE_ENC ((TPM_RESULT) (TPM_BASE + 14))
1387#define TPM_MIGRATEFAIL ((TPM_RESULT) (TPM_BASE + 15))
1388#define TPM_INVALID_PCR_INFO ((TPM_RESULT) (TPM_BASE + 16))
1389#define TPM_NOSPACE ((TPM_RESULT) (TPM_BASE + 17))
1390#define TPM_NOSRK ((TPM_RESULT) (TPM_BASE + 18))
1391#define TPM_NOTSEALED_BLOB ((TPM_RESULT) (TPM_BASE + 19))
1392#define TPM_OWNER_SET ((TPM_RESULT) (TPM_BASE + 20))
1393#define TPM_RESOURCES ((TPM_RESULT) (TPM_BASE + 21))
1394#define TPM_SHORTRANDOM ((TPM_RESULT) (TPM_BASE + 22))
1395#define TPM_SIZE ((TPM_RESULT) (TPM_BASE + 23))
1396#define TPM_WRONGPCRVAL ((TPM_RESULT) (TPM_BASE + 24))
1397#define TPM_BAD_PARAM_SIZE ((TPM_RESULT) (TPM_BASE + 25))
1398#define TPM_SHA_THREAD ((TPM_RESULT) (TPM_BASE + 26))
1399#define TPM_SHA_ERROR ((TPM_RESULT) (TPM_BASE + 27))
1400#define TPM_FAILEDSELFTEST ((TPM_RESULT) (TPM_BASE + 28))
1401#define TPM_AUTH2FAIL ((TPM_RESULT) (TPM_BASE + 29))
1402#define TPM_BADTAG ((TPM_RESULT) (TPM_BASE + 30))
1403#define TPM_IOERROR ((TPM_RESULT) (TPM_BASE + 31))
1404#define TPM_ENCRYPT_ERROR ((TPM_RESULT) (TPM_BASE + 32))
1405#define TPM_DECRYPT_ERROR ((TPM_RESULT) (TPM_BASE + 33))
1406#define TPM_INVALID_AUTHHANDLE ((TPM_RESULT) (TPM_BASE + 34))
1407#define TPM_NO_ENDORSEMENT ((TPM_RESULT) (TPM_BASE + 35))
1408#define TPM_INVALID_KEYUSAGE ((TPM_RESULT) (TPM_BASE + 36))
1409#define TPM_WRONG_ENTITYTYPE ((TPM_RESULT) (TPM_BASE + 37))
1410#define TPM_INVALID_POSTINIT ((TPM_RESULT) (TPM_BASE + 38))
1411#define TPM_INAPPROPRIATE_SIG ((TPM_RESULT) (TPM_BASE + 39))
1412#define TPM_BAD_KEY_PROPERTY ((TPM_RESULT) (TPM_BASE + 40))
1413#define TPM_BAD_MIGRATION ((TPM_RESULT) (TPM_BASE + 41))
1414#define TPM_BAD_SCHEME ((TPM_RESULT) (TPM_BASE + 42))
1415#define TPM_BAD_DATASIZE ((TPM_RESULT) (TPM_BASE + 43))
1416#define TPM_BAD_MODE ((TPM_RESULT) (TPM_BASE + 44))
1417#define TPM_BAD_PRESENCE ((TPM_RESULT) (TPM_BASE + 45))
1418#define TPM_BAD_VERSION ((TPM_RESULT) (TPM_BASE + 46))
1419#define TPM_NO_WRAP_TRANSPORT ((TPM_RESULT) (TPM_BASE + 47))
1420#define TPM_AUDITFAIL_UNSUCCESSFUL ((TPM_RESULT) (TPM_BASE + 48))
1421#define TPM_AUDITFAIL_SUCCESSFUL ((TPM_RESULT) (TPM_BASE + 49))
1422#define TPM_NOTRESETABLE ((TPM_RESULT) (TPM_BASE + 50))
1423#define TPM_NOTLOCAL ((TPM_RESULT) (TPM_BASE + 51))
1424#define TPM_BAD_TYPE ((TPM_RESULT) (TPM_BASE + 52))
1425#define TPM_INVALID_RESOURCE ((TPM_RESULT) (TPM_BASE + 53))
1426#define TPM_NOTFIPS ((TPM_RESULT) (TPM_BASE + 54))
1427#define TPM_INVALID_FAMILY ((TPM_RESULT) (TPM_BASE + 55))
1428#define TPM_NO_NV_PERMISSION ((TPM_RESULT) (TPM_BASE + 56))
1429#define TPM_REQUIRES_SIGN ((TPM_RESULT) (TPM_BASE + 57))
1430#define TPM_KEY_NOTSUPPORTED ((TPM_RESULT) (TPM_BASE + 58))
1431#define TPM_AUTH_CONFLICT ((TPM_RESULT) (TPM_BASE + 59))
1432#define TPM_AREA_LOCKED ((TPM_RESULT) (TPM_BASE + 60))
1433#define TPM_BAD_LOCALITY ((TPM_RESULT) (TPM_BASE + 61))
1434#define TPM_READ_ONLY ((TPM_RESULT) (TPM_BASE + 62))
1435#define TPM_PER_NOWRITE ((TPM_RESULT) (TPM_BASE + 63))
1436#define TPM_FAMILYCOUNT ((TPM_RESULT) (TPM_BASE + 64))
1437#define TPM_WRITE_LOCKED ((TPM_RESULT) (TPM_BASE + 65))
1438#define TPM_BAD_ATTRIBUTES ((TPM_RESULT) (TPM_BASE + 66))
1439#define TPM_INVALID_STRUCTURE ((TPM_RESULT) (TPM_BASE + 67))
1440#define TPM_KEY_OWNER_CONTROL ((TPM_RESULT) (TPM_BASE + 68))
1441#define TPM_BAD_COUNTER ((TPM_RESULT) (TPM_BASE + 69))
1442#define TPM_NOT_FULLWRITE ((TPM_RESULT) (TPM_BASE + 70))
1443#define TPM_CONTEXT_GAP ((TPM_RESULT) (TPM_BASE + 71))
1444#define TPM_MAXNVWRITES ((TPM_RESULT) (TPM_BASE + 72))
1445#define TPM_NOOPERATOR ((TPM_RESULT) (TPM_BASE + 73))
1446#define TPM_RESOURCEMISSING ((TPM_RESULT) (TPM_BASE + 74))
1447#define TPM_DELEGATE_LOCK ((TPM_RESULT) (TPM_BASE + 75))
1448#define TPM_DELEGATE_FAMILY ((TPM_RESULT) (TPM_BASE + 76))
1449#define TPM_DELEGATE_ADMIN ((TPM_RESULT) (TPM_BASE + 77))
1450#define TPM_TRANSPORT_NOTEXCLUSIVE ((TPM_RESULT) (TPM_BASE + 78))
1451#define TPM_OWNER_CONTROL ((TPM_RESULT) (TPM_BASE + 79))
1452#define TPM_DAA_RESOURCES ((TPM_RESULT) (TPM_BASE + 80))
1453#define TPM_DAA_INPUT_DATA0 ((TPM_RESULT) (TPM_BASE + 81))
1454#define TPM_DAA_INPUT_DATA1 ((TPM_RESULT) (TPM_BASE + 82))
1455#define TPM_DAA_ISSUER_SETTINGS ((TPM_RESULT) (TPM_BASE + 83))
1456#define TPM_DAA_TPM_SETTINGS ((TPM_RESULT) (TPM_BASE + 84))
1457#define TPM_DAA_STAGE ((TPM_RESULT) (TPM_BASE + 85))
1458#define TPM_DAA_ISSUER_VALIDITY ((TPM_RESULT) (TPM_BASE + 86))
1459#define TPM_DAA_WRONG_W ((TPM_RESULT) (TPM_BASE + 87))
1460#define TPM_BAD_HANDLE ((TPM_RESULT) (TPM_BASE + 88))
1461#define TPM_BAD_DELEGATE ((TPM_RESULT) (TPM_BASE + 89))
1462#define TPM_BADCONTEXT ((TPM_RESULT) (TPM_BASE + 90))
1463#define TPM_TOOMANYCONTEXTS ((TPM_RESULT) (TPM_BASE + 91))
1464#define TPM_MA_TICKET_SIGNATURE ((TPM_RESULT) (TPM_BASE + 92))
1465#define TPM_MA_DESTINATION ((TPM_RESULT) (TPM_BASE + 93))
1466#define TPM_MA_SOURCE ((TPM_RESULT) (TPM_BASE + 94))
1467#define TPM_MA_AUTHORITY ((TPM_RESULT) (TPM_BASE + 95))
1468#define TPM_PERMANENTEK ((TPM_RESULT) (TPM_BASE + 97))
1469#define TPM_BAD_SIGNATURE ((TPM_RESULT) (TPM_BASE + 98))
1470#define TPM_NOCONTEXTSPACE ((TPM_RESULT) (TPM_BASE + 99))
1472#define TPM_RETRY ((TPM_RESULT) (TPM_BASE + TPM_NON_FATAL))
1473#define TPM_NEEDS_SELFTEST ((TPM_RESULT) (TPM_BASE + TPM_NON_FATAL + 1))
1474#define TPM_DOING_SELFTEST ((TPM_RESULT) (TPM_BASE + TPM_NON_FATAL + 2))
1475#define TPM_DEFEND_LOCK_RUNNING ((TPM_RESULT) (TPM_BASE + TPM_NON_FATAL + 3))
1505#define TPM_ORD_ActivateIdentity ((TPM_COMMAND_CODE) 0x0000007A)
1506#define TPM_ORD_AuthorizeMigrationKey ((TPM_COMMAND_CODE) 0x0000002B)
1507#define TPM_ORD_CertifyKey ((TPM_COMMAND_CODE) 0x00000032)
1508#define TPM_ORD_CertifyKey2 ((TPM_COMMAND_CODE) 0x00000033)
1509#define TPM_ORD_CertifySelfTest ((TPM_COMMAND_CODE) 0x00000052)
1510#define TPM_ORD_ChangeAuth ((TPM_COMMAND_CODE) 0x0000000C)
1511#define TPM_ORD_ChangeAuthAsymFinish ((TPM_COMMAND_CODE) 0x0000000F)
1512#define TPM_ORD_ChangeAuthAsymStart ((TPM_COMMAND_CODE) 0x0000000E)
1513#define TPM_ORD_ChangeAuthOwner ((TPM_COMMAND_CODE) 0x00000010)
1514#define TPM_ORD_CMK_ApproveMA ((TPM_COMMAND_CODE) 0x0000001D)
1515#define TPM_ORD_CMK_ConvertMigration ((TPM_COMMAND_CODE) 0x00000024)
1516#define TPM_ORD_CMK_CreateBlob ((TPM_COMMAND_CODE) 0x0000001B)
1517#define TPM_ORD_CMK_CreateKey ((TPM_COMMAND_CODE) 0x00000013)
1518#define TPM_ORD_CMK_CreateTicket ((TPM_COMMAND_CODE) 0x00000012)
1519#define TPM_ORD_CMK_SetRestrictions ((TPM_COMMAND_CODE) 0x0000001C)
1520#define TPM_ORD_ContinueSelfTest ((TPM_COMMAND_CODE) 0x00000053)
1521#define TPM_ORD_ConvertMigrationBlob ((TPM_COMMAND_CODE) 0x0000002A)
1522#define TPM_ORD_CreateCounter ((TPM_COMMAND_CODE) 0x000000DC)
1523#define TPM_ORD_CreateEndorsementKeyPair ((TPM_COMMAND_CODE) 0x00000078)
1524#define TPM_ORD_CreateMaintenanceArchive ((TPM_COMMAND_CODE) 0x0000002C)
1525#define TPM_ORD_CreateMigrationBlob ((TPM_COMMAND_CODE) 0x00000028)
1526#define TPM_ORD_CreateRevocableEK ((TPM_COMMAND_CODE) 0x0000007F)
1527#define TPM_ORD_CreateWrapKey ((TPM_COMMAND_CODE) 0x0000001F)
1528#define TPM_ORD_DAA_JOIN ((TPM_COMMAND_CODE) 0x00000029)
1529#define TPM_ORD_DAA_SIGN ((TPM_COMMAND_CODE) 0x00000031)
1530#define TPM_ORD_Delegate_CreateKeyDelegation ((TPM_COMMAND_CODE) 0x000000D4)
1531#define TPM_ORD_Delegate_CreateOwnerDelegation ((TPM_COMMAND_CODE) 0x000000D5)
1532#define TPM_ORD_Delegate_LoadOwnerDelegation ((TPM_COMMAND_CODE) 0x000000D8)
1533#define TPM_ORD_Delegate_Manage ((TPM_COMMAND_CODE) 0x000000D2)
1534#define TPM_ORD_Delegate_ReadTable ((TPM_COMMAND_CODE) 0x000000DB)
1535#define TPM_ORD_Delegate_UpdateVerification ((TPM_COMMAND_CODE) 0x000000D1)
1536#define TPM_ORD_Delegate_VerifyDelegation ((TPM_COMMAND_CODE) 0x000000D6)
1537#define TPM_ORD_DirRead ((TPM_COMMAND_CODE) 0x0000001A)
1538#define TPM_ORD_DirWriteAuth ((TPM_COMMAND_CODE) 0x00000019)
1539#define TPM_ORD_DisableForceClear ((TPM_COMMAND_CODE) 0x0000005E)
1540#define TPM_ORD_DisableOwnerClear ((TPM_COMMAND_CODE) 0x0000005C)
1541#define TPM_ORD_DisablePubekRead ((TPM_COMMAND_CODE) 0x0000007E)
1542#define TPM_ORD_DSAP ((TPM_COMMAND_CODE) 0x00000011)
1543#define TPM_ORD_EstablishTransport ((TPM_COMMAND_CODE) 0x000000E6)
1544#define TPM_ORD_EvictKey ((TPM_COMMAND_CODE) 0x00000022)
1545#define TPM_ORD_ExecuteTransport ((TPM_COMMAND_CODE) 0x000000E7)
1546#define TPM_ORD_Extend ((TPM_COMMAND_CODE) 0x00000014)
1547#define TPM_ORD_FieldUpgrade ((TPM_COMMAND_CODE) 0x000000AA)
1548#define TPM_ORD_FlushSpecific ((TPM_COMMAND_CODE) 0x000000BA)
1549#define TPM_ORD_ForceClear ((TPM_COMMAND_CODE) 0x0000005D)
1550#define TPM_ORD_GetAuditDigest ((TPM_COMMAND_CODE) 0x00000085)
1551#define TPM_ORD_GetAuditDigestSigned ((TPM_COMMAND_CODE) 0x00000086)
1552#define TPM_ORD_GetAuditEvent ((TPM_COMMAND_CODE) 0x00000082)
1553#define TPM_ORD_GetAuditEventSigned ((TPM_COMMAND_CODE) 0x00000083)
1554#define TPM_ORD_GetCapability ((TPM_COMMAND_CODE) 0x00000065)
1555#define TPM_ORD_GetCapabilityOwner ((TPM_COMMAND_CODE) 0x00000066)
1556#define TPM_ORD_GetCapabilitySigned ((TPM_COMMAND_CODE) 0x00000064)
1557#define TPM_ORD_GetOrdinalAuditStatus ((TPM_COMMAND_CODE) 0x0000008C)
1558#define TPM_ORD_GetPubKey ((TPM_COMMAND_CODE) 0x00000021)
1559#define TPM_ORD_GetRandom ((TPM_COMMAND_CODE) 0x00000046)
1560#define TPM_ORD_GetTestResult ((TPM_COMMAND_CODE) 0x00000054)
1561#define TPM_ORD_GetTicks ((TPM_COMMAND_CODE) 0x000000F1)
1562#define TPM_ORD_IncrementCounter ((TPM_COMMAND_CODE) 0x000000DD)
1563#define TPM_ORD_Init ((TPM_COMMAND_CODE) 0x00000097)
1564#define TPM_ORD_KeyControlOwner ((TPM_COMMAND_CODE) 0x00000023)
1565#define TPM_ORD_KillMaintenanceFeature ((TPM_COMMAND_CODE) 0x0000002E)
1566#define TPM_ORD_LoadAuthContext ((TPM_COMMAND_CODE) 0x000000B7)
1567#define TPM_ORD_LoadContext ((TPM_COMMAND_CODE) 0x000000B9)
1568#define TPM_ORD_LoadKey ((TPM_COMMAND_CODE) 0x00000020)
1569#define TPM_ORD_LoadKey2 ((TPM_COMMAND_CODE) 0x00000041)
1570#define TPM_ORD_LoadKeyContext ((TPM_COMMAND_CODE) 0x000000B5)
1571#define TPM_ORD_LoadMaintenanceArchive ((TPM_COMMAND_CODE) 0x0000002D)
1572#define TPM_ORD_LoadManuMaintPub ((TPM_COMMAND_CODE) 0x0000002F)
1573#define TPM_ORD_MakeIdentity ((TPM_COMMAND_CODE) 0x00000079)
1574#define TPM_ORD_MigrateKey ((TPM_COMMAND_CODE) 0x00000025)
1575#define TPM_ORD_NV_DefineSpace ((TPM_COMMAND_CODE) 0x000000CC)
1576#define TPM_ORD_NV_ReadValue ((TPM_COMMAND_CODE) 0x000000CF)
1577#define TPM_ORD_NV_ReadValueAuth ((TPM_COMMAND_CODE) 0x000000D0)
1578#define TPM_ORD_NV_WriteValue ((TPM_COMMAND_CODE) 0x000000CD)
1579#define TPM_ORD_NV_WriteValueAuth ((TPM_COMMAND_CODE) 0x000000CE)
1580#define TPM_ORD_OIAP ((TPM_COMMAND_CODE) 0x0000000A)
1581#define TPM_ORD_OSAP ((TPM_COMMAND_CODE) 0x0000000B)
1582#define TPM_ORD_OwnerClear ((TPM_COMMAND_CODE) 0x0000005B)
1583#define TPM_ORD_OwnerReadInternalPub ((TPM_COMMAND_CODE) 0x00000081)
1584#define TPM_ORD_OwnerReadPubek ((TPM_COMMAND_CODE) 0x0000007D)
1585#define TPM_ORD_OwnerSetDisable ((TPM_COMMAND_CODE) 0x0000006E)
1586#define TPM_ORD_PCR_Reset ((TPM_COMMAND_CODE) 0x000000C8)
1587#define TPM_ORD_PcrRead ((TPM_COMMAND_CODE) 0x00000015)
1588#define TPM_ORD_PhysicalDisable ((TPM_COMMAND_CODE) 0x00000070)
1589#define TPM_ORD_PhysicalEnable ((TPM_COMMAND_CODE) 0x0000006F)
1590#define TPM_ORD_PhysicalSetDeactivated ((TPM_COMMAND_CODE) 0x00000072)
1591#define TPM_ORD_Quote ((TPM_COMMAND_CODE) 0x00000016)
1592#define TPM_ORD_Quote2 ((TPM_COMMAND_CODE) 0x0000003E)
1593#define TPM_ORD_ReadCounter ((TPM_COMMAND_CODE) 0x000000DE)
1594#define TPM_ORD_ReadManuMaintPub ((TPM_COMMAND_CODE) 0x00000030)
1595#define TPM_ORD_ReadPubek ((TPM_COMMAND_CODE) 0x0000007C)
1596#define TPM_ORD_ReleaseCounter ((TPM_COMMAND_CODE) 0x000000DF)
1597#define TPM_ORD_ReleaseCounterOwner ((TPM_COMMAND_CODE) 0x000000E0)
1598#define TPM_ORD_ReleaseTransportSigned ((TPM_COMMAND_CODE) 0x000000E8)
1599#define TPM_ORD_Reset ((TPM_COMMAND_CODE) 0x0000005A)
1600#define TPM_ORD_ResetLockValue ((TPM_COMMAND_CODE) 0x00000040)
1601#define TPM_ORD_RevokeTrust ((TPM_COMMAND_CODE) 0x00000080)
1602#define TPM_ORD_SaveAuthContext ((TPM_COMMAND_CODE) 0x000000B6)
1603#define TPM_ORD_SaveContext ((TPM_COMMAND_CODE) 0x000000B8)
1604#define TPM_ORD_SaveKeyContext ((TPM_COMMAND_CODE) 0x000000B4)
1605#define TPM_ORD_SaveState ((TPM_COMMAND_CODE) 0x00000098)
1606#define TPM_ORD_Seal ((TPM_COMMAND_CODE) 0x00000017)
1607#define TPM_ORD_Sealx ((TPM_COMMAND_CODE) 0x0000003D)
1608#define TPM_ORD_SelfTestFull ((TPM_COMMAND_CODE) 0x00000050)
1609#define TPM_ORD_SetCapability ((TPM_COMMAND_CODE) 0x0000003F)
1610#define TPM_ORD_SetOperatorAuth ((TPM_COMMAND_CODE) 0x00000074)
1611#define TPM_ORD_SetOrdinalAuditStatus ((TPM_COMMAND_CODE) 0x0000008D)
1612#define TPM_ORD_SetOwnerInstall ((TPM_COMMAND_CODE) 0x00000071)
1613#define TPM_ORD_SetOwnerPointer ((TPM_COMMAND_CODE) 0x00000075)
1614#define TPM_ORD_SetRedirection ((TPM_COMMAND_CODE) 0x0000009A)
1615#define TPM_ORD_SetTempDeactivated ((TPM_COMMAND_CODE) 0x00000073)
1616#define TPM_ORD_SHA1Complete ((TPM_COMMAND_CODE) 0x000000A2)
1617#define TPM_ORD_SHA1CompleteExtend ((TPM_COMMAND_CODE) 0x000000A3)
1618#define TPM_ORD_SHA1Start ((TPM_COMMAND_CODE) 0x000000A0)
1619#define TPM_ORD_SHA1Update ((TPM_COMMAND_CODE) 0x000000A1)
1620#define TPM_ORD_Sign ((TPM_COMMAND_CODE) 0x0000003C)
1621#define TPM_ORD_Startup ((TPM_COMMAND_CODE) 0x00000099)
1622#define TPM_ORD_StirRandom ((TPM_COMMAND_CODE) 0x00000047)
1623#define TPM_ORD_TakeOwnership ((TPM_COMMAND_CODE) 0x0000000D)
1624#define TPM_ORD_Terminate_Handle ((TPM_COMMAND_CODE) 0x00000096)
1625#define TPM_ORD_TickStampBlob ((TPM_COMMAND_CODE) 0x000000F2)
1626#define TPM_ORD_UnBind ((TPM_COMMAND_CODE) 0x0000001E)
1627#define TPM_ORD_Unseal ((TPM_COMMAND_CODE) 0x00000018)
1628#define TSC_ORD_PhysicalPresence ((TPM_COMMAND_CODE) 0x4000000A)
1629#define TSC_ORD_ResetEstablishmentBit ((TPM_COMMAND_CODE) 0x4000000B)
1668#define TPM_NV_INDEX_LOCK ((UINT32)0xffffffff)
1669#define TPM_NV_INDEX0 ((UINT32)0x00000000)
1670#define TPM_NV_INDEX_DIR ((UINT32)0x10000001)
1671#define TPM_NV_INDEX_EKCert ((UINT32)0x0000f000)
1672#define TPM_NV_INDEX_TPM_CC ((UINT32)0x0000f001)
1673#define TPM_NV_INDEX_PlatformCert ((UINT32)0x0000f002)
1674#define TPM_NV_INDEX_Platform_CC ((UINT32)0x0000f003)
1678#define TPM_NV_INDEX_TSS_BASE ((UINT32)0x00011100)
1679#define TPM_NV_INDEX_PC_BASE ((UINT32)0x00011200)
1680#define TPM_NV_INDEX_SERVER_BASE ((UINT32)0x00011300)
1681#define TPM_NV_INDEX_MOBILE_BASE ((UINT32)0x00011400)
1682#define TPM_NV_INDEX_PERIPHERAL_BASE ((UINT32)0x00011500)
1683#define TPM_NV_INDEX_GROUP_RESV_BASE ((UINT32)0x00010000)
1693#define TPM_NV_PER_READ_STCLEAR (BIT31)
1694#define TPM_NV_PER_AUTHREAD (BIT18)
1695#define TPM_NV_PER_OWNERREAD (BIT17)
1696#define TPM_NV_PER_PPREAD (BIT16)
1697#define TPM_NV_PER_GLOBALLOCK (BIT15)
1698#define TPM_NV_PER_WRITE_STCLEAR (BIT14)
1699#define TPM_NV_PER_WRITEDEFINE (BIT13)
1700#define TPM_NV_PER_WRITEALL (BIT12)
1701#define TPM_NV_PER_AUTHWRITE (BIT2)
1702#define TPM_NV_PER_OWNERWRITE (BIT1)
1703#define TPM_NV_PER_PPWRITE (BIT0)
1724#define TPM_DEL_OWNER_BITS ((UINT32)0x00000001)
1725#define TPM_DEL_KEY_BITS ((UINT32)0x00000002)
1739#define TPM_DELEGATE_SetOrdinalAuditStatus (BIT30)
1740#define TPM_DELEGATE_DirWriteAuth (BIT29)
1741#define TPM_DELEGATE_CMK_ApproveMA (BIT28)
1742#define TPM_DELEGATE_NV_WriteValue (BIT27)
1743#define TPM_DELEGATE_CMK_CreateTicket (BIT26)
1744#define TPM_DELEGATE_NV_ReadValue (BIT25)
1745#define TPM_DELEGATE_Delegate_LoadOwnerDelegation (BIT24)
1746#define TPM_DELEGATE_DAA_Join (BIT23)
1747#define TPM_DELEGATE_AuthorizeMigrationKey (BIT22)
1748#define TPM_DELEGATE_CreateMaintenanceArchive (BIT21)
1749#define TPM_DELEGATE_LoadMaintenanceArchive (BIT20)
1750#define TPM_DELEGATE_KillMaintenanceFeature (BIT19)
1751#define TPM_DELEGATE_OwnerReadInteralPub (BIT18)
1752#define TPM_DELEGATE_ResetLockValue (BIT17)
1753#define TPM_DELEGATE_OwnerClear (BIT16)
1754#define TPM_DELEGATE_DisableOwnerClear (BIT15)
1755#define TPM_DELEGATE_NV_DefineSpace (BIT14)
1756#define TPM_DELEGATE_OwnerSetDisable (BIT13)
1757#define TPM_DELEGATE_SetCapability (BIT12)
1758#define TPM_DELEGATE_MakeIdentity (BIT11)
1759#define TPM_DELEGATE_ActivateIdentity (BIT10)
1760#define TPM_DELEGATE_OwnerReadPubek (BIT9)
1761#define TPM_DELEGATE_DisablePubekRead (BIT8)
1762#define TPM_DELEGATE_SetRedirection (BIT7)
1763#define TPM_DELEGATE_FieldUpgrade (BIT6)
1764#define TPM_DELEGATE_Delegate_UpdateVerification (BIT5)
1765#define TPM_DELEGATE_CreateCounter (BIT4)
1766#define TPM_DELEGATE_ReleaseCounterOwner (BIT3)
1767#define TPM_DELEGATE_DelegateManage (BIT2)
1768#define TPM_DELEGATE_Delegate_CreateOwnerDelegation (BIT1)
1769#define TPM_DELEGATE_DAA_Sign (BIT0)
1774#define TPM_KEY_DELEGATE_CMK_ConvertMigration (BIT28)
1775#define TPM_KEY_DELEGATE_TickStampBlob (BIT27)
1776#define TPM_KEY_DELEGATE_ChangeAuthAsymStart (BIT26)
1777#define TPM_KEY_DELEGATE_ChangeAuthAsymFinish (BIT25)
1778#define TPM_KEY_DELEGATE_CMK_CreateKey (BIT24)
1779#define TPM_KEY_DELEGATE_MigrateKey (BIT23)
1780#define TPM_KEY_DELEGATE_LoadKey2 (BIT22)
1781#define TPM_KEY_DELEGATE_EstablishTransport (BIT21)
1782#define TPM_KEY_DELEGATE_ReleaseTransportSigned (BIT20)
1783#define TPM_KEY_DELEGATE_Quote2 (BIT19)
1784#define TPM_KEY_DELEGATE_Sealx (BIT18)
1785#define TPM_KEY_DELEGATE_MakeIdentity (BIT17)
1786#define TPM_KEY_DELEGATE_ActivateIdentity (BIT16)
1787#define TPM_KEY_DELEGATE_GetAuditDigestSigned (BIT15)
1788#define TPM_KEY_DELEGATE_Sign (BIT14)
1789#define TPM_KEY_DELEGATE_CertifyKey2 (BIT13)
1790#define TPM_KEY_DELEGATE_CertifyKey (BIT12)
1791#define TPM_KEY_DELEGATE_CreateWrapKey (BIT11)
1792#define TPM_KEY_DELEGATE_CMK_CreateBlob (BIT10)
1793#define TPM_KEY_DELEGATE_CreateMigrationBlob (BIT9)
1794#define TPM_KEY_DELEGATE_ConvertMigrationBlob (BIT8)
1795#define TPM_KEY_DELEGATE_CreateKeyDelegation (BIT7)
1796#define TPM_KEY_DELEGATE_ChangeAuth (BIT6)
1797#define TPM_KEY_DELEGATE_GetPubKey (BIT5)
1798#define TPM_KEY_DELEGATE_UnBind (BIT4)
1799#define TPM_KEY_DELEGATE_Quote (BIT3)
1800#define TPM_KEY_DELEGATE_Unseal (BIT2)
1801#define TPM_KEY_DELEGATE_Seal (BIT1)
1802#define TPM_KEY_DELEGATE_LoadKey (BIT0)
1807#define TPM_DELEGATE_ADMIN_LOCK (BIT1)
1808#define TPM_FAMFLAG_ENABLE (BIT0)
1831#define TPM_NUM_FAMILY_TABLE_ENTRY_MIN 8
1868#define TPM_NUM_DELEGATE_TABLE_ENTRY_MIN 2
1912#define TPM_FAMILY_CREATE ((UINT32)0x00000001)
1913#define TPM_FAMILY_ENABLE ((UINT32)0x00000002)
1914#define TPM_FAMILY_ADMIN ((UINT32)0x00000003)
1915#define TPM_FAMILY_INVALIDATE ((UINT32)0x00000004)
1920#define TPM_CAP_ORD ((TPM_CAPABILITY_AREA) 0x00000001)
1921#define TPM_CAP_ALG ((TPM_CAPABILITY_AREA) 0x00000002)
1922#define TPM_CAP_PID ((TPM_CAPABILITY_AREA) 0x00000003)
1923#define TPM_CAP_FLAG ((TPM_CAPABILITY_AREA) 0x00000004)
1924#define TPM_CAP_PROPERTY ((TPM_CAPABILITY_AREA) 0x00000005)
1925#define TPM_CAP_VERSION ((TPM_CAPABILITY_AREA) 0x00000006)
1926#define TPM_CAP_KEY_HANDLE ((TPM_CAPABILITY_AREA) 0x00000007)
1927#define TPM_CAP_CHECK_LOADED ((TPM_CAPABILITY_AREA) 0x00000008)
1928#define TPM_CAP_SYM_MODE ((TPM_CAPABILITY_AREA) 0x00000009)
1929#define TPM_CAP_KEY_STATUS ((TPM_CAPABILITY_AREA) 0x0000000C)
1930#define TPM_CAP_NV_LIST ((TPM_CAPABILITY_AREA) 0x0000000D)
1931#define TPM_CAP_MFR ((TPM_CAPABILITY_AREA) 0x00000010)
1932#define TPM_CAP_NV_INDEX ((TPM_CAPABILITY_AREA) 0x00000011)
1933#define TPM_CAP_TRANS_ALG ((TPM_CAPABILITY_AREA) 0x00000012)
1934#define TPM_CAP_HANDLE ((TPM_CAPABILITY_AREA) 0x00000014)
1935#define TPM_CAP_TRANS_ES ((TPM_CAPABILITY_AREA) 0x00000015)
1936#define TPM_CAP_AUTH_ENCRYPT ((TPM_CAPABILITY_AREA) 0x00000017)
1937#define TPM_CAP_SELECT_SIZE ((TPM_CAPABILITY_AREA) 0x00000018)
1938#define TPM_CAP_VERSION_VAL ((TPM_CAPABILITY_AREA) 0x0000001A)
1940#define TPM_CAP_FLAG_PERMANENT ((TPM_CAPABILITY_AREA) 0x00000108)
1941#define TPM_CAP_FLAG_VOLATILE ((TPM_CAPABILITY_AREA) 0x00000109)
1946#define TPM_CAP_PROP_PCR ((TPM_CAPABILITY_AREA) 0x00000101)
1947#define TPM_CAP_PROP_DIR ((TPM_CAPABILITY_AREA) 0x00000102)
1948#define TPM_CAP_PROP_MANUFACTURER ((TPM_CAPABILITY_AREA) 0x00000103)
1949#define TPM_CAP_PROP_KEYS ((TPM_CAPABILITY_AREA) 0x00000104)
1950#define TPM_CAP_PROP_MIN_COUNTER ((TPM_CAPABILITY_AREA) 0x00000107)
1951#define TPM_CAP_PROP_AUTHSESS ((TPM_CAPABILITY_AREA) 0x0000010A)
1952#define TPM_CAP_PROP_TRANSESS ((TPM_CAPABILITY_AREA) 0x0000010B)
1953#define TPM_CAP_PROP_COUNTERS ((TPM_CAPABILITY_AREA) 0x0000010C)
1954#define TPM_CAP_PROP_MAX_AUTHSESS ((TPM_CAPABILITY_AREA) 0x0000010D)
1955#define TPM_CAP_PROP_MAX_TRANSESS ((TPM_CAPABILITY_AREA) 0x0000010E)
1956#define TPM_CAP_PROP_MAX_COUNTERS ((TPM_CAPABILITY_AREA) 0x0000010F)
1957#define TPM_CAP_PROP_MAX_KEYS ((TPM_CAPABILITY_AREA) 0x00000110)
1958#define TPM_CAP_PROP_OWNER ((TPM_CAPABILITY_AREA) 0x00000111)
1959#define TPM_CAP_PROP_CONTEXT ((TPM_CAPABILITY_AREA) 0x00000112)
1960#define TPM_CAP_PROP_MAX_CONTEXT ((TPM_CAPABILITY_AREA) 0x00000113)
1961#define TPM_CAP_PROP_FAMILYROWS ((TPM_CAPABILITY_AREA) 0x00000114)
1962#define TPM_CAP_PROP_TIS_TIMEOUT ((TPM_CAPABILITY_AREA) 0x00000115)
1963#define TPM_CAP_PROP_STARTUP_EFFECT ((TPM_CAPABILITY_AREA) 0x00000116)
1964#define TPM_CAP_PROP_DELEGATE_ROW ((TPM_CAPABILITY_AREA) 0x00000117)
1965#define TPM_CAP_PROP_DAA_MAX ((TPM_CAPABILITY_AREA) 0x00000119)
1966#define CAP_PROP_SESSION_DAA ((TPM_CAPABILITY_AREA) 0x0000011A)
1967#define TPM_CAP_PROP_CONTEXT_DIST ((TPM_CAPABILITY_AREA) 0x0000011B)
1968#define TPM_CAP_PROP_DAA_INTERRUPT ((TPM_CAPABILITY_AREA) 0x0000011C)
1969#define TPM_CAP_PROP_SESSIONS ((TPM_CAPABILITY_AREA) 0x0000011D)
1970#define TPM_CAP_PROP_MAX_SESSIONS ((TPM_CAPABILITY_AREA) 0x0000011E)
1971#define TPM_CAP_PROP_CMK_RESTRICTION ((TPM_CAPABILITY_AREA) 0x0000011F)
1972#define TPM_CAP_PROP_DURATION ((TPM_CAPABILITY_AREA) 0x00000120)
1973#define TPM_CAP_PROP_ACTIVE_COUNTER ((TPM_CAPABILITY_AREA) 0x00000122)
1974#define TPM_CAP_PROP_MAX_NV_AVAILABLE ((TPM_CAPABILITY_AREA) 0x00000123)
1975#define TPM_CAP_PROP_INPUT_BUFFER ((TPM_CAPABILITY_AREA) 0x00000124)
1980#define TPM_SET_PERM_FLAGS ((TPM_CAPABILITY_AREA) 0x00000001)
1981#define TPM_SET_PERM_DATA ((TPM_CAPABILITY_AREA) 0x00000002)
1982#define TPM_SET_STCLEAR_FLAGS ((TPM_CAPABILITY_AREA) 0x00000003)
1983#define TPM_SET_STCLEAR_DATA ((TPM_CAPABILITY_AREA) 0x00000004)
1984#define TPM_SET_STANY_FLAGS ((TPM_CAPABILITY_AREA) 0x00000005)
1985#define TPM_SET_STANY_DATA ((TPM_CAPABILITY_AREA) 0x00000006)
2009#define TPM_DA_ACTION_FAILURE_MODE (((UINT32)1)<<3)
2010#define TPM_DA_ACTION_DEACTIVATE (((UINT32)1)<<2)
2011#define TPM_DA_ACTION_DISABLE (((UINT32)1)<<1)
2012#define TPM_DA_ACTION_TIMEOUT (((UINT32)1)<<0)
2042#define TPM_DA_STATE_INACTIVE ((UINT8)0x00)
2043#define TPM_DA_STATE_ACTIVE ((UINT8)0x01)
2052#define TPM_DAA_SIZE_r0 (43)
2053#define TPM_DAA_SIZE_r1 (43)
2054#define TPM_DAA_SIZE_r2 (128)
2055#define TPM_DAA_SIZE_r3 (168)
2056#define TPM_DAA_SIZE_r4 (219)
2057#define TPM_DAA_SIZE_NT (20)
2058#define TPM_DAA_SIZE_v0 (128)
2059#define TPM_DAA_SIZE_v1 (192)
2060#define TPM_DAA_SIZE_NE (256)
2061#define TPM_DAA_SIZE_w (256)
2062#define TPM_DAA_SIZE_issuerModulus (256)
2066#define TPM_DAA_power0 (104)
2067#define TPM_DAA_power1 (1024)
2151#define TPM_REDIR_GPIO (0x00000001)
unsigned int UINT32
Definition ProcessorBind.h:102
UINT8 TPM_VERSION_BYTE
Definition Tpm12.h:44
struct tdTPM_EK_BLOB TPM_EK_BLOB
TPM_AUTHDATA TPM_SECRET
Definition Tpm12.h:504
UINT32 TPM_MODIFIER_INDICATOR
Definition Tpm12.h:116
struct tdTPM_KEY12 TPM_KEY12
struct tdTPM_PCR_COMPOSITE TPM_PCR_COMPOSITE
UINT16 TPM_STARTUP_TYPE
Definition Tpm12.h:60
struct tdTPM_STCLEAR_FLAGS TPM_STCLEAR_FLAGS
TPM_DIGEST TPM_DIRVALUE
Definition Tpm12.h:462
UINT32 TPM_RESOURCE_TYPE
Definition Tpm12.h:148
struct tdTPM_DIGEST TPM_DIGEST
UINT16 TPM_MIGRATE_SCHEME
Definition Tpm12.h:72
struct tdTPM_PCR_ATTRIBUTES TPM_PCR_ATTRIBUTES
struct tdTPM_QUOTE_INFO TPM_QUOTE_INFO
TPM_NONCE TPM_DAA_CONTEXT_SEED
Definition Tpm12.h:489
struct tdTPM_MIGRATIONKEYAUTH TPM_MIGRATIONKEYAUTH
struct tdTPM_EK_BLOB_AUTH TPM_EK_BLOB_AUTH
UINT32 TPM_REDIT_COMMAND
Definition Tpm12.h:194
TPM_DIGEST TPM_COMPOSITE_HASH
Definition Tpm12.h:458
struct tdTPM_DELEGATE_TABLE TPM_DELEGATE_TABLE
struct tdTPM_SYMMETRIC_KEY TPM_SYMMETRIC_KEY
struct tdTPM_STANY_FLAGS TPM_STANY_FLAGS
UINT16 TPM_KEY_USAGE
Definition Tpm12.h:84
struct tdTPM_CMK_SIGTICKET TPM_CMK_SIGTICKET
UINT8 tdTPM_AUTHDATA[20]
Definition Tpm12.h:498
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
UINT32 TPM_ACTUAL_COUNT
Definition Tpm12.h:120
struct tdTPM_IDENTITY_PROOF TPM_IDENTITY_PROOF
UINT32 TPM_PCRINDEX
Definition Tpm12.h:140
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
Definition Tpm12.h:472
#define TPM_NUM_PCR
Definition Tpm12.h:836
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
UINT32 TPM_COMMAND_CODE
Definition Tpm12.h:100
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
Definition Tpm12.h:104
UINT32 TPM_DIRINDEX
Definition Tpm12.h:132
UINT8 TPM_DA_STATE
Definition Tpm12.h:48
UINT32 TPM_KEY_FLAGS
Definition Tpm12.h:108
UINT32 TPM_FAMILY_ID
Definition Tpm12.h:162
struct tdTPM_TRANSPORT_LOG_OUT TPM_TRANSPORT_LOG_OUT
UINT16 TPM_PROTOCOL_ID
Definition Tpm12.h:56
struct tdTPM_NV_ATTRIBUTES TPM_NV_ATTRIBUTES
UINT16 TPM_ENC_SCHEME
Definition Tpm12.h:64
struct tdTPM_DELEGATIONS TPM_DELEGATIONS
struct tdTPM_DELEGATE_OWNER_BLOB TPM_DELEGATE_OWNER_BLOB
UINT32 TPM_KEY_CONTROL
Definition Tpm12.h:152
struct tdTPM_TRANSPORT_LOG_IN TPM_TRANSPORT_LOG_IN
UINT32 TPM_NV_INDEX
Definition Tpm12.h:156
#define TPM_NUM_FAMILY_TABLE_ENTRY_MIN
Definition Tpm12.h:1831
struct tdTPM_CERTIFY_INFO2 TPM_CERTIFY_INFO2
UINT16 TPM_STRUCTURE_TAG
Definition Tpm12.h:92
TPM_DIGEST TPM_HMAC
Definition Tpm12.h:464
struct tdTPM_CMK_AUTH TPM_CMK_AUTH
struct tdTPM_STORE_PRIVKEY TPM_STORE_PRIVKEY
UINT8 TPM_LOCALITY_SELECTION
Definition Tpm12.h:937
struct tdTPM_QUOTE_INFO2 TPM_QUOTE_INFO2
tdTPM_AUTHDATA TPM_AUTHDATA
Definition Tpm12.h:500
struct tdTPM_SEALED_DATA TPM_SEALED_DATA
struct tdTPM_IDENTITY_REQ TPM_IDENTITY_REQ
UINT32 TPM_CMK_DELEGATE
Definition Tpm12.h:186
struct tdTPM_CMK_MA_APPROVAL TPM_CMK_MA_APPROVAL
struct tdTPM_CONTEXT_SENSITIVE TPM_CONTEXT_SENSITIVE
UINT8 TPM_AUTH_DATA_USAGE
Definition Tpm12.h:36
struct tdTPM_AUDIT_EVENT_OUT TPM_AUDIT_EVENT_OUT
TPM_DIGEST TPM_CHOSENID_HASH
Definition Tpm12.h:454
struct tdTPM_KEY_HANDLE_LIST TPM_KEY_HANDLE_LIST
struct tdTPM_CHANGEAUTH_VALIDATE TPM_CHANGEAUTH_VALIDATE
struct tdTPM_TRANSPORT_PUBLIC TPM_TRANSPORT_PUBLIC
UINT8 TPM_PAYLOAD_TYPE
Definition Tpm12.h:40
TPM_DIGEST TPM_PCRVALUE
Definition Tpm12.h:468
struct tdTPM_DA_INFO_LIMITED TPM_DA_INFO_LIMITED
struct tdTPM_DELEGATE_PUBLIC TPM_DELEGATE_PUBLIC
struct tdTPM_PERMANENT_FLAGS TPM_PERMANENT_FLAGS
UINT32 TPM_FAMILY_FLAGS
Definition Tpm12.h:178
UINT16 TPM_PHYSICAL_PRESENCE
Definition Tpm12.h:76
struct tdTPM_BOUND_DATA TPM_BOUND_DATA
struct tdTPM_AUDIT_EVENT_IN TPM_AUDIT_EVENT_IN
struct tdTPM_CONTEXT_BLOB TPM_CONTEXT_BLOB
UINT32 TPM_RESULT
Definition Tpm12.h:144
struct tdTPM_SYM_CA_ATTESTATION TPM_SYM_CA_ATTESTATION
struct tdTPM_CERTIFY_INFO TPM_CERTIFY_INFO
UINT32 TPM_FAMILY_OPERATION
Definition Tpm12.h:206
struct tdTPM_DELEGATE_SENSITIVE TPM_DELEGATE_SENSITIVE
UINT32 TPM_ALGORITHM_ID
Definition Tpm12.h:112
struct tdTPM_IDENTITY_CONTENTS TPM_IDENTITY_CONTENTS
UINT32 TPM_COUNT_ID
Definition Tpm12.h:190
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
UINT16 TPM_ENTITY_TYPE
Definition Tpm12.h:80
struct tdTPM_ASYM_CA_CONTENTS TPM_ASYM_CA_CONTENTS
#define TPM_SHA1_160_HASH_LEN
Definition Tpm12.h:441
TPM_AUTHDATA TPM_ENCAUTH
Definition Tpm12.h:508
struct tdTPM_TRANSPORT_INTERNAL TPM_TRANSPORT_INTERNAL
enum tdTPM_KEY_FLAGS TPM_KEY_FLAGS_BITS
UINT32 TPM_TRANSPORT_ATTRIBUTES
Definition Tpm12.h:124
UINT32 TPM_AUTHHANDLE
Definition Tpm12.h:128
UINT16 TPM_SIG_SCHEME
Definition Tpm12.h:68
struct tdTPM_MSA_COMPOSITE TPM_MSA_COMPOSITE
struct tdTPM_DAA_CONTEXT TPM_DAA_CONTEXT
UINT16 TPM_TAG
Definition Tpm12.h:52
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
Definition Tpm12.h:170
UINT16 TPM_PLATFORM_SPECIFIC
Definition Tpm12.h:96
struct tdTPM_PCR_INFO_SHORT TPM_PCR_INFO_SHORT
TPM_NONCE TPM_DAA_TPM_SEED
Definition Tpm12.h:485
struct tdTPM_DA_INFO TPM_DA_INFO
struct tdTPM_SIGN_INFO TPM_SIGN_INFO
UINT16 TPM_EK_TYPE
Definition Tpm12.h:88
struct tdTPM_DELEGATE_KEY_BLOB TPM_DELEGATE_KEY_BLOB
#define TPM_NUM_DELEGATE_TABLE_ENTRY_MIN
Definition Tpm12.h:1868
struct tdTPM_TRANSPORT_AUTH TPM_TRANSPORT_AUTH
struct tdTPM_DAA_JOINDATA TPM_DAA_JOINDATA
UINT32 TPM_DELEGATE_INDEX
Definition Tpm12.h:182
struct tdTPM_FAMILY_TABLE TPM_FAMILY_TABLE
struct tdTPM_EK_BLOB_ACTIVATE TPM_EK_BLOB_ACTIVATE
UINT32 TPM_HANDLE
Definition Tpm12.h:202
UINT32 TPM_KEY_HANDLE
Definition Tpm12.h:136
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
Definition Tpm12.h:166
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
UINT32 TPM_SYM_MODE
Definition Tpm12.h:174
UINT32 TPM_TRANSHANDLE
Definition Tpm12.h:198
tdTPM_KEY_FLAGS
Definition Tpm12.h:588
@ migrateAuthority
Definition Tpm12.h:593
@ migratable
Definition Tpm12.h:590
@ isVolatile
Definition Tpm12.h:591
@ redirection
Definition Tpm12.h:589
@ pcrIgnoredOnRead
Definition Tpm12.h:592
unsigned short UINT16
Definition actypes.h:237
unsigned char BOOLEAN
Definition actypes.h:235
unsigned char UINT8
Definition actypes.h:236
COMPILER_DEPENDENT_UINT64 UINT64
Definition actypes.h:239
TPM_SYMMETRIC_KEY sessionKey
Definition Tpm12.h:1257
TPM_DIGEST idDigest
Definition Tpm12.h:1258
TPM_COUNTER_VALUE auditCount
Definition Tpm12.h:1351
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1349
TPM_DIGEST inputParms
Definition Tpm12.h:1350
TPM_COMMAND_CODE ordinal
Definition Tpm12.h:1359
TPM_DIGEST outputParms
Definition Tpm12.h:1360
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1358
TPM_RESULT returnCode
Definition Tpm12.h:1362
TPM_COUNTER_VALUE auditCount
Definition Tpm12.h:1361
TPM_PAYLOAD_TYPE payload
Definition Tpm12.h:1036
UINT8 payloadData[1]
Definition Tpm12.h:1037
TPM_STRUCT_VER ver
Definition Tpm12.h:1035
UINT8 tpmVendorID[4]
Definition Tpm12.h:1996
UINT8 * vendorSpecific
Definition Tpm12.h:1998
UINT16 vendorSpecificSize
Definition Tpm12.h:1997
UINT16 specLevel
Definition Tpm12.h:1994
TPM_VERSION version
Definition Tpm12.h:1993
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1992
UINT8 errataRev
Definition Tpm12.h:1995
TPM_AUTH_DATA_USAGE authDataUsage
Definition Tpm12.h:1149
BOOLEAN parentPCRStatus
Definition Tpm12.h:1153
TPM_NONCE data
Definition Tpm12.h:1152
TPM_DIGEST pubkeyDigest
Definition Tpm12.h:1151
UINT32 PCRInfoSize
Definition Tpm12.h:1154
TPM_KEY_FLAGS keyFlags
Definition Tpm12.h:1148
UINT32 migrationAuthoritySize
Definition Tpm12.h:1156
UINT8 fill
Definition Tpm12.h:1145
TPM_PAYLOAD_TYPE payloadType
Definition Tpm12.h:1146
UINT8 * migrationAuthority
Definition Tpm12.h:1157
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1144
TPM_KEY_PARMS algorithmParms
Definition Tpm12.h:1150
UINT8 * PCRInfo
Definition Tpm12.h:1155
TPM_KEY_USAGE keyUsage
Definition Tpm12.h:1147
TPM_STRUCT_VER version
Definition Tpm12.h:1128
TPM_DIGEST pubkeyDigest
Definition Tpm12.h:1133
TPM_KEY_PARMS algorithmParms
Definition Tpm12.h:1132
TPM_AUTH_DATA_USAGE authDataUsage
Definition Tpm12.h:1131
BOOLEAN parentPCRStatus
Definition Tpm12.h:1135
TPM_KEY_USAGE keyUsage
Definition Tpm12.h:1129
TPM_NONCE data
Definition Tpm12.h:1134
UINT32 PCRInfoSize
Definition Tpm12.h:1136
TPM_KEY_FLAGS keyFlags
Definition Tpm12.h:1130
UINT8 * PCRInfo
Definition Tpm12.h:1137
TPM_SECRET newAuthSecret
Definition Tpm12.h:600
TPM_NONCE n1
Definition Tpm12.h:601
TPM_DIGEST destinationKeyDigest
Definition Tpm12.h:679
TPM_DIGEST migrationAuthorityDigest
Definition Tpm12.h:678
TPM_DIGEST sourceKeyDigest
Definition Tpm12.h:680
TPM_DIGEST migrationAuthorityDigest
Definition Tpm12.h:724
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:723
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:705
TPM_DIGEST msaDigest
Definition Tpm12.h:706
TPM_DIGEST pubKeyDigest
Definition Tpm12.h:707
TPM_DIGEST verKeyDigest
Definition Tpm12.h:715
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:714
TPM_DIGEST signedData
Definition Tpm12.h:716
TPM_DIGEST integrityDigest
Definition Tpm12.h:1644
UINT8 * sensitiveData
Definition Tpm12.h:1648
UINT32 sensitiveSize
Definition Tpm12.h:1647
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1639
UINT8 label[16]
Definition Tpm12.h:1642
TPM_RESOURCE_TYPE resourceType
Definition Tpm12.h:1640
UINT32 additionalSize
Definition Tpm12.h:1645
UINT8 * additionalData
Definition Tpm12.h:1646
TPM_HANDLE handle
Definition Tpm12.h:1641
UINT32 contextCount
Definition Tpm12.h:1643
UINT8 * internalData
Definition Tpm12.h:1658
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1655
UINT32 internalSize
Definition Tpm12.h:1657
TPM_NONCE contextNonce
Definition Tpm12.h:1656
TPM_ACTUAL_COUNT counter
Definition Tpm12.h:650
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:648
UINT8 label[4]
Definition Tpm12.h:649
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1275
UINT64 currentTicks
Definition Tpm12.h:1276
UINT16 tickRate
Definition Tpm12.h:1277
TPM_NONCE tickNonce
Definition Tpm12.h:1278
UINT8 * sensitiveData
Definition Tpm12.h:2127
TPM_DIGEST blobIntegrity
Definition Tpm12.h:2123
TPM_RESOURCE_TYPE resourceType
Definition Tpm12.h:2121
UINT32 sensitiveSize
Definition Tpm12.h:2126
UINT32 additionalSize
Definition Tpm12.h:2124
UINT8 label[16]
Definition Tpm12.h:2122
UINT8 * additionalData
Definition Tpm12.h:2125
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:2120
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:2099
UINT8 DAA_stage
Definition Tpm12.h:2104
TPM_DAA_CONTEXT_SEED DAA_contextSeed
Definition Tpm12.h:2102
UINT8 DAA_scratch[256]
Definition Tpm12.h:2103
TPM_DIGEST DAA_digest
Definition Tpm12.h:2101
TPM_DIGEST DAA_digestContext
Definition Tpm12.h:2100
TPM_DIGEST DAA_digest_S1
Definition Tpm12.h:2077
TPM_DIGEST DAA_digest_S0
Definition Tpm12.h:2076
UINT8 DAA_generic_q[26]
Definition Tpm12.h:2080
TPM_DIGEST DAA_digest_gamma
Definition Tpm12.h:2079
TPM_DIGEST DAA_digest_n
Definition Tpm12.h:2078
TPM_DIGEST DAA_digest_R0
Definition Tpm12.h:2074
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:2073
TPM_DIGEST DAA_digest_R1
Definition Tpm12.h:2075
UINT8 DAA_join_u1[138]
Definition Tpm12.h:2112
UINT8 DAA_join_u0[128]
Definition Tpm12.h:2111
TPM_DIGEST DAA_digest_n0
Definition Tpm12.h:2113
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:2134
UINT32 internalSize
Definition Tpm12.h:2135
UINT8 * internalData
Definition Tpm12.h:2136
TPM_DIGEST DAA_rekey
Definition Tpm12.h:2091
TPM_DIGEST DAA_digest_v1
Definition Tpm12.h:2090
TPM_DIGEST DAA_digest_v0
Definition Tpm12.h:2089
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:2087
TPM_DIGEST DAA_digestIssuer
Definition Tpm12.h:2088
UINT32 DAA_count
Definition Tpm12.h:2092
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:2005
UINT32 actions
Definition Tpm12.h:2006
TPM_DA_STATE state
Definition Tpm12.h:2033
UINT32 vendorDataSize
Definition Tpm12.h:2035
UINT8 * vendorData
Definition Tpm12.h:2036
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:2032
TPM_DA_ACTION_TYPE actionAtThreshold
Definition Tpm12.h:2034
UINT32 vendorDataSize
Definition Tpm12.h:2024
UINT16 currentCount
Definition Tpm12.h:2020
TPM_DA_STATE state
Definition Tpm12.h:2019
UINT8 * vendorData
Definition Tpm12.h:2025
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:2018
UINT32 actionDependValue
Definition Tpm12.h:2023
UINT16 thresholdCount
Definition Tpm12.h:2021
TPM_DA_ACTION_TYPE actionAtThreshold
Definition Tpm12.h:2022
UINT8 * sensitiveArea
Definition Tpm12.h:1906
TPM_DIGEST pubKeyDigest
Definition Tpm12.h:1902
UINT32 additionalSize
Definition Tpm12.h:1903
UINT8 * additionalArea
Definition Tpm12.h:1904
TPM_DELEGATE_PUBLIC pub
Definition Tpm12.h:1900
UINT32 sensitiveSize
Definition Tpm12.h:1905
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1899
TPM_DIGEST integrityDigest
Definition Tpm12.h:1901
UINT8 label
Definition Tpm12.h:1841
TPM_DIGEST integrityDigest
Definition Tpm12.h:1888
UINT8 * sensitiveArea
Definition Tpm12.h:1892
UINT32 additionalSize
Definition Tpm12.h:1889
TPM_DELEGATE_PUBLIC pub
Definition Tpm12.h:1887
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1886
UINT8 * additionalArea
Definition Tpm12.h:1890
UINT32 sensitiveSize
Definition Tpm12.h:1891
TPM_DELEGATIONS permissions
Definition Tpm12.h:1851
TPM_FAMILY_ID familyID
Definition Tpm12.h:1852
TPM_PCR_INFO_SHORT pcrInfo
Definition Tpm12.h:1850
TPM_FAMILY_VERIFICATION verificationCount
Definition Tpm12.h:1853
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1848
TPM_DELEGATE_LABEL label
Definition Tpm12.h:1849
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1878
TPM_SECRET authValue
Definition Tpm12.h:1879
TPM_DELEGATE_PUBLIC pub
Definition Tpm12.h:1861
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1860
TPM_SECRET authValue
Definition Tpm12.h:1862
TPM_DELEGATE_TABLE_ROW delRow[TPM_NUM_DELEGATE_TABLE_ENTRY_MIN]
Definition Tpm12.h:1871
UINT32 per1
Definition Tpm12.h:1732
UINT32 delegateType
Definition Tpm12.h:1731
UINT32 per2
Definition Tpm12.h:1733
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1730
UINT8 digest[TPM_SHA1_160_HASH_LEN]
Definition Tpm12.h:448
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1198
TPM_SYMMETRIC_KEY sessionKey
Definition Tpm12.h:1199
TPM_PCR_INFO_SHORT pcrInfo
Definition Tpm12.h:1201
TPM_DIGEST idDigest
Definition Tpm12.h:1200
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1208
TPM_SECRET authValue
Definition Tpm12.h:1209
UINT8 * blob
Definition Tpm12.h:1191
UINT32 blobSize
Definition Tpm12.h:1190
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1188
TPM_EK_TYPE ekType
Definition Tpm12.h:1189
UINT8 label
Definition Tpm12.h:1814
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1821
TPM_FAMILY_FLAGS flags
Definition Tpm12.h:1825
TPM_FAMILY_VERIFICATION verificationCount
Definition Tpm12.h:1824
TPM_FAMILY_ID familyID
Definition Tpm12.h:1823
TPM_FAMILY_LABEL label
Definition Tpm12.h:1822
TPM_FAMILY_TABLE_ENTRY famTableRow[TPM_NUM_FAMILY_TABLE_ENTRY_MIN]
Definition Tpm12.h:1834
TPM_PUBKEY identityPubKey
Definition Tpm12.h:1220
TPM_STRUCT_VER ver
Definition Tpm12.h:1217
TPM_CHOSENID_HASH labelPrivCADigest
Definition Tpm12.h:1219
UINT32 ordinal
Definition Tpm12.h:1218
UINT8 * endorsementCredential
Definition Tpm12.h:1248
UINT8 * identityBinding
Definition Tpm12.h:1247
UINT32 labelSize
Definition Tpm12.h:1240
UINT32 identityBindingSize
Definition Tpm12.h:1241
UINT32 endorsementSize
Definition Tpm12.h:1242
UINT8 * conformanceCredential
Definition Tpm12.h:1250
UINT8 * platformCredential
Definition Tpm12.h:1249
UINT32 platformSize
Definition Tpm12.h:1243
TPM_PUBKEY identityKey
Definition Tpm12.h:1245
TPM_STRUCT_VER ver
Definition Tpm12.h:1239
UINT8 * labelArea
Definition Tpm12.h:1246
UINT32 conformanceSize
Definition Tpm12.h:1244
TPM_KEY_PARMS symAlgorithm
Definition Tpm12.h:1230
TPM_KEY_PARMS asymAlgorithm
Definition Tpm12.h:1229
UINT8 * asymBlob
Definition Tpm12.h:1231
UINT32 asymSize
Definition Tpm12.h:1227
UINT8 * symBlob
Definition Tpm12.h:1232
UINT32 symSize
Definition Tpm12.h:1228
UINT32 encDataSize
Definition Tpm12.h:1079
TPM_AUTH_DATA_USAGE authDataUsage
Definition Tpm12.h:1074
UINT8 * PCRInfo
Definition Tpm12.h:1077
TPM_KEY_USAGE keyUsage
Definition Tpm12.h:1072
TPM_STORE_PUBKEY pubKey
Definition Tpm12.h:1078
TPM_KEY_PARMS algorithmParms
Definition Tpm12.h:1075
UINT8 * encData
Definition Tpm12.h:1080
TPM_KEY_FLAGS keyFlags
Definition Tpm12.h:1073
UINT32 PCRInfoSize
Definition Tpm12.h:1076
UINT16 fill
Definition Tpm12.h:1071
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1070
TPM_KEY_HANDLE handle[1]
Definition Tpm12.h:516
UINT16 loaded
Definition Tpm12.h:515
TPM_ENC_SCHEME encScheme
Definition Tpm12.h:613
TPM_SIG_SCHEME sigScheme
Definition Tpm12.h:614
UINT8 * parms
Definition Tpm12.h:616
UINT32 parmSize
Definition Tpm12.h:615
TPM_ALGORITHM_ID algorithmID
Definition Tpm12.h:612
TPM_KEY_PARMS algorithmParms
Definition Tpm12.h:1057
TPM_KEY_USAGE keyUsage
Definition Tpm12.h:1054
TPM_STRUCT_VER ver
Definition Tpm12.h:1053
UINT32 PCRInfoSize
Definition Tpm12.h:1058
TPM_AUTH_DATA_USAGE authDataUsage
Definition Tpm12.h:1056
UINT32 encDataSize
Definition Tpm12.h:1061
TPM_STORE_PUBKEY pubKey
Definition Tpm12.h:1060
TPM_KEY_FLAGS keyFlags
Definition Tpm12.h:1055
UINT8 * encData
Definition Tpm12.h:1062
UINT8 * PCRInfo
Definition Tpm12.h:1059
TPM_PAYLOAD_TYPE payload
Definition Tpm12.h:1108
TPM_DIGEST pubDataDigest
Definition Tpm12.h:1110
UINT8 * partPrivKey
Definition Tpm12.h:1112
UINT32 partPrivKeyLen
Definition Tpm12.h:1111
TPM_SECRET usageAuth
Definition Tpm12.h:1109
TPM_DIGEST digest
Definition Tpm12.h:641
TPM_MIGRATE_SCHEME migrationScheme
Definition Tpm12.h:640
TPM_PUBKEY migrationKey
Definition Tpm12.h:639
UINT32 MSAlist
Definition Tpm12.h:670
TPM_DIGEST migAuthDigest[1]
Definition Tpm12.h:671
UINT8 nonce[20]
Definition Tpm12.h:478
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1689
UINT32 attributes
Definition Tpm12.h:1690
TPM_PCR_INFO_SHORT pcrInfoWrite
Definition Tpm12.h:1712
TPM_NV_ATTRIBUTES permission
Definition Tpm12.h:1713
BOOLEAN bWriteSTClear
Definition Tpm12.h:1715
BOOLEAN bReadSTClear
Definition Tpm12.h:1714
BOOLEAN bWriteDefine
Definition Tpm12.h:1716
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1709
TPM_PCR_INFO_SHORT pcrInfoRead
Definition Tpm12.h:1711
UINT32 dataSize
Definition Tpm12.h:1717
TPM_NV_INDEX nvIndex
Definition Tpm12.h:1710
TPM_LOCALITY_SELECTION pcrResetLocal
Definition Tpm12.h:973
TPM_LOCALITY_SELECTION pcrExtendLocal
Definition Tpm12.h:972
BOOLEAN pcrReset
Definition Tpm12.h:971
UINT32 valueSize
Definition Tpm12.h:921
TPM_PCRVALUE pcrValue[1]
Definition Tpm12.h:922
TPM_PCR_SELECTION select
Definition Tpm12.h:920
TPM_LOCALITY_SELECTION localityAtRelease
Definition Tpm12.h:951
TPM_COMPOSITE_HASH digestAtRelease
Definition Tpm12.h:955
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:949
TPM_PCR_SELECTION releasePCRSelection
Definition Tpm12.h:953
TPM_PCR_SELECTION creationPCRSelection
Definition Tpm12.h:952
TPM_LOCALITY_SELECTION localityAtCreation
Definition Tpm12.h:950
TPM_COMPOSITE_HASH digestAtCreation
Definition Tpm12.h:954
TPM_LOCALITY_SELECTION localityAtRelease
Definition Tpm12.h:963
TPM_PCR_SELECTION pcrSelection
Definition Tpm12.h:962
TPM_COMPOSITE_HASH digestAtRelease
Definition Tpm12.h:964
TPM_COMPOSITE_HASH digestAtCreation
Definition Tpm12.h:931
TPM_COMPOSITE_HASH digestAtRelease
Definition Tpm12.h:930
TPM_PCR_SELECTION pcrSelection
Definition Tpm12.h:929
UINT8 pcrSelect[1]
Definition Tpm12.h:912
UINT16 sizeOfSelect
Definition Tpm12.h:911
BOOLEAN disableFullDALogicInfo
Definition Tpm12.h:761
BOOLEAN disable
Definition Tpm12.h:742
BOOLEAN readSRKPub
Definition Tpm12.h:758
BOOLEAN nvLocked
Definition Tpm12.h:757
BOOLEAN physicalPresenceCMDEnable
Definition Tpm12.h:750
BOOLEAN physicalPresenceLifetimeLock
Definition Tpm12.h:748
BOOLEAN TPMpostLock
Definition Tpm12.h:753
BOOLEAN CEKPUsed
Definition Tpm12.h:751
BOOLEAN enableRevokeEK
Definition Tpm12.h:756
BOOLEAN ownership
Definition Tpm12.h:743
BOOLEAN readPubek
Definition Tpm12.h:745
BOOLEAN disableOwnerClear
Definition Tpm12.h:746
BOOLEAN physicalPresenceHWEnable
Definition Tpm12.h:749
BOOLEAN allowMaintenance
Definition Tpm12.h:747
BOOLEAN FIPS
Definition Tpm12.h:754
BOOLEAN tpmEstablished
Definition Tpm12.h:759
BOOLEAN maintenanceDone
Definition Tpm12.h:760
BOOLEAN TPMpost
Definition Tpm12.h:752
BOOLEAN deactivated
Definition Tpm12.h:744
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:741
TPM_KEY_PARMS algorithmParms
Definition Tpm12.h:631
TPM_STORE_PUBKEY pubKey
Definition Tpm12.h:632
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1174
TPM_NONCE externalData
Definition Tpm12.h:1176
TPM_PCR_INFO_SHORT infoShort
Definition Tpm12.h:1177
UINT8 fixed[4]
Definition Tpm12.h:1175
TPM_NONCE externalData
Definition Tpm12.h:1167
TPM_STRUCT_VER version
Definition Tpm12.h:1164
TPM_COMPOSITE_HASH digestValue
Definition Tpm12.h:1166
UINT8 fixed[4]
Definition Tpm12.h:1165
UINT32 paramSize
Definition Tpm12.h:2158
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:2157
TPM_COMMAND_CODE ordinal
Definition Tpm12.h:2159
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:2166
TPM_RESULT returnCode
Definition Tpm12.h:2168
UINT32 paramSize
Definition Tpm12.h:2167
TPM_PAYLOAD_TYPE payload
Definition Tpm12.h:1012
UINT8 * data
Definition Tpm12.h:1017
TPM_SECRET authData
Definition Tpm12.h:1013
UINT32 dataSize
Definition Tpm12.h:1016
TPM_DIGEST storedDigest
Definition Tpm12.h:1015
TPM_NONCE tpmProof
Definition Tpm12.h:1014
UINT8 minor
Definition Tpm12.h:697
UINT8 major
Definition Tpm12.h:696
UINT16 reqSize
Definition Tpm12.h:698
UINT32 dataLen
Definition Tpm12.h:661
UINT8 fixed[4]
Definition Tpm12.h:659
UINT8 * data
Definition Tpm12.h:662
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:658
TPM_NONCE replay
Definition Tpm12.h:660
BOOLEAN transportExclusive
Definition Tpm12.h:816
TPM_MODIFIER_INDICATOR localityModifier
Definition Tpm12.h:815
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:813
BOOLEAN postInitialise
Definition Tpm12.h:814
BOOLEAN TOSPresent
Definition Tpm12.h:817
UINT32 ownerReference
Definition Tpm12.h:876
TPM_PCRVALUE PCR[TPM_NUM_PCR]
Definition Tpm12.h:878
UINT32 deferredPhysicalPresence
Definition Tpm12.h:879
BOOLEAN disableResetLock
Definition Tpm12.h:877
TPM_NONCE contextNonceKey
Definition Tpm12.h:874
TPM_COUNT_ID countID
Definition Tpm12.h:875
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:873
BOOLEAN deactivated
Definition Tpm12.h:793
BOOLEAN physicalPresence
Definition Tpm12.h:795
BOOLEAN physicalPresenceLock
Definition Tpm12.h:796
BOOLEAN disableForceClear
Definition Tpm12.h:794
BOOLEAN bGlobalLock
Definition Tpm12.h:797
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:792
UINT8 * encData
Definition Tpm12.h:1004
TPM_ENTITY_TYPE et
Definition Tpm12.h:1000
UINT8 * sealInfo
Definition Tpm12.h:1002
UINT32 sealInfoSize
Definition Tpm12.h:1001
UINT32 encDataSize
Definition Tpm12.h:1003
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:999
UINT8 * sealInfo
Definition Tpm12.h:988
UINT32 encDataSize
Definition Tpm12.h:989
UINT32 sealInfoSize
Definition Tpm12.h:987
UINT8 * encData
Definition Tpm12.h:990
TPM_STRUCT_VER ver
Definition Tpm12.h:986
TPM_SECRET migrationAuth
Definition Tpm12.h:1098
TPM_STORE_PRIVKEY privKey
Definition Tpm12.h:1100
TPM_DIGEST pubDataDigest
Definition Tpm12.h:1099
TPM_PAYLOAD_TYPE payload
Definition Tpm12.h:1096
TPM_SECRET usageAuth
Definition Tpm12.h:1097
UINT8 * key
Definition Tpm12.h:1089
UINT32 keyLength
Definition Tpm12.h:1088
UINT8 key[1]
Definition Tpm12.h:624
UINT32 keyLength
Definition Tpm12.h:623
UINT8 major
Definition Tpm12.h:424
UINT8 revMajor
Definition Tpm12.h:426
UINT8 revMinor
Definition Tpm12.h:427
UINT8 minor
Definition Tpm12.h:425
UINT8 * data
Definition Tpm12.h:1028
TPM_ENC_SCHEME encScheme
Definition Tpm12.h:1026
TPM_ALGORITHM_ID algId
Definition Tpm12.h:1025
UINT16 dataSize
Definition Tpm12.h:1027
UINT8 * credential
Definition Tpm12.h:1267
TPM_KEY_PARMS algorithm
Definition Tpm12.h:1266
UINT32 credSize
Definition Tpm12.h:1265
TPM_AUTHDATA authData
Definition Tpm12.h:1338
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1337
TPM_TRANSHANDLE transHandle
Definition Tpm12.h:1309
TPM_AUTHDATA authData
Definition Tpm12.h:1307
TPM_TRANSPORT_PUBLIC transPublic
Definition Tpm12.h:1308
TPM_NONCE transNonceEven
Definition Tpm12.h:1310
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1306
TPM_DIGEST transDigest
Definition Tpm12.h:1311
TPM_DIGEST parameters
Definition Tpm12.h:1319
TPM_DIGEST pubKeyHash
Definition Tpm12.h:1320
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1318
TPM_DIGEST parameters
Definition Tpm12.h:1329
TPM_CURRENT_TICKS currentTicks
Definition Tpm12.h:1328
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1327
TPM_MODIFIER_INDICATOR locality
Definition Tpm12.h:1330
TPM_TRANSPORT_ATTRIBUTES transAttributes
Definition Tpm12.h:1290
TPM_ENC_SCHEME encScheme
Definition Tpm12.h:1292
TPM_STRUCTURE_TAG tag
Definition Tpm12.h:1289
TPM_ALGORITHM_ID algId
Definition Tpm12.h:1291
TPM_VERSION_BYTE minor
Definition Tpm12.h:435
UINT8 revMinor
Definition Tpm12.h:437
TPM_VERSION_BYTE major
Definition Tpm12.h:434
UINT8 revMajor
Definition Tpm12.h:436