1 /*++ 2 3 Global typedefs for TSS 4 5 */ 6 7 #ifndef __TSS_TYPEDEF_H__ 8 #define __TSS_TYPEDEF_H__ 9 10 #include <tss/platform.h> 11 12 //-------------------------------------------------------------------- 13 // definitions for TSS Service Provider (TSP) 14 // 15 typedef UINT32 TSS_HANDLE; 16 17 typedef UINT32 TSS_FLAG; // object attributes 18 typedef UINT32 TSS_RESULT; // the return code from a TSS function 19 20 typedef UINT32 TSS_HOBJECT; // basic object handle 21 typedef TSS_HOBJECT TSS_HCONTEXT; // context object handle 22 typedef TSS_HOBJECT TSS_HPOLICY; // policy object handle 23 typedef TSS_HOBJECT TSS_HTPM; // TPM object handle 24 typedef TSS_HOBJECT TSS_HKEY; // key object handle 25 typedef TSS_HOBJECT TSS_HENCDATA; // encrypted data object handle 26 typedef TSS_HOBJECT TSS_HPCRS; // PCR composite object handle 27 typedef TSS_HOBJECT TSS_HHASH; // hash object handle 28 typedef TSS_HOBJECT TSS_HNVSTORE; // NV storage object handle 29 typedef TSS_HOBJECT TSS_HMIGDATA; // migration data utility obj handle 30 typedef TSS_HOBJECT TSS_HDELFAMILY; // delegation family object handle 31 typedef TSS_HOBJECT TSS_HDAA_CREDENTIAL; // daa credential 32 typedef TSS_HOBJECT TSS_HDAA_ISSUER_KEY; // daa credential issuer keypair 33 typedef TSS_HOBJECT TSS_HDAA_ARA_KEY; // daa anonymity revocation 34 // authority keypair 35 36 typedef UINT32 TSS_EVENTTYPE; 37 typedef UINT16 TSS_MIGRATE_SCHEME; 38 typedef UINT32 TSS_ALGORITHM_ID; 39 typedef UINT32 TSS_KEY_USAGE_ID; 40 typedef UINT16 TSS_KEY_ENC_SCHEME; 41 typedef UINT16 TSS_KEY_SIG_SCHEME; 42 typedef BYTE TSS_KEY_AUTH_DATA_USAGE; 43 typedef UINT32 TSS_CMK_DELEGATE; 44 typedef UINT32 TSS_NV_INDEX; 45 typedef UINT32 TSS_COUNTER_ID; 46 47 #endif // __TSS_TYPEDEF_H__ 48 49