7
#ifndef __TSS_ERROR_H__
8
#define __TSS_ERROR_H__
11
// error coding scheme for a Microsoft Windows platform -
12
// refer to the TSS Specification Parts
14
// Values are 32 bit values layed out as follows:
16
// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
17
// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
18
// +---+-+-+-----------------------+-------+-----------------------+
19
// |Lev|C|R| Facility | Layer | Code |
20
// +---+-+-+-----------------------+-------+-----------------------+
21
// | Platform specific coding | TSS error coding system |
22
// +---+-+-+-----------------------+-------+-----------------------+
24
// Lev - is the Level code
31
// C - is the Customer code flag (must actually be set)
33
// R - is a reserved bit (unused)
35
// Facility - is the facility code: TCPA: proposal 0x028
37
// Code - is the facility's status code
41
// definitions for the code level information
43
#define TSS_LEVEL_SUCCESS 0x00000000L // code level success
44
#define TSS_LEVEL_INFO 0x40000000L // code level information
45
#define TSS_LEVEL_WARNING 0x80000000L // code level warning
46
#define TSS_LEVEL_ERROR 0xC0000000L // code level error
49
// some defines for the platform specific information
51
#define FACILITY_TSS 0x28L // facility number for TCPA return codes
52
#define FACILITY_TSS_CODEPOS (FACILITY_TSS << 16) // shift the facility info to the code
55
#define TSS_CUSTOM_CODEFLAG 0x20000000L // bit position for the custom flag in
60
// TSS error return codes
64
#define TSS_E_BASE 0x00000000L
67
#define TSS_W_BASE 0x00000000L
70
#define TSS_I_BASE 0x00000000L
74
// basic error return codes common to all TSS Service Provider Interface methods
75
// and returned by all TSS SW stack components
79
// MessageId: TSS_SUCCESS
83
// Successful completion of the operation.
85
#define TSS_SUCCESS 0x00000000L
88
// MessageId: TSS_E_FAIL
92
// An internal error has been detected, but the source is unknown.
94
#define TSS_E_FAIL (UINT32)(TSS_E_BASE + 0x002L)
97
// MessageId: TSS_E_BAD_PARAMETER
101
// One or more parameter is bad.
103
#define TSS_E_BAD_PARAMETER (UINT32)(TSS_E_BASE + 0x003L)
106
// MessageId: TSS_E_INTERNAL_ERROR
110
// An internal SW error has been detected.
112
#define TSS_E_INTERNAL_ERROR (UINT32)(TSS_E_BASE + 0x004L)
115
// MessageId: TSS_E_OUTOFMEMORY
119
// Ran out of memory.
121
#define TSS_E_OUTOFMEMORY (UINT32)(TSS_E_BASE + 0x005L)
124
// MessageId: TSS_E_NOTIMPL
130
#define TSS_E_NOTIMPL (UINT32)(TSS_E_BASE + 0x006L)
133
// MessageId: TSS_E_KEY_ALREADY_REGISTERED
137
// Key is already registered
139
#define TSS_E_KEY_ALREADY_REGISTERED (UINT32)(TSS_E_BASE + 0x008L)
143
// MessageId: TSS_E_TPM_UNEXPECTED
147
// An unexpected TPM error has occurred.
149
#define TSS_E_TPM_UNEXPECTED (UINT32)(TSS_E_BASE + 0x010L)
152
// MessageId: TSS_E_COMM_FAILURE
156
// A communications error with the TPM has been detected.
158
#define TSS_E_COMM_FAILURE (UINT32)(TSS_E_BASE + 0x011L)
161
// MessageId: TSS_E_TIMEOUT
165
// The operation has timed out.
167
#define TSS_E_TIMEOUT (UINT32)(TSS_E_BASE + 0x012L)
170
// MessageId: TSS_E_TPM_UNSUPPORTED_FEATURE
174
// The TPM does not support the requested feature.
176
#define TSS_E_TPM_UNSUPPORTED_FEATURE (UINT32)(TSS_E_BASE + 0x014L)
179
// MessageId: TSS_E_CANCELED
183
// The action was canceled by request.
185
#define TSS_E_CANCELED (UINT32)(TSS_E_BASE + 0x016L)
188
// MessageId: TSS_E_PS_KEY_NOTFOUND
192
// The key cannot be found in the persistent storage database.
194
#define TSS_E_PS_KEY_NOTFOUND (UINT32)(TSS_E_BASE + 0x020L)
196
// MessageId: TSS_E_PS_KEY_EXISTS
200
// The key already exists in the persistent storage database.
202
#define TSS_E_PS_KEY_EXISTS (UINT32)(TSS_E_BASE + 0x021L)
205
// MessageId: TSS_E_PS_BAD_KEY_STATE
209
// The key data set not valid in the persistent storage database.
211
#define TSS_E_PS_BAD_KEY_STATE (UINT32)(TSS_E_BASE + 0x022L)
215
// error codes returned by specific TSS Service Provider Interface methods
216
// offset TSS_TSPI_OFFSET
220
// MessageId: TSS_E_INVALID_OBJECT_TYPE
224
// Object type not valid for this operation.
226
#define TSS_E_INVALID_OBJECT_TYPE (UINT32)(TSS_E_BASE + 0x101L)
229
// MessageId: TSS_E_NO_CONNECTION
233
// Core Service connection doesn't exist.
235
#define TSS_E_NO_CONNECTION (UINT32)(TSS_E_BASE + 0x102L)
238
// MessageId: TSS_E_CONNECTION_FAILED
242
// Core Service connection failed.
244
#define TSS_E_CONNECTION_FAILED (UINT32)(TSS_E_BASE + 0x103L)
247
// MessageId: TSS_E_CONNECTION_BROKEN
251
// Communication with Core Service failed.
253
#define TSS_E_CONNECTION_BROKEN (UINT32)(TSS_E_BASE + 0x104L)
256
// MessageId: TSS_E_HASH_INVALID_ALG
260
// Invalid hash algorithm.
262
#define TSS_E_HASH_INVALID_ALG (UINT32)(TSS_E_BASE + 0x105L)
265
// MessageId: TSS_E_HASH_INVALID_LENGTH
269
// Hash length is inconsistent with hash algorithm.
271
#define TSS_E_HASH_INVALID_LENGTH (UINT32)(TSS_E_BASE + 0x106L)
274
// MessageId: TSS_E_HASH_NO_DATA
278
// Hash object has no internal hash value.
280
#define TSS_E_HASH_NO_DATA (UINT32)(TSS_E_BASE + 0x107L)
284
// MessageId: TSS_E_INVALID_ATTRIB_FLAG
288
// Flag value for attrib-functions inconsistent.
290
#define TSS_E_INVALID_ATTRIB_FLAG (UINT32)(TSS_E_BASE + 0x109L)
293
// MessageId: TSS_E_INVALID_ATTRIB_SUBFLAG
297
// Subflag value for attrib-functions inconsistent.
299
#define TSS_E_INVALID_ATTRIB_SUBFLAG (UINT32)(TSS_E_BASE + 0x10AL)
302
// MessageId: TSS_E_INVALID_ATTRIB_DATA
306
// Data for attrib-functions invalid.
308
#define TSS_E_INVALID_ATTRIB_DATA (UINT32)(TSS_E_BASE + 0x10BL)
311
// MessageId: TSS_E_INVALID_OBJECT_INITFLAG
315
// Wrong flag information for object creation.
317
#define TSS_E_INVALID_OBJECT_INITFLAG (UINT32)(TSS_E_BASE + 0x10CL)
320
// MessageId: TSS_E_NO_PCRS_SET
324
// No PCR register are selected or set.
326
#define TSS_E_NO_PCRS_SET (UINT32)(TSS_E_BASE + 0x10DL)
329
// MessageId: TSS_E_KEY_NOT_LOADED
333
// The addressed key is currently not loaded.
335
#define TSS_E_KEY_NOT_LOADED (UINT32)(TSS_E_BASE + 0x10EL)
338
// MessageId: TSS_E_KEY_NOT_SET
342
// No key information is currently available.
344
#define TSS_E_KEY_NOT_SET (UINT32)(TSS_E_BASE + 0x10FL)
347
// MessageId: TSS_E_VALIDATION_FAILED
351
// Internal validation of data failed.
353
#define TSS_E_VALIDATION_FAILED (UINT32)(TSS_E_BASE + 0x110L)
356
// MessageId: TSS_E_TSP_AUTHREQUIRED
360
// Authorization is required.
362
#define TSS_E_TSP_AUTHREQUIRED (UINT32)(TSS_E_BASE + 0x111L)
365
// MessageId: TSS_E_TSP_AUTH2REQUIRED
369
// Multiple authorization is required.
371
#define TSS_E_TSP_AUTH2REQUIRED (UINT32)(TSS_E_BASE + 0x112L)
374
// MessageId: TSS_E_TSP_AUTHFAIL
378
// Authorization failed.
380
#define TSS_E_TSP_AUTHFAIL (UINT32)(TSS_E_BASE + 0x113L)
383
// MessageId: TSS_E_TSP_AUTH2FAIL
387
// Multiple authorization failed.
389
#define TSS_E_TSP_AUTH2FAIL (UINT32)(TSS_E_BASE + 0x114L)
392
// MessageId: TSS_E_KEY_NO_MIGRATION_POLICY
396
// There's no migration policy object set for the addressed key.
398
#define TSS_E_KEY_NO_MIGRATION_POLICY (UINT32)(TSS_E_BASE + 0x115L)
401
// MessageId: TSS_E_POLICY_NO_SECRET
405
// No secret information is currently available for the addressed policy object.
407
#define TSS_E_POLICY_NO_SECRET (UINT32)(TSS_E_BASE + 0x116L)
410
// MessageId: TSS_E_INVALID_OBJ_ACCESS
414
// The operation failed due to an invalid object status.
416
#define TSS_E_INVALID_OBJ_ACCESS (UINT32)(TSS_E_BASE + 0x117L)
419
// MessageId: TSS_E_INVALID_ENCSCHEME
425
#define TSS_E_INVALID_ENCSCHEME (UINT32)(TSS_E_BASE + 0x118L)
429
// MessageId: TSS_E_INVALID_SIGSCHEME
435
#define TSS_E_INVALID_SIGSCHEME (UINT32)(TSS_E_BASE + 0x119L)
438
// MessageId: TSS_E_ENC_INVALID_LENGTH
444
#define TSS_E_ENC_INVALID_LENGTH (UINT32)(TSS_E_BASE + 0x120L)
448
// MessageId: TSS_E_ENC_NO_DATA
454
#define TSS_E_ENC_NO_DATA (UINT32)(TSS_E_BASE + 0x121L)
457
// MessageId: TSS_E_ENC_INVALID_TYPE
463
#define TSS_E_ENC_INVALID_TYPE (UINT32)(TSS_E_BASE + 0x122L)
467
// MessageId: TSS_E_INVALID_KEYUSAGE
473
#define TSS_E_INVALID_KEYUSAGE (UINT32)(TSS_E_BASE + 0x123L)
476
// MessageId: TSS_E_VERIFICATION_FAILED
482
#define TSS_E_VERIFICATION_FAILED (UINT32)(TSS_E_BASE + 0x124L)
485
// MessageId: TSS_E_HASH_NO_IDENTIFIER
489
// Hash algorithm identifier not set.
491
#define TSS_E_HASH_NO_IDENTIFIER (UINT32)(TSS_E_BASE + 0x125L)
494
// MessageId: TSS_E_INVALID_HANDLE
500
#define TSS_E_INVALID_HANDLE (UINT32)(TSS_E_BASE + 0x126L)
503
// MessageId: TSS_E_SILENT_CONTEXT
507
// A silent context requires user input
509
#define TSS_E_SILENT_CONTEXT (UINT32)(TSS_E_BASE + 0x127L)
512
// MessageId: TSS_E_EK_CHECKSUM
516
// TSP is instructed to verify the EK checksum and it does not verify.
518
#define TSS_E_EK_CHECKSUM (UINT32)(TSS_E_BASE + 0x128L)
523
#endif // __TSS_ERROR_H__
7
#ifndef __TSS_ERROR_H__
8
#define __TSS_ERROR_H__
10
#include <tss/platform.h>
13
// error coding scheme for a Microsoft Windows platform -
14
// refer to the TSS Specification Parts
16
// Values are 32 bit values layed out as follows:
18
// 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
19
// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
20
// +---+-+-+-----------------------+-------+-----------------------+
21
// |Lev|C|R| Facility | Layer | Code |
22
// +---+-+-+-----------------------+-------+-----------------------+
23
// | Platform specific coding | TSS error coding system |
24
// +---+-+-+-----------------------+-------+-----------------------+
26
// Lev - is the Level code
33
// C - is the Customer code flag (must actually be set)
35
// R - is a reserved bit (unused)
37
// Facility - is the facility code: TCPA: proposal 0x028
39
// Code - is the facility's status code
43
// definitions for the code level information
45
#define TSS_LEVEL_SUCCESS 0x00 // code level success
46
#define TSS_LEVEL_INFO 0x40000000L // code level information
47
#define TSS_LEVEL_WARNING 0x80000000L // code level warning
48
#define TSS_LEVEL_ERROR 0xC0000000L // code level error
51
// some defines for the platform specific information
53
#define FACILITY_TSS 0x28L // facility number for TCPA return codes
54
#define FACILITY_TSS_CODEPOS (FACILITY_TSS << 16) // shift the facility info to the code
57
#define TSS_CUSTOM_CODEFLAG 0x20000000L // bit position for the custom flag in
62
// TSS error return codes
66
#define TSS_E_BASE 0x00000000L
69
#define TSS_W_BASE 0x00000000L
72
#define TSS_I_BASE 0x00000000L
76
// basic error return codes common to all TSS Service Provider Interface methods
77
// and returned by all TSS SW stack components
81
// MessageId: TSS_SUCCESS
85
// Successful completion of the operation.
87
#define TSS_SUCCESS (UINT32)(0x00000000L)
90
// MessageId: TSS_E_FAIL
94
// An internal error has been detected, but the source is unknown.
96
#define TSS_E_FAIL (UINT32)(TSS_E_BASE + 0x002L)
99
// MessageId: TSS_E_BAD_PARAMETER
103
// One or more parameter is bad.
105
#define TSS_E_BAD_PARAMETER (UINT32)(TSS_E_BASE + 0x003L)
108
// MessageId: TSS_E_INTERNAL_ERROR
112
// An internal SW error has been detected.
114
#define TSS_E_INTERNAL_ERROR (UINT32)(TSS_E_BASE + 0x004L)
117
// MessageId: TSS_E_OUTOFMEMORY
121
// Ran out of memory.
123
#define TSS_E_OUTOFMEMORY (UINT32)(TSS_E_BASE + 0x005L)
126
// MessageId: TSS_E_NOTIMPL
132
#define TSS_E_NOTIMPL (UINT32)(TSS_E_BASE + 0x006L)
135
// MessageId: TSS_E_KEY_ALREADY_REGISTERED
139
// Key is already registered
141
#define TSS_E_KEY_ALREADY_REGISTERED (UINT32)(TSS_E_BASE + 0x008L)
145
// MessageId: TSS_E_TPM_UNEXPECTED
149
// An unexpected TPM error has occurred.
151
#define TSS_E_TPM_UNEXPECTED (UINT32)(TSS_E_BASE + 0x010L)
154
// MessageId: TSS_E_COMM_FAILURE
158
// A communications error with the TPM has been detected.
160
#define TSS_E_COMM_FAILURE (UINT32)(TSS_E_BASE + 0x011L)
163
// MessageId: TSS_E_TIMEOUT
167
// The operation has timed out.
169
#define TSS_E_TIMEOUT (UINT32)(TSS_E_BASE + 0x012L)
172
// MessageId: TSS_E_TPM_UNSUPPORTED_FEATURE
176
// The TPM does not support the requested feature.
178
#define TSS_E_TPM_UNSUPPORTED_FEATURE (UINT32)(TSS_E_BASE + 0x014L)
181
// MessageId: TSS_E_CANCELED
185
// The action was canceled by request.
187
#define TSS_E_CANCELED (UINT32)(TSS_E_BASE + 0x016L)
190
// MessageId: TSS_E_PS_KEY_NOTFOUND
194
// The key cannot be found in the persistent storage database.
196
#define TSS_E_PS_KEY_NOTFOUND (UINT32)(TSS_E_BASE + 0x020L)
198
// MessageId: TSS_E_PS_KEY_EXISTS
202
// The key already exists in the persistent storage database.
204
#define TSS_E_PS_KEY_EXISTS (UINT32)(TSS_E_BASE + 0x021L)
207
// MessageId: TSS_E_PS_BAD_KEY_STATE
211
// The key data set not valid in the persistent storage database.
213
#define TSS_E_PS_BAD_KEY_STATE (UINT32)(TSS_E_BASE + 0x022L)
217
// error codes returned by specific TSS Service Provider Interface methods
218
// offset TSS_TSPI_OFFSET
222
// MessageId: TSS_E_INVALID_OBJECT_TYPE
226
// Object type not valid for this operation.
228
#define TSS_E_INVALID_OBJECT_TYPE (UINT32)(TSS_E_BASE + 0x101L)
231
// MessageId: TSS_E_NO_CONNECTION
235
// Core Service connection doesn't exist.
237
#define TSS_E_NO_CONNECTION (UINT32)(TSS_E_BASE + 0x102L)
240
// MessageId: TSS_E_CONNECTION_FAILED
244
// Core Service connection failed.
246
#define TSS_E_CONNECTION_FAILED (UINT32)(TSS_E_BASE + 0x103L)
249
// MessageId: TSS_E_CONNECTION_BROKEN
253
// Communication with Core Service failed.
255
#define TSS_E_CONNECTION_BROKEN (UINT32)(TSS_E_BASE + 0x104L)
258
// MessageId: TSS_E_HASH_INVALID_ALG
262
// Invalid hash algorithm.
264
#define TSS_E_HASH_INVALID_ALG (UINT32)(TSS_E_BASE + 0x105L)
267
// MessageId: TSS_E_HASH_INVALID_LENGTH
271
// Hash length is inconsistent with hash algorithm.
273
#define TSS_E_HASH_INVALID_LENGTH (UINT32)(TSS_E_BASE + 0x106L)
276
// MessageId: TSS_E_HASH_NO_DATA
280
// Hash object has no internal hash value.
282
#define TSS_E_HASH_NO_DATA (UINT32)(TSS_E_BASE + 0x107L)
286
// MessageId: TSS_E_INVALID_ATTRIB_FLAG
290
// Flag value for attrib-functions inconsistent.
292
#define TSS_E_INVALID_ATTRIB_FLAG (UINT32)(TSS_E_BASE + 0x109L)
295
// MessageId: TSS_E_INVALID_ATTRIB_SUBFLAG
299
// Subflag value for attrib-functions inconsistent.
301
#define TSS_E_INVALID_ATTRIB_SUBFLAG (UINT32)(TSS_E_BASE + 0x10AL)
304
// MessageId: TSS_E_INVALID_ATTRIB_DATA
308
// Data for attrib-functions invalid.
310
#define TSS_E_INVALID_ATTRIB_DATA (UINT32)(TSS_E_BASE + 0x10BL)
313
// MessageId: TSS_E_INVALID_OBJECT_INITFLAG
317
// Wrong flag information for object creation.
319
// The alternate spelling is supported to be compatible with a typo
320
// in the 1.1b header files.
322
#define TSS_E_INVALID_OBJECT_INIT_FLAG (UINT32)(TSS_E_BASE + 0x10CL)
323
#define TSS_E_INVALID_OBJECT_INITFLAG TSS_E_INVALID_OBJECT_INIT_FLAG
326
// MessageId: TSS_E_NO_PCRS_SET
330
// No PCR register are selected or set.
332
#define TSS_E_NO_PCRS_SET (UINT32)(TSS_E_BASE + 0x10DL)
335
// MessageId: TSS_E_KEY_NOT_LOADED
339
// The addressed key is currently not loaded.
341
#define TSS_E_KEY_NOT_LOADED (UINT32)(TSS_E_BASE + 0x10EL)
344
// MessageId: TSS_E_KEY_NOT_SET
348
// No key information is currently available.
350
#define TSS_E_KEY_NOT_SET (UINT32)(TSS_E_BASE + 0x10FL)
353
// MessageId: TSS_E_VALIDATION_FAILED
357
// Internal validation of data failed.
359
#define TSS_E_VALIDATION_FAILED (UINT32)(TSS_E_BASE + 0x110L)
362
// MessageId: TSS_E_TSP_AUTHREQUIRED
366
// Authorization is required.
368
#define TSS_E_TSP_AUTHREQUIRED (UINT32)(TSS_E_BASE + 0x111L)
371
// MessageId: TSS_E_TSP_AUTH2REQUIRED
375
// Multiple authorization is required.
377
#define TSS_E_TSP_AUTH2REQUIRED (UINT32)(TSS_E_BASE + 0x112L)
380
// MessageId: TSS_E_TSP_AUTHFAIL
384
// Authorization failed.
386
#define TSS_E_TSP_AUTHFAIL (UINT32)(TSS_E_BASE + 0x113L)
389
// MessageId: TSS_E_TSP_AUTH2FAIL
393
// Multiple authorization failed.
395
#define TSS_E_TSP_AUTH2FAIL (UINT32)(TSS_E_BASE + 0x114L)
398
// MessageId: TSS_E_KEY_NO_MIGRATION_POLICY
402
// There's no migration policy object set for the addressed key.
404
#define TSS_E_KEY_NO_MIGRATION_POLICY (UINT32)(TSS_E_BASE + 0x115L)
407
// MessageId: TSS_E_POLICY_NO_SECRET
411
// No secret information is currently available for the addressed policy object.
413
#define TSS_E_POLICY_NO_SECRET (UINT32)(TSS_E_BASE + 0x116L)
416
// MessageId: TSS_E_INVALID_OBJ_ACCESS
420
// The operation failed due to an invalid object status.
422
#define TSS_E_INVALID_OBJ_ACCESS (UINT32)(TSS_E_BASE + 0x117L)
425
// MessageId: TSS_E_INVALID_ENCSCHEME
431
#define TSS_E_INVALID_ENCSCHEME (UINT32)(TSS_E_BASE + 0x118L)
435
// MessageId: TSS_E_INVALID_SIGSCHEME
441
#define TSS_E_INVALID_SIGSCHEME (UINT32)(TSS_E_BASE + 0x119L)
444
// MessageId: TSS_E_ENC_INVALID_LENGTH
450
#define TSS_E_ENC_INVALID_LENGTH (UINT32)(TSS_E_BASE + 0x120L)
454
// MessageId: TSS_E_ENC_NO_DATA
460
#define TSS_E_ENC_NO_DATA (UINT32)(TSS_E_BASE + 0x121L)
463
// MessageId: TSS_E_ENC_INVALID_TYPE
469
#define TSS_E_ENC_INVALID_TYPE (UINT32)(TSS_E_BASE + 0x122L)
473
// MessageId: TSS_E_INVALID_KEYUSAGE
479
#define TSS_E_INVALID_KEYUSAGE (UINT32)(TSS_E_BASE + 0x123L)
482
// MessageId: TSS_E_VERIFICATION_FAILED
488
#define TSS_E_VERIFICATION_FAILED (UINT32)(TSS_E_BASE + 0x124L)
491
// MessageId: TSS_E_HASH_NO_IDENTIFIER
495
// Hash algorithm identifier not set.
497
#define TSS_E_HASH_NO_IDENTIFIER (UINT32)(TSS_E_BASE + 0x125L)
500
// MessageId: TSS_E_INVALID_HANDLE
506
#define TSS_E_INVALID_HANDLE (UINT32)(TSS_E_BASE + 0x126L)
509
// MessageId: TSS_E_SILENT_CONTEXT
513
// A silent context requires user input
515
#define TSS_E_SILENT_CONTEXT (UINT32)(TSS_E_BASE + 0x127L)
518
// MessageId: TSS_E_EK_CHECKSUM
522
// TSP is instructed to verify the EK checksum and it does not verify.
524
#define TSS_E_EK_CHECKSUM (UINT32)(TSS_E_BASE + 0x128L)
528
// MessageId: TSS_E_DELGATION_NOTSET
532
// The Policy object does not have a delegation blob set.
534
#define TSS_E_DELEGATION_NOTSET (UINT32)(TSS_E_BASE + 0x129L)
537
// MessageId: TSS_E_DELFAMILY_NOTFOUND
541
// The specified delegation family was not found
543
#define TSS_E_DELFAMILY_NOTFOUND (UINT32)(TSS_E_BASE + 0x130L)
546
// MessageId: TSS_E_DELFAMILY_ROWEXISTS
550
// The specified delegation family table row is already in use and
551
// the command flags does not allow the TSS to overwrite the existing
554
#define TSS_E_DELFAMILY_ROWEXISTS (UINT32)(TSS_E_BASE + 0x131L)
557
// MessageId: TSS_E_VERSION_MISMATCH
561
// The specified delegation family table row is already in use and
562
// the command flags does not allow the TSS to overwrite the existing
565
#define TSS_E_VERSION_MISMATCH (UINT32)(TSS_E_BASE + 0x132L)
568
// MessageId: TSS_E_DAA_AR_DECRYPTION_ERROR
570
// Decryption of the encrypted pseudonym has failed, due to
571
// either a wrong secret key or a wrong decryption condition.
573
#define TSS_E_DAA_AR_DECRYPTION_ERROR (UINT32)(TSS_E_BASE + 0x133L)
576
// MessageId: TSS_E_DAA_AUTHENTICATION_ERROR
578
// The TPM could not be authenticated by the DAA Issuer.
580
#define TSS_E_DAA_AUTHENTICATION_ERROR (UINT32)(TSS_E_BASE + 0x134L)
583
// MessageId: TSS_E_DAA_CHALLENGE_RESPONSE_ERROR
585
// DAA Challenge response error.
587
#define TSS_E_DAA_CHALLENGE_RESPONSE_ERROR (UINT32)(TSS_E_BASE + 0x135L)
590
// MessageId: TSS_E_DAA_CREDENTIAL_PROOF_ERROR
592
// Verification of the credential TSS_DAA_CRED_ISSUER issued by
593
// the DAA Issuer has failed.
595
#define TSS_E_DAA_CREDENTIAL_PROOF_ERROR (UINT32)(TSS_E_BASE + 0x136L)
598
// MessageId: TSS_E_DAA_CREDENTIAL_REQUEST_PROOF_ERROR
600
// Verification of the platform's credential request
601
// TSS_DAA_CREDENTIAL_REQUEST has failed.
603
#define TSS_E_DAA_CREDENTIAL_REQUEST_PROOF_ERROR (UINT32)(TSS_E_BASE + 0x137L)
606
// MessageId: TSS_E_DAA_ISSUER_KEY_ERROR
608
// DAA Issuer's authentication key chain could not be verified or
611
#define TSS_E_DAA_ISSUER_KEY_ERROR (UINT32)(TSS_E_BASE + 0x138L)
614
// MessageId: TSS_E_DAA_PSEUDONYM_ERROR
616
// While verifying the pseudonym of the TPM, the private key of the
617
// TPM was found on the rogue list.
619
#define TSS_E_DAA_PSEUDONYM_ERROR (UINT32)(TSS_E_BASE + 0x139L)
622
// MessageId: TSS_E_INVALID_RESOURCE
624
// Pointer to memory wrong.
626
#define TSS_E_INVALID_RESOURCE (UINT32)(TSS_E_BASE + 0x13AL)
629
// MessageId: TSS_E_NV_AREA_EXIST
631
// The NV area referenced already exists
633
#define TSS_E_NV_AREA_EXIST (UINT32)(TSS_E_BASE + 0x13BL)
636
// MessageId: TSS_E_NV_AREA_NOT_EXIST
638
// The NV area referenced doesn't exist
640
#define TSS_E_NV_AREA_NOT_EXIST (UINT32)(TSS_E_BASE + 0x13CL)
643
// MessageId: TSS_E_TSP_TRANS_AUTHFAIL
645
// The transport session authorization failed
647
#define TSS_E_TSP_TRANS_AUTHFAIL (UINT32)(TSS_E_BASE + 0x13DL)
650
// MessageId: TSS_E_TSP_TRANS_AUTHREQUIRED
652
// Authorization for transport is required
654
#define TSS_E_TSP_TRANS_AUTHREQUIRED (UINT32)(TSS_E_BASE + 0x13EL)
657
// MessageId: TSS_E_TSP_TRANS_NOT_EXCLUSIVE
659
// A command was executed outside of an exclusive transport session.
661
#define TSS_E_TSP_TRANS_NOTEXCLUSIVE (UINT32)(TSS_E_BASE + 0x13FL)
664
// MessageId: TSS_E_TSP_TRANS_FAIL
666
// Generic transport protection error.
668
#define TSS_E_TSP_TRANS_FAIL (UINT32)(TSS_E_BASE + 0x140L)
671
// MessageId: TSS_E_TSP_TRANS_NO_PUBKEY
673
// A command could not be executed through a logged transport session
674
// because the command used a key and the key's public key is not
677
#define TSS_E_TSP_TRANS_NO_PUBKEY (UINT32)(TSS_E_BASE + 0x141L)
680
// MessageId: TSS_E_NO_ACTIVE_COUNTER
682
// The TPM active counter has not been set yet.
684
#define TSS_E_NO_ACTIVE_COUNTER (UINT32)(TSS_E_BASE + 0x142L)
687
#endif // __TSS_ERROR_H__