]> git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Library/Include/openssl/opensslconf.h
b8d59aebe8add543310427ecb0d1877dfc770364
[mirror_edk2.git] / CryptoPkg / Library / Include / openssl / opensslconf.h
1 /*
2 * WARNING: do not edit!
3 * Generated from include/openssl/opensslconf.h.in
4 *
5 * Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
6 *
7 * Licensed under the OpenSSL license (the "License"). You may not use
8 * this file except in compliance with the License. You can obtain a copy
9 * in the file LICENSE in the source distribution or at
10 * https://www.openssl.org/source/license.html
11 */
12
13 #include <openssl/opensslv.h>
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 #ifdef OPENSSL_ALGORITHM_DEFINES
20 # error OPENSSL_ALGORITHM_DEFINES no longer supported
21 #endif
22
23 /*
24 * OpenSSL was configured with the following options:
25 */
26
27 #ifndef OPENSSL_SYS_UEFI
28 # define OPENSSL_SYS_UEFI 1
29 #endif
30 #define OPENSSL_MIN_API 0x10100000L
31 #ifndef OPENSSL_NO_BF
32 # define OPENSSL_NO_BF
33 #endif
34 #ifndef OPENSSL_NO_BLAKE2
35 # define OPENSSL_NO_BLAKE2
36 #endif
37 #ifndef OPENSSL_NO_CAMELLIA
38 # define OPENSSL_NO_CAMELLIA
39 #endif
40 #ifndef OPENSSL_NO_CAST
41 # define OPENSSL_NO_CAST
42 #endif
43 #ifndef OPENSSL_NO_CHACHA
44 # define OPENSSL_NO_CHACHA
45 #endif
46 #ifndef OPENSSL_NO_CMS
47 # define OPENSSL_NO_CMS
48 #endif
49 #ifndef OPENSSL_NO_CT
50 # define OPENSSL_NO_CT
51 #endif
52 #ifndef OPENSSL_NO_DES
53 # define OPENSSL_NO_DES
54 #endif
55 #ifndef OPENSSL_NO_DSA
56 # define OPENSSL_NO_DSA
57 #endif
58 #ifndef OPENSSL_NO_EC
59 # define OPENSSL_NO_EC
60 #endif
61 #ifndef OPENSSL_NO_IDEA
62 # define OPENSSL_NO_IDEA
63 #endif
64 #ifndef OPENSSL_NO_MD2
65 # define OPENSSL_NO_MD2
66 #endif
67 #ifndef OPENSSL_NO_MD4
68 # define OPENSSL_NO_MD4
69 #endif
70 #ifndef OPENSSL_NO_MDC2
71 # define OPENSSL_NO_MDC2
72 #endif
73 #ifndef OPENSSL_NO_POLY1305
74 # define OPENSSL_NO_POLY1305
75 #endif
76 #ifndef OPENSSL_NO_RC2
77 # define OPENSSL_NO_RC2
78 #endif
79 #ifndef OPENSSL_NO_RC4
80 # define OPENSSL_NO_RC4
81 #endif
82 #ifndef OPENSSL_NO_RC5
83 # define OPENSSL_NO_RC5
84 #endif
85 #ifndef OPENSSL_NO_RMD160
86 # define OPENSSL_NO_RMD160
87 #endif
88 #ifndef OPENSSL_NO_SEED
89 # define OPENSSL_NO_SEED
90 #endif
91 #ifndef OPENSSL_NO_SM2
92 # define OPENSSL_NO_SM2
93 #endif
94 #ifndef OPENSSL_NO_SRP
95 # define OPENSSL_NO_SRP
96 #endif
97 #ifndef OPENSSL_NO_TS
98 # define OPENSSL_NO_TS
99 #endif
100 #ifndef OPENSSL_NO_WHIRLPOOL
101 # define OPENSSL_NO_WHIRLPOOL
102 #endif
103 #ifndef OPENSSL_RAND_SEED_NONE
104 # define OPENSSL_RAND_SEED_NONE
105 #endif
106 #ifndef OPENSSL_NO_AFALGENG
107 # define OPENSSL_NO_AFALGENG
108 #endif
109 #ifndef OPENSSL_NO_APPS
110 # define OPENSSL_NO_APPS
111 #endif
112 #ifndef OPENSSL_NO_ASAN
113 # define OPENSSL_NO_ASAN
114 #endif
115 #ifndef OPENSSL_NO_ASYNC
116 # define OPENSSL_NO_ASYNC
117 #endif
118 #ifndef OPENSSL_NO_AUTOERRINIT
119 # define OPENSSL_NO_AUTOERRINIT
120 #endif
121 #ifndef OPENSSL_NO_AUTOLOAD_CONFIG
122 # define OPENSSL_NO_AUTOLOAD_CONFIG
123 #endif
124 #ifndef OPENSSL_NO_CAPIENG
125 # define OPENSSL_NO_CAPIENG
126 #endif
127 #ifndef OPENSSL_NO_CRYPTO_MDEBUG
128 # define OPENSSL_NO_CRYPTO_MDEBUG
129 #endif
130 #ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
131 # define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
132 #endif
133 #ifndef OPENSSL_NO_DEPRECATED
134 # define OPENSSL_NO_DEPRECATED
135 #endif
136 #ifndef OPENSSL_NO_DEVCRYPTOENG
137 # define OPENSSL_NO_DEVCRYPTOENG
138 #endif
139 #ifndef OPENSSL_NO_DGRAM
140 # define OPENSSL_NO_DGRAM
141 #endif
142 #ifndef OPENSSL_NO_DTLS
143 # define OPENSSL_NO_DTLS
144 #endif
145 #ifndef OPENSSL_NO_DTLS1
146 # define OPENSSL_NO_DTLS1
147 #endif
148 #ifndef OPENSSL_NO_DTLS1_2
149 # define OPENSSL_NO_DTLS1_2
150 #endif
151 #ifndef OPENSSL_NO_EC2M
152 # define OPENSSL_NO_EC2M
153 #endif
154 #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
155 # define OPENSSL_NO_EC_NISTP_64_GCC_128
156 #endif
157 #ifndef OPENSSL_NO_ECDH
158 # define OPENSSL_NO_ECDH
159 #endif
160 #ifndef OPENSSL_NO_ECDSA
161 # define OPENSSL_NO_ECDSA
162 #endif
163 #ifndef OPENSSL_NO_EGD
164 # define OPENSSL_NO_EGD
165 #endif
166 #ifndef OPENSSL_NO_ENGINE
167 # define OPENSSL_NO_ENGINE
168 #endif
169 #ifndef OPENSSL_NO_ERR
170 # define OPENSSL_NO_ERR
171 #endif
172 #ifndef OPENSSL_NO_EXTERNAL_TESTS
173 # define OPENSSL_NO_EXTERNAL_TESTS
174 #endif
175 #ifndef OPENSSL_NO_FILENAMES
176 # define OPENSSL_NO_FILENAMES
177 #endif
178 #ifndef OPENSSL_NO_FUZZ_AFL
179 # define OPENSSL_NO_FUZZ_AFL
180 #endif
181 #ifndef OPENSSL_NO_FUZZ_LIBFUZZER
182 # define OPENSSL_NO_FUZZ_LIBFUZZER
183 #endif
184 #ifndef OPENSSL_NO_GOST
185 # define OPENSSL_NO_GOST
186 #endif
187 #ifndef OPENSSL_NO_HEARTBEATS
188 # define OPENSSL_NO_HEARTBEATS
189 #endif
190 #ifndef OPENSSL_NO_HW
191 # define OPENSSL_NO_HW
192 #endif
193 #ifndef OPENSSL_NO_MSAN
194 # define OPENSSL_NO_MSAN
195 #endif
196 #ifndef OPENSSL_NO_OCB
197 # define OPENSSL_NO_OCB
198 #endif
199 #ifndef OPENSSL_NO_POSIX_IO
200 # define OPENSSL_NO_POSIX_IO
201 #endif
202 #ifndef OPENSSL_NO_RFC3779
203 # define OPENSSL_NO_RFC3779
204 #endif
205 #ifndef OPENSSL_NO_SCRYPT
206 # define OPENSSL_NO_SCRYPT
207 #endif
208 #ifndef OPENSSL_NO_SCTP
209 # define OPENSSL_NO_SCTP
210 #endif
211 #ifndef OPENSSL_NO_SOCK
212 # define OPENSSL_NO_SOCK
213 #endif
214 #ifndef OPENSSL_NO_SSL_TRACE
215 # define OPENSSL_NO_SSL_TRACE
216 #endif
217 #ifndef OPENSSL_NO_SSL3
218 # define OPENSSL_NO_SSL3
219 #endif
220 #ifndef OPENSSL_NO_SSL3_METHOD
221 # define OPENSSL_NO_SSL3_METHOD
222 #endif
223 #ifndef OPENSSL_NO_STDIO
224 # define OPENSSL_NO_STDIO
225 #endif
226 #ifndef OPENSSL_NO_TESTS
227 # define OPENSSL_NO_TESTS
228 #endif
229 #ifndef OPENSSL_NO_TLS1_3
230 # define OPENSSL_NO_TLS1_3
231 #endif
232 #ifndef OPENSSL_NO_UBSAN
233 # define OPENSSL_NO_UBSAN
234 #endif
235 #ifndef OPENSSL_NO_UI_CONSOLE
236 # define OPENSSL_NO_UI_CONSOLE
237 #endif
238 #ifndef OPENSSL_NO_UNIT_TEST
239 # define OPENSSL_NO_UNIT_TEST
240 #endif
241 #ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
242 # define OPENSSL_NO_WEAK_SSL_CIPHERS
243 #endif
244 #ifndef OPENSSL_NO_DYNAMIC_ENGINE
245 # define OPENSSL_NO_DYNAMIC_ENGINE
246 #endif
247
248
249 /*
250 * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers
251 * don't like that. This will hopefully silence them.
252 */
253 #define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy;
254
255 /*
256 * Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the
257 * declarations of functions deprecated in or before <version>. Otherwise, they
258 * still won't see them if the library has been built to disable deprecated
259 * functions.
260 */
261 #ifndef DECLARE_DEPRECATED
262 # define DECLARE_DEPRECATED(f) f;
263 # ifdef __GNUC__
264 # if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
265 # undef DECLARE_DEPRECATED
266 # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
267 # endif
268 #elif defined(__SUNPRO_C)
269 #if (__SUNPRO_C >= 0x5130)
270 #undef DECLARE_DEPRECATED
271 #define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
272 #endif
273 # endif
274 #endif
275
276 #ifndef OPENSSL_FILE
277 # ifdef OPENSSL_NO_FILENAMES
278 # define OPENSSL_FILE ""
279 # define OPENSSL_LINE 0
280 # else
281 # define OPENSSL_FILE __FILE__
282 # define OPENSSL_LINE __LINE__
283 # endif
284 #endif
285
286 #ifndef OPENSSL_MIN_API
287 # define OPENSSL_MIN_API 0
288 #endif
289
290 #if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API
291 # undef OPENSSL_API_COMPAT
292 # define OPENSSL_API_COMPAT OPENSSL_MIN_API
293 #endif
294
295 /*
296 * Do not deprecate things to be deprecated in version 1.2.0 before the
297 * OpenSSL version number matches.
298 */
299 #if OPENSSL_VERSION_NUMBER < 0x10200000L
300 # define DEPRECATEDIN_1_2_0(f) f;
301 #elif OPENSSL_API_COMPAT < 0x10200000L
302 # define DEPRECATEDIN_1_2_0(f) DECLARE_DEPRECATED(f)
303 #else
304 # define DEPRECATEDIN_1_2_0(f)
305 #endif
306
307 #if OPENSSL_API_COMPAT < 0x10100000L
308 # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f)
309 #else
310 # define DEPRECATEDIN_1_1_0(f)
311 #endif
312
313 #if OPENSSL_API_COMPAT < 0x10000000L
314 # define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f)
315 #else
316 # define DEPRECATEDIN_1_0_0(f)
317 #endif
318
319 #if OPENSSL_API_COMPAT < 0x00908000L
320 # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f)
321 #else
322 # define DEPRECATEDIN_0_9_8(f)
323 #endif
324
325 /* Generate 80386 code? */
326 #undef I386_ONLY
327
328 #undef OPENSSL_UNISTD
329 #define OPENSSL_UNISTD <unistd.h>
330
331 #undef OPENSSL_EXPORT_VAR_AS_FUNCTION
332
333 /*
334 * The following are cipher-specific, but are part of the public API.
335 */
336 #if !defined(OPENSSL_SYS_UEFI)
337 # undef BN_LLONG
338 /* Only one for the following should be defined */
339 # undef SIXTY_FOUR_BIT_LONG
340 # undef SIXTY_FOUR_BIT
341 # define THIRTY_TWO_BIT
342 #endif
343
344 #define RC4_INT unsigned int
345
346 #ifdef __cplusplus
347 }
348 #endif