]>
Commit | Line | Data |
---|---|---|
52df25cf RS |
1 | /* |
2 | * Generated by util/mkerr.pl DO NOT EDIT | |
2a6a5607 | 3 | * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. |
52df25cf | 4 | * |
48f4ad77 | 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use |
52df25cf RS |
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 | ||
ae4186b0 DMSP |
11 | #ifndef OPENSSL_ENGINEERR_H |
12 | # define OPENSSL_ENGINEERR_H | |
d86167ec DMSP |
13 | # pragma once |
14 | ||
15 | # include <openssl/macros.h> | |
936c2b9e | 16 | # ifndef OPENSSL_NO_DEPRECATED_3_0 |
d86167ec DMSP |
17 | # define HEADER_ENGINEERR_H |
18 | # endif | |
52df25cf | 19 | |
cbfa5b03 RS |
20 | # include <openssl/opensslconf.h> |
21 | # include <openssl/symhacks.h> | |
22 | ||
2a6a5607 | 23 | |
048ebccb RL |
24 | # include <openssl/opensslconf.h> |
25 | ||
26 | # ifndef OPENSSL_NO_ENGINE | |
27 | ||
28 | # ifdef __cplusplus | |
a699b8e4 | 29 | extern "C" |
048ebccb | 30 | # endif |
52df25cf | 31 | int ERR_load_ENGINE_strings(void); |
52df25cf RS |
32 | |
33 | /* | |
34 | * ENGINE function codes. | |
35 | */ | |
936c2b9e | 36 | # ifndef OPENSSL_NO_DEPRECATED_3_0 |
cbfa5b03 RS |
37 | # define ENGINE_F_DIGEST_UPDATE 0 |
38 | # define ENGINE_F_DYNAMIC_CTRL 0 | |
39 | # define ENGINE_F_DYNAMIC_GET_DATA_CTX 0 | |
40 | # define ENGINE_F_DYNAMIC_LOAD 0 | |
41 | # define ENGINE_F_DYNAMIC_SET_DATA_CTX 0 | |
42 | # define ENGINE_F_ENGINE_ADD 0 | |
43 | # define ENGINE_F_ENGINE_BY_ID 0 | |
44 | # define ENGINE_F_ENGINE_CMD_IS_EXECUTABLE 0 | |
45 | # define ENGINE_F_ENGINE_CTRL 0 | |
46 | # define ENGINE_F_ENGINE_CTRL_CMD 0 | |
47 | # define ENGINE_F_ENGINE_CTRL_CMD_STRING 0 | |
48 | # define ENGINE_F_ENGINE_FINISH 0 | |
49 | # define ENGINE_F_ENGINE_GET_CIPHER 0 | |
50 | # define ENGINE_F_ENGINE_GET_DIGEST 0 | |
51 | # define ENGINE_F_ENGINE_GET_FIRST 0 | |
52 | # define ENGINE_F_ENGINE_GET_LAST 0 | |
53 | # define ENGINE_F_ENGINE_GET_NEXT 0 | |
54 | # define ENGINE_F_ENGINE_GET_PKEY_ASN1_METH 0 | |
55 | # define ENGINE_F_ENGINE_GET_PKEY_METH 0 | |
56 | # define ENGINE_F_ENGINE_GET_PREV 0 | |
57 | # define ENGINE_F_ENGINE_INIT 0 | |
58 | # define ENGINE_F_ENGINE_LIST_ADD 0 | |
59 | # define ENGINE_F_ENGINE_LIST_REMOVE 0 | |
60 | # define ENGINE_F_ENGINE_LOAD_PRIVATE_KEY 0 | |
61 | # define ENGINE_F_ENGINE_LOAD_PUBLIC_KEY 0 | |
62 | # define ENGINE_F_ENGINE_LOAD_SSL_CLIENT_CERT 0 | |
63 | # define ENGINE_F_ENGINE_NEW 0 | |
64 | # define ENGINE_F_ENGINE_PKEY_ASN1_FIND_STR 0 | |
65 | # define ENGINE_F_ENGINE_REMOVE 0 | |
66 | # define ENGINE_F_ENGINE_SET_DEFAULT_STRING 0 | |
67 | # define ENGINE_F_ENGINE_SET_ID 0 | |
68 | # define ENGINE_F_ENGINE_SET_NAME 0 | |
69 | # define ENGINE_F_ENGINE_TABLE_REGISTER 0 | |
70 | # define ENGINE_F_ENGINE_UNLOCKED_FINISH 0 | |
71 | # define ENGINE_F_ENGINE_UP_REF 0 | |
72 | # define ENGINE_F_INT_CLEANUP_ITEM 0 | |
73 | # define ENGINE_F_INT_CTRL_HELPER 0 | |
74 | # define ENGINE_F_INT_ENGINE_CONFIGURE 0 | |
75 | # define ENGINE_F_INT_ENGINE_MODULE_INIT 0 | |
76 | # define ENGINE_F_OSSL_HMAC_INIT 0 | |
77 | # endif | |
52df25cf RS |
78 | |
79 | /* | |
80 | * ENGINE reason codes. | |
81 | */ | |
048ebccb RL |
82 | # define ENGINE_R_ALREADY_LOADED 100 |
83 | # define ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER 133 | |
84 | # define ENGINE_R_CMD_NOT_EXECUTABLE 134 | |
85 | # define ENGINE_R_COMMAND_TAKES_INPUT 135 | |
86 | # define ENGINE_R_COMMAND_TAKES_NO_INPUT 136 | |
87 | # define ENGINE_R_CONFLICTING_ENGINE_ID 103 | |
88 | # define ENGINE_R_CTRL_COMMAND_NOT_IMPLEMENTED 119 | |
89 | # define ENGINE_R_DSO_FAILURE 104 | |
90 | # define ENGINE_R_DSO_NOT_FOUND 132 | |
91 | # define ENGINE_R_ENGINES_SECTION_ERROR 148 | |
92 | # define ENGINE_R_ENGINE_CONFIGURATION_ERROR 102 | |
93 | # define ENGINE_R_ENGINE_IS_NOT_IN_LIST 105 | |
94 | # define ENGINE_R_ENGINE_SECTION_ERROR 149 | |
95 | # define ENGINE_R_FAILED_LOADING_PRIVATE_KEY 128 | |
96 | # define ENGINE_R_FAILED_LOADING_PUBLIC_KEY 129 | |
97 | # define ENGINE_R_FINISH_FAILED 106 | |
98 | # define ENGINE_R_ID_OR_NAME_MISSING 108 | |
99 | # define ENGINE_R_INIT_FAILED 109 | |
100 | # define ENGINE_R_INTERNAL_LIST_ERROR 110 | |
101 | # define ENGINE_R_INVALID_ARGUMENT 143 | |
102 | # define ENGINE_R_INVALID_CMD_NAME 137 | |
103 | # define ENGINE_R_INVALID_CMD_NUMBER 138 | |
104 | # define ENGINE_R_INVALID_INIT_VALUE 151 | |
105 | # define ENGINE_R_INVALID_STRING 150 | |
106 | # define ENGINE_R_NOT_INITIALISED 117 | |
107 | # define ENGINE_R_NOT_LOADED 112 | |
108 | # define ENGINE_R_NO_CONTROL_FUNCTION 120 | |
109 | # define ENGINE_R_NO_INDEX 144 | |
110 | # define ENGINE_R_NO_LOAD_FUNCTION 125 | |
111 | # define ENGINE_R_NO_REFERENCE 130 | |
112 | # define ENGINE_R_NO_SUCH_ENGINE 116 | |
113 | # define ENGINE_R_UNIMPLEMENTED_CIPHER 146 | |
114 | # define ENGINE_R_UNIMPLEMENTED_DIGEST 147 | |
115 | # define ENGINE_R_UNIMPLEMENTED_PUBLIC_KEY_METHOD 101 | |
116 | # define ENGINE_R_VERSION_INCOMPATIBILITY 145 | |
52df25cf | 117 | |
048ebccb | 118 | # endif |
52df25cf | 119 | #endif |