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