Implemented Error Codes Enumeration for PTS
[strongswan.git] / src / libimcv / tcg / pts / pts_error.c
1 /*
2 * Copyright (C) 2011 Sansar Choinyambuu
3 * HSR Hochschule fuer Technik Rapperswil
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 * for more details.
14 */
15
16 #include "pts_error.h"
17
18 ENUM(pts_error_code_names, TCG_PTS_RESERVED_ERROR, TCG_PTS_UNABLE_DET_PCR,
19 "Reserved Error",
20 "Hash Algorithm Not Supported",
21 "Invalid Path",
22 "File Not Found",
23 "Registry Not Supported",
24 "Registry Key Not Found",
25 "D-H Group Not Supported",
26 "DH-PN Nonce Not Acceptable",
27 "Invalid Functional Name Family",
28 "TPM Version Information Unavailable",
29 "Invalid File Pathname Delimiter",
30 "PTS Operation Not Supported",
31 "Unable To Update Reference Manifest",
32 "Unable To Perform Local Validation",
33 "Unable To Collect Current Evidence",
34 "Unable To Determine Transitive Trust Chain",
35 "Unable To Determine PCR"
36 );