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