3
TSS Core Service error return codes
7
#ifndef __TCS_ERROR_H__
8
#define __TCS_ERROR_H__
12
#define TSS_E_BASE 0x00000000L
16
// specific error codes returned by the TSS Core Service
17
// offset TSS_TCSI_OFFSET
20
// The context handle supplied is invalid.
21
#define TCS_E_INVALID_CONTEXTHANDLE (UINT32)(TSS_E_BASE + 0x0C1L)
23
// The key handle supplied is invalid.
24
#define TCS_E_INVALID_KEYHANDLE (UINT32)(TSS_E_BASE + 0x0C2L)
26
// The authorization session handle supplied is invalid.
27
#define TCS_E_INVALID_AUTHHANDLE (UINT32)(TSS_E_BASE + 0x0C3L)
29
// the auth session has been closed by the TPM
30
#define TCS_E_INVALID_AUTHSESSION (UINT32)(TSS_E_BASE + 0x0C4L)
32
// the key has been unloaded
33
#define TCS_E_INVALID_KEY (UINT32)(TSS_E_BASE + 0x0C5L)
35
// Key addressed by the application key handle does not match the key addressed
37
#define TCS_E_KEY_MISMATCH (UINT32)(TSS_E_BASE + 0x0C8L)
39
// Key adressed by Key's UUID cannot be loaded because one of the required
40
// parent keys needs authorization.
41
#define TCS_E_KM_LOADFAILED (UINT32)(TSS_E_BASE + 0x0CAL)
43
// The Key Cache Manager could not reload the key into the TPM.
44
#define TCS_E_KEY_CONTEXT_RELOAD (UINT32)(TSS_E_BASE + 0x0CCL)
46
#endif // __TCS_ERROR_H__