tcs_error.h

来自「关于TPM的一些应用」· C头文件 代码 · 共 48 行

H
48
字号
/*++  TSS Core Service error return codes  --*/#ifndef __TCS_ERROR_H__#define __TCS_ERROR_H__#ifndef TSS_E_BASE#define TSS_E_BASE      0x00000000L#endif // TSS_E_BASE//// specific error codes returned by the TSS Core Service// offset TSS_TCSI_OFFSET//// The context handle supplied is invalid.#define TCS_E_INVALID_CONTEXTHANDLE  (UINT32)(TSS_E_BASE + 0x0C1L)// The key handle supplied is invalid.#define TCS_E_INVALID_KEYHANDLE  (UINT32)(TSS_E_BASE + 0x0C2L)// The authorization session handle supplied is invalid.#define TCS_E_INVALID_AUTHHANDLE  (UINT32)(TSS_E_BASE + 0x0C3L)// the auth session has been closed by the TPM#define TCS_E_INVALID_AUTHSESSION  (UINT32)(TSS_E_BASE + 0x0C4L)// the key has been unloaded#define TCS_E_INVALID_KEY   (UINT32)(TSS_E_BASE + 0x0C5L)// Key addressed by the application key handle does not match the key addressed// by the given UUID.#define TCS_E_KEY_MISMATCH   (UINT32)(TSS_E_BASE + 0x0C8L)// Key adressed by Key's UUID cannot be loaded because one of the required// parent keys needs authorization.#define TCS_E_KM_LOADFAILED   (UINT32)(TSS_E_BASE + 0x0CAL)// The Key Cache Manager could not reload the key into the TPM.#define TCS_E_KEY_CONTEXT_RELOAD  (UINT32)(TSS_E_BASE + 0x0CCL)#endif // __TCS_ERROR_H__

⌨️ 快捷键说明

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