1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
3 * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
4 *
5 * Licensed under the OpenSSL license (the "License"). You may not use
6 * this file except in compliance with the License. You can obtain a copy
7 * in the file LICENSE in the source distribution or at
8 * https://www.openssl.org/source/license.html
9 */
10
11#ifndef HEADER_ENGINEERR_H
12# define HEADER_ENGINEERR_H
13
14# include <openssl/opensslconf.h>
15
16# ifndef OPENSSL_NO_ENGINE
17
18# ifdef __cplusplus
19extern "C"
20# endif
21int ERR_load_ENGINE_strings(void);
22
23/*
24 * ENGINE function codes.
25 */
26# define ENGINE_F_DIGEST_UPDATE 198
27# define ENGINE_F_DYNAMIC_CTRL 180
28# define ENGINE_F_DYNAMIC_GET_DATA_CTX 181
29# define ENGINE_F_DYNAMIC_LOAD 182
30# define ENGINE_F_DYNAMIC_SET_DATA_CTX 183
31# define ENGINE_F_ENGINE_ADD 105
32# define ENGINE_F_ENGINE_BY_ID 106
33# define ENGINE_F_ENGINE_CMD_IS_EXECUTABLE 170
34# define ENGINE_F_ENGINE_CTRL 142
35# define ENGINE_F_ENGINE_CTRL_CMD 178
36# define ENGINE_F_ENGINE_CTRL_CMD_STRING 171
37# define ENGINE_F_ENGINE_FINISH 107
38# define ENGINE_F_ENGINE_GET_CIPHER 185
39# define ENGINE_F_ENGINE_GET_DIGEST 186
40# define ENGINE_F_ENGINE_GET_FIRST 195
41# define ENGINE_F_ENGINE_GET_LAST 196
42# define ENGINE_F_ENGINE_GET_NEXT 115
43# define ENGINE_F_ENGINE_GET_PKEY_ASN1_METH 193
44# define ENGINE_F_ENGINE_GET_PKEY_METH 192
45# define ENGINE_F_ENGINE_GET_PREV 116
46# define ENGINE_F_ENGINE_INIT 119
47# define ENGINE_F_ENGINE_LIST_ADD 120
48# define ENGINE_F_ENGINE_LIST_REMOVE 121
49# define ENGINE_F_ENGINE_LOAD_PRIVATE_KEY 150
50# define ENGINE_F_ENGINE_LOAD_PUBLIC_KEY 151
51# define ENGINE_F_ENGINE_LOAD_SSL_CLIENT_CERT 194
52# define ENGINE_F_ENGINE_NEW 122
53# define ENGINE_F_ENGINE_PKEY_ASN1_FIND_STR 197
54# define ENGINE_F_ENGINE_REMOVE 123
55# define ENGINE_F_ENGINE_SET_DEFAULT_STRING 189
56# define ENGINE_F_ENGINE_SET_ID 129
57# define ENGINE_F_ENGINE_SET_NAME 130
58# define ENGINE_F_ENGINE_TABLE_REGISTER 184
59# define ENGINE_F_ENGINE_UNLOCKED_FINISH 191
60# define ENGINE_F_ENGINE_UP_REF 190
61# define ENGINE_F_INT_CLEANUP_ITEM 199
62# define ENGINE_F_INT_CTRL_HELPER 172
63# define ENGINE_F_INT_ENGINE_CONFIGURE 188
64# define ENGINE_F_INT_ENGINE_MODULE_INIT 187
65# define ENGINE_F_OSSL_HMAC_INIT 200
66
67/*
68 * ENGINE reason codes.
69 */
70# define ENGINE_R_ALREADY_LOADED 100
71# define ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER 133
72# define ENGINE_R_CMD_NOT_EXECUTABLE 134
73# define ENGINE_R_COMMAND_TAKES_INPUT 135
74# define ENGINE_R_COMMAND_TAKES_NO_INPUT 136
75# define ENGINE_R_CONFLICTING_ENGINE_ID 103
76# define ENGINE_R_CTRL_COMMAND_NOT_IMPLEMENTED 119
77# define ENGINE_R_DSO_FAILURE 104
78# define ENGINE_R_DSO_NOT_FOUND 132
79# define ENGINE_R_ENGINES_SECTION_ERROR 148
80# define ENGINE_R_ENGINE_CONFIGURATION_ERROR 102
81# define ENGINE_R_ENGINE_IS_NOT_IN_LIST 105
82# define ENGINE_R_ENGINE_SECTION_ERROR 149
83# define ENGINE_R_FAILED_LOADING_PRIVATE_KEY 128
84# define ENGINE_R_FAILED_LOADING_PUBLIC_KEY 129
85# define ENGINE_R_FINISH_FAILED 106
86# define ENGINE_R_ID_OR_NAME_MISSING 108
87# define ENGINE_R_INIT_FAILED 109
88# define ENGINE_R_INTERNAL_LIST_ERROR 110
89# define ENGINE_R_INVALID_ARGUMENT 143
90# define ENGINE_R_INVALID_CMD_NAME 137
91# define ENGINE_R_INVALID_CMD_NUMBER 138
92# define ENGINE_R_INVALID_INIT_VALUE 151
93# define ENGINE_R_INVALID_STRING 150
94# define ENGINE_R_NOT_INITIALISED 117
95# define ENGINE_R_NOT_LOADED 112
96# define ENGINE_R_NO_CONTROL_FUNCTION 120
97# define ENGINE_R_NO_INDEX 144
98# define ENGINE_R_NO_LOAD_FUNCTION 125
99# define ENGINE_R_NO_REFERENCE 130
100# define ENGINE_R_NO_SUCH_ENGINE 116
101# define ENGINE_R_UNIMPLEMENTED_CIPHER 146
102# define ENGINE_R_UNIMPLEMENTED_DIGEST 147
103# define ENGINE_R_UNIMPLEMENTED_PUBLIC_KEY_METHOD 101
104# define ENGINE_R_VERSION_INCOMPATIBILITY 145
105
106# endif
107#endif
108