⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tcpa_typedef.h

📁 可信计算 TPM 很重要的应用底层接口封装中间层 IBM资深人员开发
💻 H
字号:
/*++  TCPA typedefs basically extracted from TCPA Main Specification V1.1b  and TCPA Software Stack (TSS) Specification.  Before including this file it is necessary that the platform-specific  typedef’s are defined. Be advised that these definitions can depend on  both the platform and the compiler used. The defines used in this and  some other TCPA include file are derived from 4 Basic-Types:  --*/#ifndef __TCPA_TYPEDEF_H__#define __TCPA_TYPEDEF_H__#define TRUE  0x01#define FALSE 0x00//--------------------------------------------------------------------// 4.2.3   Helper redefinitionstypedef UINT32   TCPA_PCRINDEX;     // Index to a PCR registertypedef UINT32   TCPA_DIRINDEX;     // Index to a DIR registertypedef UINT32   TCPA_AUTHHANDLE;   // Handle to an authorization sessiontypedef UINT32   TSS_HASHHANDLE;    // Handle to a hash sessiontypedef UINT32   TSS_HMACHHANDLE;   // Handle to a HMAC sessiontypedef UINT32   TCPA_ENCHANDLE;    // Handle to a encryption/decryption sessiontypedef UINT32   TCPA_KEY_HANDLE;   // The area where a key is held assigned by the TPM.typedef UINT32   TCPA_RESULT;       // The return code from a function// 4.2.4   Enumerated Helper redefinitionstypedef UINT32   TCPA_COMMAND_CODE;       // The command ordinal. See 4.33typedef UINT16   TCPA_PROTOCOL_ID;        // The protocol in use. See 4.17typedef UINT32   TCPA_EVENTTYPE;          // Type of PCR event. See 4.25.2typedef BYTE     TCPA_AUTH_DATA_USAGE;    // Indicates the conditions where it is required that authorization//    be presented. See 4.11typedef UINT16   TCPA_ENTITY_TYPE;        // Indicates the types of entity that are supported by the TPM. See 4.15typedef UINT32   TCPA_ALGORITHM_ID;       // Indicates the type of algorithm. See 4.18typedef UINT16   TCPA_KEY_USAGE;          // Indicates the permitted usage of the key. See 4.10typedef UINT16   TCPA_STARTUP_TYPE;       // Indicates the start state. See 4.16typedef UINT32   TCPA_CAPABILITY_AREA;    // Identifies a TPM capability area.  See 4.31typedef UINT16   TCPA_ENC_SCHEME;         // The definition of the encryption scheme. See 8.4typedef UINT16   TCPA_SIG_SCHEME;         // The definition of the signature scheme. See 8.5typedef UINT16   TCPA_MIGRATE_SCHEME;     // The definition of the migration scheme 4.22typedef UINT16   TCPA_PHYSICAL_PRESENCE;  // Sets the state of the physical presence mechanism. See section 4.19typedef UINT32   TCPA_KEY_FLAGS;          // Indicates information regarding a key. See 4.12typedef UINT16   TCPA_TAG;              // command tag identifier Errata: missing in Main spectypedef BYTE     TCPA_PAYLOAD_TYPE;     // Errata: should be relocated to here in Main spec#endif // __TCPA_TYPEDEF_H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -