Home | History | Annotate | Line # | Download | only in tss
      1 /*++
      2 
      3 TSS Core Service structures
      4 
      5 */
      6 
      7 #ifndef __TCS_STRUCT_H__
      8 #define __TCS_STRUCT_H__
      9 
     10 #include <tss/tpm.h>
     11 #include <tss/tss_structs.h>
     12 #include <tss/tcs_typedef.h>
     13 
     14 typedef struct tdTCS_AUTH
     15 {
     16     TCS_AUTHHANDLE  AuthHandle;
     17     TPM_NONCE       NonceOdd;   // system
     18     TPM_NONCE       NonceEven;   // TPM
     19     TSS_BOOL        fContinueAuthSession;
     20     TPM_AUTHDATA    HMAC;
     21 } TCS_AUTH;
     22 
     23 // This is kept for legacy compatibility
     24 typedef TCS_AUTH    TPM_AUTH;
     25 
     26 
     27 typedef struct tdTCS_LOADKEY_INFO
     28 {
     29     TSS_UUID   keyUUID;
     30     TSS_UUID   parentKeyUUID;
     31     TPM_DIGEST  paramDigest; // SHA1 digest of the TPM_LoadKey
     32                              // Command input parameters
     33                              // As defined in TPM Main Specification
     34     TPM_AUTH   authData;     // Data regarding a valid auth
     35                              // Session including the
     36                              // HMAC digest
     37 } TCS_LOADKEY_INFO;
     38 
     39 #endif // __TCS_STRUCT_H__
     40 
     41