]>
git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Library/Include/openssl/opensslconf.h
70862e1054ff5eea398b898fd81aeaf647cc4369
2 * WARNING: do not edit!
3 * Generated from include/openssl/opensslconf.h.in
5 * Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
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
13 #include <openssl/opensslv.h>
19 #ifdef OPENSSL_ALGORITHM_DEFINES
20 # error OPENSSL_ALGORITHM_DEFINES no longer supported
24 * OpenSSL was configured with the following options:
27 #ifndef OPENSSL_SYS_UEFI
28 # define OPENSSL_SYS_UEFI 1
30 #define OPENSSL_MIN_API 0x10100000L
32 # define OPENSSL_NO_BF
34 #ifndef OPENSSL_NO_BLAKE2
35 # define OPENSSL_NO_BLAKE2
37 #ifndef OPENSSL_NO_CAMELLIA
38 # define OPENSSL_NO_CAMELLIA
40 #ifndef OPENSSL_NO_CAST
41 # define OPENSSL_NO_CAST
43 #ifndef OPENSSL_NO_CHACHA
44 # define OPENSSL_NO_CHACHA
46 #ifndef OPENSSL_NO_CMS
47 # define OPENSSL_NO_CMS
50 # define OPENSSL_NO_CT
52 #ifndef OPENSSL_NO_DES
53 # define OPENSSL_NO_DES
55 #ifndef OPENSSL_NO_DSA
56 # define OPENSSL_NO_DSA
59 # define OPENSSL_NO_EC
61 #ifndef OPENSSL_NO_IDEA
62 # define OPENSSL_NO_IDEA
64 #ifndef OPENSSL_NO_MD2
65 # define OPENSSL_NO_MD2
67 #ifndef OPENSSL_NO_MD4
68 # define OPENSSL_NO_MD4
70 #ifndef OPENSSL_NO_MDC2
71 # define OPENSSL_NO_MDC2
73 #ifndef OPENSSL_NO_POLY1305
74 # define OPENSSL_NO_POLY1305
76 #ifndef OPENSSL_NO_RC2
77 # define OPENSSL_NO_RC2
79 #ifndef OPENSSL_NO_RC4
80 # define OPENSSL_NO_RC4
82 #ifndef OPENSSL_NO_RC5
83 # define OPENSSL_NO_RC5
85 #ifndef OPENSSL_NO_RMD160
86 # define OPENSSL_NO_RMD160
88 #ifndef OPENSSL_NO_SEED
89 # define OPENSSL_NO_SEED
91 #ifndef OPENSSL_NO_SM2
92 # define OPENSSL_NO_SM2
94 #ifndef OPENSSL_NO_SRP
95 # define OPENSSL_NO_SRP
98 # define OPENSSL_NO_TS
100 #ifndef OPENSSL_NO_WHIRLPOOL
101 # define OPENSSL_NO_WHIRLPOOL
103 #ifndef OPENSSL_RAND_SEED_NONE
104 # define OPENSSL_RAND_SEED_NONE
106 #ifndef OPENSSL_NO_AFALGENG
107 # define OPENSSL_NO_AFALGENG
109 #ifndef OPENSSL_NO_APPS
110 # define OPENSSL_NO_APPS
112 #ifndef OPENSSL_NO_ASAN
113 # define OPENSSL_NO_ASAN
115 #ifndef OPENSSL_NO_ASM
116 # define OPENSSL_NO_ASM
118 #ifndef OPENSSL_NO_ASYNC
119 # define OPENSSL_NO_ASYNC
121 #ifndef OPENSSL_NO_AUTOERRINIT
122 # define OPENSSL_NO_AUTOERRINIT
124 #ifndef OPENSSL_NO_AUTOLOAD_CONFIG
125 # define OPENSSL_NO_AUTOLOAD_CONFIG
127 #ifndef OPENSSL_NO_CAPIENG
128 # define OPENSSL_NO_CAPIENG
130 #ifndef OPENSSL_NO_CRYPTO_MDEBUG
131 # define OPENSSL_NO_CRYPTO_MDEBUG
133 #ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
134 # define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
136 #ifndef OPENSSL_NO_DEPRECATED
137 # define OPENSSL_NO_DEPRECATED
139 #ifndef OPENSSL_NO_DEVCRYPTOENG
140 # define OPENSSL_NO_DEVCRYPTOENG
142 #ifndef OPENSSL_NO_DGRAM
143 # define OPENSSL_NO_DGRAM
145 #ifndef OPENSSL_NO_DTLS
146 # define OPENSSL_NO_DTLS
148 #ifndef OPENSSL_NO_DTLS1
149 # define OPENSSL_NO_DTLS1
151 #ifndef OPENSSL_NO_DTLS1_2
152 # define OPENSSL_NO_DTLS1_2
154 #ifndef OPENSSL_NO_EC2M
155 # define OPENSSL_NO_EC2M
157 #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
158 # define OPENSSL_NO_EC_NISTP_64_GCC_128
160 #ifndef OPENSSL_NO_ECDH
161 # define OPENSSL_NO_ECDH
163 #ifndef OPENSSL_NO_ECDSA
164 # define OPENSSL_NO_ECDSA
166 #ifndef OPENSSL_NO_EGD
167 # define OPENSSL_NO_EGD
169 #ifndef OPENSSL_NO_ENGINE
170 # define OPENSSL_NO_ENGINE
172 #ifndef OPENSSL_NO_ERR
173 # define OPENSSL_NO_ERR
175 #ifndef OPENSSL_NO_EXTERNAL_TESTS
176 # define OPENSSL_NO_EXTERNAL_TESTS
178 #ifndef OPENSSL_NO_FILENAMES
179 # define OPENSSL_NO_FILENAMES
181 #ifndef OPENSSL_NO_FUZZ_AFL
182 # define OPENSSL_NO_FUZZ_AFL
184 #ifndef OPENSSL_NO_FUZZ_LIBFUZZER
185 # define OPENSSL_NO_FUZZ_LIBFUZZER
187 #ifndef OPENSSL_NO_GOST
188 # define OPENSSL_NO_GOST
190 #ifndef OPENSSL_NO_HEARTBEATS
191 # define OPENSSL_NO_HEARTBEATS
193 #ifndef OPENSSL_NO_HW
194 # define OPENSSL_NO_HW
196 #ifndef OPENSSL_NO_MSAN
197 # define OPENSSL_NO_MSAN
199 #ifndef OPENSSL_NO_OCB
200 # define OPENSSL_NO_OCB
202 #ifndef OPENSSL_NO_POSIX_IO
203 # define OPENSSL_NO_POSIX_IO
205 #ifndef OPENSSL_NO_RFC3779
206 # define OPENSSL_NO_RFC3779
208 #ifndef OPENSSL_NO_SCRYPT
209 # define OPENSSL_NO_SCRYPT
211 #ifndef OPENSSL_NO_SCTP
212 # define OPENSSL_NO_SCTP
214 #ifndef OPENSSL_NO_SOCK
215 # define OPENSSL_NO_SOCK
217 #ifndef OPENSSL_NO_SSL_TRACE
218 # define OPENSSL_NO_SSL_TRACE
220 #ifndef OPENSSL_NO_SSL3
221 # define OPENSSL_NO_SSL3
223 #ifndef OPENSSL_NO_SSL3_METHOD
224 # define OPENSSL_NO_SSL3_METHOD
226 #ifndef OPENSSL_NO_STDIO
227 # define OPENSSL_NO_STDIO
229 #ifndef OPENSSL_NO_TESTS
230 # define OPENSSL_NO_TESTS
232 #ifndef OPENSSL_NO_TLS1_3
233 # define OPENSSL_NO_TLS1_3
235 #ifndef OPENSSL_NO_UBSAN
236 # define OPENSSL_NO_UBSAN
238 #ifndef OPENSSL_NO_UI_CONSOLE
239 # define OPENSSL_NO_UI_CONSOLE
241 #ifndef OPENSSL_NO_UNIT_TEST
242 # define OPENSSL_NO_UNIT_TEST
244 #ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
245 # define OPENSSL_NO_WEAK_SSL_CIPHERS
247 #ifndef OPENSSL_NO_DYNAMIC_ENGINE
248 # define OPENSSL_NO_DYNAMIC_ENGINE
250 #ifndef OPENSSL_NO_AFALGENG
251 # define OPENSSL_NO_AFALGENG
256 * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers
257 * don't like that. This will hopefully silence them.
259 #define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy;
262 * Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the
263 * declarations of functions deprecated in or before <version>. Otherwise, they
264 * still won't see them if the library has been built to disable deprecated
267 #ifndef DECLARE_DEPRECATED
268 # define DECLARE_DEPRECATED(f) f;
270 # if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
271 # undef DECLARE_DEPRECATED
272 # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
278 # ifdef OPENSSL_NO_FILENAMES
279 # define OPENSSL_FILE ""
280 # define OPENSSL_LINE 0
282 # define OPENSSL_FILE __FILE__
283 # define OPENSSL_LINE __LINE__
287 #ifndef OPENSSL_MIN_API
288 # define OPENSSL_MIN_API 0
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
297 * Do not deprecate things to be deprecated in version 1.2.0 before the
298 * OpenSSL version number matches.
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)
305 # define DEPRECATEDIN_1_2_0(f)
308 #if OPENSSL_API_COMPAT < 0x10100000L
309 # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f)
311 # define DEPRECATEDIN_1_1_0(f)
314 #if OPENSSL_API_COMPAT < 0x10000000L
315 # define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f)
317 # define DEPRECATEDIN_1_0_0(f)
320 #if OPENSSL_API_COMPAT < 0x00908000L
321 # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f)
323 # define DEPRECATEDIN_0_9_8(f)
326 /* Generate 80386 code? */
329 #undef OPENSSL_UNISTD
330 #define OPENSSL_UNISTD <unistd.h>
332 #undef OPENSSL_EXPORT_VAR_AS_FUNCTION
335 * The following are cipher-specific, but are part of the public API.
337 #if !defined(OPENSSL_SYS_UEFI)
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
345 #define RC4_INT unsigned int