~ubuntu-branches/ubuntu/precise/trousers/precise-proposed

« back to all changes in this revision

Viewing changes to src/include/tss/tcs_error.h

  • Committer: Bazaar Package Importer
  • Author(s): William Lima
  • Date: 2007-04-18 16:39:38 UTC
  • Revision ID: james.westby@ubuntu.com-20070418163938-opscl2mvvi76jiec
Tags: upstream-0.2.9.1
ImportĀ upstreamĀ versionĀ 0.2.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*++
 
2
 
 
3
  TSS Core Service error return codes
 
4
 
 
5
  --*/
 
6
 
 
7
#ifndef __TCS_ERROR_H__
 
8
#define __TCS_ERROR_H__
 
9
 
 
10
 
 
11
#ifndef TSS_E_BASE
 
12
#define TSS_E_BASE      0x00000000L
 
13
#endif // TSS_E_BASE
 
14
 
 
15
//
 
16
// specific error codes returned by the TSS Core Service
 
17
// offset TSS_TCSI_OFFSET
 
18
//
 
19
 
 
20
// The context handle supplied is invalid.
 
21
#define TCS_E_INVALID_CONTEXTHANDLE  (UINT32)(TSS_E_BASE + 0x0C1L)
 
22
 
 
23
// The key handle supplied is invalid.
 
24
#define TCS_E_INVALID_KEYHANDLE  (UINT32)(TSS_E_BASE + 0x0C2L)
 
25
 
 
26
// The authorization session handle supplied is invalid.
 
27
#define TCS_E_INVALID_AUTHHANDLE  (UINT32)(TSS_E_BASE + 0x0C3L)
 
28
 
 
29
// the auth session has been closed by the TPM
 
30
#define TCS_E_INVALID_AUTHSESSION  (UINT32)(TSS_E_BASE + 0x0C4L)
 
31
 
 
32
// the key has been unloaded
 
33
#define TCS_E_INVALID_KEY   (UINT32)(TSS_E_BASE + 0x0C5L)
 
34
 
 
35
// Key addressed by the application key handle does not match the key addressed
 
36
// by the given UUID.
 
37
#define TCS_E_KEY_MISMATCH   (UINT32)(TSS_E_BASE + 0x0C8L)
 
38
 
 
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)
 
42
 
 
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)
 
45
 
 
46
#endif // __TCS_ERROR_H__
 
47