xref: /freebsd/crypto/openssl/include/openssl/evperr.h (revision e7be843b4a162e68651d3911f0357ed464915629)
1 /*
2  * Generated by util/mkerr.pl DO NOT EDIT
3  * Copyright 1995-2025 The OpenSSL Project Authors. All Rights Reserved.
4  *
5  * Licensed under the Apache License 2.0 (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 OPENSSL_EVPERR_H
12 # define OPENSSL_EVPERR_H
13 # pragma once
14 
15 # include <openssl/opensslconf.h>
16 # include <openssl/symhacks.h>
17 # include <openssl/cryptoerr_legacy.h>
18 
19 
20 
21 /*
22  * EVP reason codes.
23  */
24 # define EVP_R_AES_KEY_SETUP_FAILED                       143
25 # define EVP_R_ARIA_KEY_SETUP_FAILED                      176
26 # define EVP_R_BAD_ALGORITHM_NAME                         200
27 # define EVP_R_BAD_DECRYPT                                100
28 # define EVP_R_BAD_KEY_LENGTH                             195
29 # define EVP_R_BUFFER_TOO_SMALL                           155
30 # define EVP_R_CACHE_CONSTANTS_FAILED                     225
31 # define EVP_R_CAMELLIA_KEY_SETUP_FAILED                  157
32 # define EVP_R_CANNOT_GET_PARAMETERS                      197
33 # define EVP_R_CANNOT_SET_PARAMETERS                      198
34 # define EVP_R_CIPHER_NOT_GCM_MODE                        184
35 # define EVP_R_CIPHER_PARAMETER_ERROR                     122
36 # define EVP_R_COMMAND_NOT_SUPPORTED                      147
37 # define EVP_R_CONFLICTING_ALGORITHM_NAME                 201
38 # define EVP_R_COPY_ERROR                                 173
39 # define EVP_R_CTRL_NOT_IMPLEMENTED                       132
40 # define EVP_R_CTRL_OPERATION_NOT_IMPLEMENTED             133
41 # define EVP_R_DATA_NOT_MULTIPLE_OF_BLOCK_LENGTH          138
42 # define EVP_R_DECODE_ERROR                               114
43 # define EVP_R_DEFAULT_QUERY_PARSE_ERROR                  210
44 # define EVP_R_DIFFERENT_KEY_TYPES                        101
45 # define EVP_R_DIFFERENT_PARAMETERS                       153
46 # define EVP_R_ERROR_LOADING_SECTION                      165
47 # define EVP_R_EXPECTING_AN_HMAC_KEY                      174
48 # define EVP_R_EXPECTING_AN_RSA_KEY                       127
49 # define EVP_R_EXPECTING_A_DH_KEY                         128
50 # define EVP_R_EXPECTING_A_DSA_KEY                        129
51 # define EVP_R_EXPECTING_A_ECX_KEY                        219
52 # define EVP_R_EXPECTING_A_EC_KEY                         142
53 # define EVP_R_EXPECTING_A_POLY1305_KEY                   164
54 # define EVP_R_EXPECTING_A_SIPHASH_KEY                    175
55 # define EVP_R_FINAL_ERROR                                188
56 # define EVP_R_GENERATE_ERROR                             214
57 # define EVP_R_GETTING_ALGORITHMIDENTIFIER_NOT_SUPPORTED  229
58 # define EVP_R_GET_RAW_KEY_FAILED                         182
59 # define EVP_R_ILLEGAL_SCRYPT_PARAMETERS                  171
60 # define EVP_R_INACCESSIBLE_DOMAIN_PARAMETERS             204
61 # define EVP_R_INACCESSIBLE_KEY                           203
62 # define EVP_R_INITIALIZATION_ERROR                       134
63 # define EVP_R_INPUT_NOT_INITIALIZED                      111
64 # define EVP_R_INVALID_CUSTOM_LENGTH                      185
65 # define EVP_R_INVALID_DIGEST                             152
66 # define EVP_R_INVALID_IV_LENGTH                          194
67 # define EVP_R_INVALID_KEY                                163
68 # define EVP_R_INVALID_KEY_LENGTH                         130
69 # define EVP_R_INVALID_LENGTH                             221
70 # define EVP_R_INVALID_NULL_ALGORITHM                     218
71 # define EVP_R_INVALID_OPERATION                          148
72 # define EVP_R_INVALID_PROVIDER_FUNCTIONS                 193
73 # define EVP_R_INVALID_SALT_LENGTH                        186
74 # define EVP_R_INVALID_SECRET_LENGTH                      223
75 # define EVP_R_INVALID_SEED_LENGTH                        220
76 # define EVP_R_INVALID_VALUE                              222
77 # define EVP_R_KEYMGMT_EXPORT_FAILURE                     205
78 # define EVP_R_KEY_SETUP_FAILED                           180
79 # define EVP_R_LOCKING_NOT_SUPPORTED                      213
80 # define EVP_R_MEMORY_LIMIT_EXCEEDED                      172
81 # define EVP_R_MESSAGE_DIGEST_IS_NULL                     159
82 # define EVP_R_METHOD_NOT_SUPPORTED                       144
83 # define EVP_R_MISSING_PARAMETERS                         103
84 # define EVP_R_NOT_ABLE_TO_COPY_CTX                       190
85 # define EVP_R_NOT_XOF_OR_INVALID_LENGTH                  178
86 # define EVP_R_NO_CIPHER_SET                              131
87 # define EVP_R_NO_DEFAULT_DIGEST                          158
88 # define EVP_R_NO_DIGEST_SET                              139
89 # define EVP_R_NO_IMPORT_FUNCTION                         206
90 # define EVP_R_NO_KEYMGMT_AVAILABLE                       199
91 # define EVP_R_NO_KEYMGMT_PRESENT                         196
92 # define EVP_R_NO_KEY_SET                                 154
93 # define EVP_R_NO_OPERATION_SET                           149
94 # define EVP_R_NULL_MAC_PKEY_CTX                          208
95 # define EVP_R_ONLY_ONESHOT_SUPPORTED                     177
96 # define EVP_R_OPERATION_NOT_INITIALIZED                  151
97 # define EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE   150
98 # define EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_SIGNATURE_TYPE 226
99 # define EVP_R_OUTPUT_WOULD_OVERFLOW                      202
100 # define EVP_R_PARAMETER_TOO_LARGE                        187
101 # define EVP_R_PARTIALLY_OVERLAPPING                      162
102 # define EVP_R_PBKDF2_ERROR                               181
103 # define EVP_R_PIPELINE_NOT_SUPPORTED                     230
104 # define EVP_R_PKEY_APPLICATION_ASN1_METHOD_ALREADY_REGISTERED 179
105 # define EVP_R_PRIVATE_KEY_DECODE_ERROR                   145
106 # define EVP_R_PRIVATE_KEY_ENCODE_ERROR                   146
107 # define EVP_R_PROVIDER_ASYM_CIPHER_FAILURE               232
108 # define EVP_R_PROVIDER_ASYM_CIPHER_NOT_SUPPORTED         235
109 # define EVP_R_PROVIDER_KEYMGMT_FAILURE                   233
110 # define EVP_R_PROVIDER_KEYMGMT_NOT_SUPPORTED             236
111 # define EVP_R_PROVIDER_SIGNATURE_FAILURE                 234
112 # define EVP_R_PROVIDER_SIGNATURE_NOT_SUPPORTED           237
113 # define EVP_R_PUBLIC_KEY_NOT_RSA                         106
114 # define EVP_R_SETTING_XOF_FAILED                         227
115 # define EVP_R_SET_DEFAULT_PROPERTY_FAILURE               209
116 # define EVP_R_SIGNATURE_TYPE_AND_KEY_TYPE_INCOMPATIBLE   228
117 # define EVP_R_TOO_MANY_PIPES                             231
118 # define EVP_R_TOO_MANY_RECORDS                           183
119 # define EVP_R_UNABLE_TO_ENABLE_LOCKING                   212
120 # define EVP_R_UNABLE_TO_GET_MAXIMUM_REQUEST_SIZE         215
121 # define EVP_R_UNABLE_TO_GET_RANDOM_STRENGTH              216
122 # define EVP_R_UNABLE_TO_LOCK_CONTEXT                     211
123 # define EVP_R_UNABLE_TO_SET_CALLBACKS                    217
124 # define EVP_R_UNKNOWN_BITS                               166
125 # define EVP_R_UNKNOWN_CIPHER                             160
126 # define EVP_R_UNKNOWN_DIGEST                             161
127 # define EVP_R_UNKNOWN_KEY_TYPE                           207
128 # define EVP_R_UNKNOWN_MAX_SIZE                           167
129 # define EVP_R_UNKNOWN_OPTION                             169
130 # define EVP_R_UNKNOWN_PBE_ALGORITHM                      121
131 # define EVP_R_UNKNOWN_SECURITY_BITS                      168
132 # define EVP_R_UNSUPPORTED_ALGORITHM                      156
133 # define EVP_R_UNSUPPORTED_CIPHER                         107
134 # define EVP_R_UNSUPPORTED_KEYLENGTH                      123
135 # define EVP_R_UNSUPPORTED_KEY_DERIVATION_FUNCTION        124
136 # define EVP_R_UNSUPPORTED_KEY_SIZE                       108
137 # define EVP_R_UNSUPPORTED_KEY_TYPE                       224
138 # define EVP_R_UNSUPPORTED_NUMBER_OF_ROUNDS               135
139 # define EVP_R_UNSUPPORTED_PRF                            125
140 # define EVP_R_UNSUPPORTED_PRIVATE_KEY_ALGORITHM          118
141 # define EVP_R_UNSUPPORTED_SALT_TYPE                      126
142 # define EVP_R_UPDATE_ERROR                               189
143 # define EVP_R_WRAP_MODE_NOT_ALLOWED                      170
144 # define EVP_R_WRONG_FINAL_BLOCK_LENGTH                   109
145 # define EVP_R_XTS_DATA_UNIT_IS_TOO_LARGE                 191
146 # define EVP_R_XTS_DUPLICATED_KEYS                        192
147 
148 #endif
149