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