engineerr.h 5.3 KB

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