xref: /netbsd-src/crypto/external/cpl/trousers/dist/src/include/tss/tcs_defines.h (revision c38e7cc395b1472a774ff828e46123de44c628e9)
1 /*++
2 
3 TSS Core Service structures
4 
5 */
6 
7 #ifndef __TCS_DEFINES_H__
8 #define __TCS_DEFINES_H__
9 
10 #define TSS_TCSATTRIB_TRANSPORT_DEFAULT           ((UINT32)(0x00000000))
11 #define TSS_TCSATTRIB_TRANSPORT_EXCLUSIVE         ((UINT32)(0x00000001))
12 
13 
14 // Values for the ulCredentialType parameter to Tcsi_GetCredential
15 #define TSS_TCS_CREDENTIAL_EKCERT                 ((UINT32)0x00000001)
16 #define TSS_TCS_CREDENTIAL_TPM_CC                 ((UINT32)0x00000002)
17 #define TSS_TCS_CREDENTIAL_PLATFORMCERT           ((UINT32)0x00000003)
18 
19 
20 // Values for the ulCredentialAccessMode parameter to Tcsi_GetCredential
21 //  TSS_TCS_CERT_ACCESS_AUTO triggers the default behavior.
22 //  Values with TSS_TCS_CERT_VENDOR_SPECIFIC_BIT set trigger
23 //    vendor specific behavior.
24 #define TSS_TCS_CERT_ACCESS_AUTO                  ((UINT32)0x00000001)
25 
26 #define TSS_TCS_CERT_VENDOR_SPECIFIC_BIT          ((UINT32)0x80000000)
27 
28 #endif // __TCS_DEFINES_H__
29