crypto/external/cpl/trousers/dist/src/include/tss/tcs_typedef.h
author christos <christos@NetBSD.org>
Sat, 28 Jan 2012 01:35:04 +0000
branchtrunk
changeset 208533 fb64bd2b788b
permissions -rw-r--r--
import trousers 0.3.8 from sourceforge. TrouSerS is the open-source TCG Software Stack

/*++

Global typedefs for TSS Core Service
 
*/

#ifndef __TCS_TYPEDEF_H__
#define __TCS_TYPEDEF_H__

#include <tss/tss_structs.h>
#include <tss/tpm.h>

typedef UINT32  TCS_AUTHHANDLE;
typedef UINT32  TCS_CONTEXT_HANDLE;
typedef UINT32  TCS_KEY_HANDLE;
typedef UINT32  TCS_HANDLE;


// Substitution definitions for TCS-IDL
typedef TPM_ENCAUTH                TCG_ENCAUTH;
typedef TPM_NONCE                  TCG_NONCE;
typedef TPM_ENTITY_TYPE            TCG_ENTITY_TYPE;
typedef TPM_PCRINDEX               TCG_PCRINDEX;
typedef TPM_DIGEST                 TCG_DIGEST;
typedef TPM_PCRVALUE               TCG_PCRVALUE;
typedef TPM_DIRVALUE               TCG_DIRVALUE;
typedef TPM_DIRINDEX               TCG_DIRINDEX;



#endif // __TCS_TYPEDEF_H__