]>
git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Library/Include/openssl/opensslconf.h
1917d7ab24c5e6ed8e25130fb287605e62185e1e
2 * WARNING: do not edit!
3 * Generated from include/openssl/opensslconf.h.in
5 * Copyright 2016 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
17 #ifdef OPENSSL_ALGORITHM_DEFINES
18 # error OPENSSL_ALGORITHM_DEFINES no longer supported
22 * OpenSSL was configured with the following options:
25 #ifndef OPENSSL_SYS_UEFI
26 # define OPENSSL_SYS_UEFI 1
28 #define OPENSSL_MIN_API 0x10100000L
30 # define OPENSSL_NO_BF
32 #ifndef OPENSSL_NO_BLAKE2
33 # define OPENSSL_NO_BLAKE2
35 #ifndef OPENSSL_NO_CAMELLIA
36 # define OPENSSL_NO_CAMELLIA
38 #ifndef OPENSSL_NO_CAST
39 # define OPENSSL_NO_CAST
41 #ifndef OPENSSL_NO_CHACHA
42 # define OPENSSL_NO_CHACHA
44 #ifndef OPENSSL_NO_CMS
45 # define OPENSSL_NO_CMS
48 # define OPENSSL_NO_CT
50 #ifndef OPENSSL_NO_DSA
51 # define OPENSSL_NO_DSA
54 # define OPENSSL_NO_EC
56 #ifndef OPENSSL_NO_IDEA
57 # define OPENSSL_NO_IDEA
59 #ifndef OPENSSL_NO_MD2
60 # define OPENSSL_NO_MD2
62 #ifndef OPENSSL_NO_MDC2
63 # define OPENSSL_NO_MDC2
65 #ifndef OPENSSL_NO_POLY1305
66 # define OPENSSL_NO_POLY1305
68 #ifndef OPENSSL_NO_RC2
69 # define OPENSSL_NO_RC2
71 #ifndef OPENSSL_NO_RC5
72 # define OPENSSL_NO_RC5
74 #ifndef OPENSSL_NO_RMD160
75 # define OPENSSL_NO_RMD160
77 #ifndef OPENSSL_NO_SEED
78 # define OPENSSL_NO_SEED
80 #ifndef OPENSSL_NO_SRP
81 # define OPENSSL_NO_SRP
84 # define OPENSSL_NO_TS
87 # define OPENSSL_NO_UI
89 #ifndef OPENSSL_NO_WHIRLPOOL
90 # define OPENSSL_NO_WHIRLPOOL
92 #ifndef OPENSSL_NO_AFALGENG
93 # define OPENSSL_NO_AFALGENG
95 #ifndef OPENSSL_NO_APPS
96 # define OPENSSL_NO_APPS
98 #ifndef OPENSSL_NO_ASAN
99 # define OPENSSL_NO_ASAN
101 #ifndef OPENSSL_NO_ASM
102 # define OPENSSL_NO_ASM
104 #ifndef OPENSSL_NO_ASYNC
105 # define OPENSSL_NO_ASYNC
107 #ifndef OPENSSL_NO_AUTOALGINIT
108 # define OPENSSL_NO_AUTOALGINIT
110 #ifndef OPENSSL_NO_AUTOERRINIT
111 # define OPENSSL_NO_AUTOERRINIT
113 #ifndef OPENSSL_NO_CAPIENG
114 # define OPENSSL_NO_CAPIENG
116 #ifndef OPENSSL_NO_CRYPTO_MDEBUG
117 # define OPENSSL_NO_CRYPTO_MDEBUG
119 #ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
120 # define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
122 #ifndef OPENSSL_NO_DEPRECATED
123 # define OPENSSL_NO_DEPRECATED
125 #ifndef OPENSSL_NO_DGRAM
126 # define OPENSSL_NO_DGRAM
128 #ifndef OPENSSL_NO_DTLS
129 # define OPENSSL_NO_DTLS
131 #ifndef OPENSSL_NO_DTLS1
132 # define OPENSSL_NO_DTLS1
134 #ifndef OPENSSL_NO_DTLS1_2
135 # define OPENSSL_NO_DTLS1_2
137 #ifndef OPENSSL_NO_EC2M
138 # define OPENSSL_NO_EC2M
140 #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
141 # define OPENSSL_NO_EC_NISTP_64_GCC_128
143 #ifndef OPENSSL_NO_ECDH
144 # define OPENSSL_NO_ECDH
146 #ifndef OPENSSL_NO_ECDSA
147 # define OPENSSL_NO_ECDSA
149 #ifndef OPENSSL_NO_EGD
150 # define OPENSSL_NO_EGD
152 #ifndef OPENSSL_NO_ENGINE
153 # define OPENSSL_NO_ENGINE
155 #ifndef OPENSSL_NO_ERR
156 # define OPENSSL_NO_ERR
158 #ifndef OPENSSL_NO_FILENAMES
159 # define OPENSSL_NO_FILENAMES
161 #ifndef OPENSSL_NO_FUZZ_AFL
162 # define OPENSSL_NO_FUZZ_AFL
164 #ifndef OPENSSL_NO_FUZZ_LIBFUZZER
165 # define OPENSSL_NO_FUZZ_LIBFUZZER
167 #ifndef OPENSSL_NO_GOST
168 # define OPENSSL_NO_GOST
170 #ifndef OPENSSL_NO_HEARTBEATS
171 # define OPENSSL_NO_HEARTBEATS
173 #ifndef OPENSSL_NO_HW
174 # define OPENSSL_NO_HW
176 #ifndef OPENSSL_NO_MSAN
177 # define OPENSSL_NO_MSAN
179 #ifndef OPENSSL_NO_OCB
180 # define OPENSSL_NO_OCB
182 #ifndef OPENSSL_NO_POSIX_IO
183 # define OPENSSL_NO_POSIX_IO
185 #ifndef OPENSSL_NO_RFC3779
186 # define OPENSSL_NO_RFC3779
188 #ifndef OPENSSL_NO_SCRYPT
189 # define OPENSSL_NO_SCRYPT
191 #ifndef OPENSSL_NO_SCTP
192 # define OPENSSL_NO_SCTP
194 #ifndef OPENSSL_NO_SOCK
195 # define OPENSSL_NO_SOCK
197 #ifndef OPENSSL_NO_SSL_TRACE
198 # define OPENSSL_NO_SSL_TRACE
200 #ifndef OPENSSL_NO_SSL3
201 # define OPENSSL_NO_SSL3
203 #ifndef OPENSSL_NO_SSL3_METHOD
204 # define OPENSSL_NO_SSL3_METHOD
206 #ifndef OPENSSL_NO_STDIO
207 # define OPENSSL_NO_STDIO
209 #ifndef OPENSSL_NO_TESTS
210 # define OPENSSL_NO_TESTS
212 #ifndef OPENSSL_NO_UBSAN
213 # define OPENSSL_NO_UBSAN
215 #ifndef OPENSSL_NO_UNIT_TEST
216 # define OPENSSL_NO_UNIT_TEST
218 #ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
219 # define OPENSSL_NO_WEAK_SSL_CIPHERS
221 #ifndef OPENSSL_NO_AFALGENG
222 # define OPENSSL_NO_AFALGENG
227 * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers
228 * don't like that. This will hopefully silence them.
230 #define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy;
233 * Applications should use -DOPENSSL_API_COMPAT=<version> to suppress the
234 * declarations of functions deprecated in or before <version>. Otherwise, they
235 * still won't see them if the library has been built to disable deprecated
238 #if defined(OPENSSL_NO_DEPRECATED)
239 # define DECLARE_DEPRECATED(f)
240 #elif __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
241 # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
243 # define DECLARE_DEPRECATED(f) f;
247 # ifdef OPENSSL_NO_FILENAMES
248 # define OPENSSL_FILE ""
249 # define OPENSSL_LINE 0
251 # define OPENSSL_FILE __FILE__
252 # define OPENSSL_LINE __LINE__
256 #ifndef OPENSSL_MIN_API
257 # define OPENSSL_MIN_API 0
260 #if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API
261 # undef OPENSSL_API_COMPAT
262 # define OPENSSL_API_COMPAT OPENSSL_MIN_API
265 #if OPENSSL_API_COMPAT < 0x10100000L
266 # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f)
268 # define DEPRECATEDIN_1_1_0(f)
271 #if OPENSSL_API_COMPAT < 0x10000000L
272 # define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f)
274 # define DEPRECATEDIN_1_0_0(f)
277 #if OPENSSL_API_COMPAT < 0x00908000L
278 # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f)
280 # define DEPRECATEDIN_0_9_8(f)
285 /* Generate 80386 code? */
288 #undef OPENSSL_UNISTD
289 #define OPENSSL_UNISTD <unistd.h>
291 #undef OPENSSL_EXPORT_VAR_AS_FUNCTION
294 * The following are cipher-specific, but are part of the public API.
296 #if !defined(OPENSSL_SYS_UEFI)
298 /* Only one for the following should be defined */
299 # undef SIXTY_FOUR_BIT_LONG
300 # undef SIXTY_FOUR_BIT
301 # define THIRTY_TWO_BIT
304 #define RC4_INT unsigned int