]> git.proxmox.com Git - mirror_edk2.git/blame - CryptoPkg/Include/openssl/opensslconf.h
ArmPkg: remove ArmCpuLib header and implementations
[mirror_edk2.git] / CryptoPkg / Include / openssl / opensslconf.h
CommitLineData
2c867744
QL
1/*
2 * WARNING: do not edit!
3 * Generated from include/openssl/opensslconf.h.in
4 *
5 * Copyright 2016 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#ifdef __cplusplus
14extern "C" {
15#endif
16
17#ifdef OPENSSL_ALGORITHM_DEFINES
18# error OPENSSL_ALGORITHM_DEFINES no longer supported
19#endif
20
21/*
22 * OpenSSL was configured with the following options:
23 */
24
25#ifndef OPENSSL_SYS_UEFI
26# define OPENSSL_SYS_UEFI 1
27#endif
28#define OPENSSL_MIN_API 0x10100000L
29#ifndef OPENSSL_NO_BF
30# define OPENSSL_NO_BF
31#endif
32#ifndef OPENSSL_NO_BLAKE2
33# define OPENSSL_NO_BLAKE2
34#endif
35#ifndef OPENSSL_NO_CAMELLIA
36# define OPENSSL_NO_CAMELLIA
37#endif
38#ifndef OPENSSL_NO_CAST
39# define OPENSSL_NO_CAST
40#endif
41#ifndef OPENSSL_NO_CHACHA
42# define OPENSSL_NO_CHACHA
43#endif
44#ifndef OPENSSL_NO_CMS
45# define OPENSSL_NO_CMS
46#endif
47#ifndef OPENSSL_NO_CT
48# define OPENSSL_NO_CT
49#endif
50#ifndef OPENSSL_NO_DSA
51# define OPENSSL_NO_DSA
52#endif
53#ifndef OPENSSL_NO_EC
54# define OPENSSL_NO_EC
55#endif
56#ifndef OPENSSL_NO_IDEA
57# define OPENSSL_NO_IDEA
58#endif
59#ifndef OPENSSL_NO_MD2
60# define OPENSSL_NO_MD2
61#endif
62#ifndef OPENSSL_NO_MDC2
63# define OPENSSL_NO_MDC2
64#endif
65#ifndef OPENSSL_NO_POLY1305
66# define OPENSSL_NO_POLY1305
67#endif
68#ifndef OPENSSL_NO_RC2
69# define OPENSSL_NO_RC2
70#endif
71#ifndef OPENSSL_NO_RC5
72# define OPENSSL_NO_RC5
73#endif
74#ifndef OPENSSL_NO_RMD160
75# define OPENSSL_NO_RMD160
76#endif
77#ifndef OPENSSL_NO_SEED
78# define OPENSSL_NO_SEED
79#endif
80#ifndef OPENSSL_NO_SRP
81# define OPENSSL_NO_SRP
82#endif
83#ifndef OPENSSL_NO_TS
84# define OPENSSL_NO_TS
85#endif
86#ifndef OPENSSL_NO_UI
87# define OPENSSL_NO_UI
88#endif
89#ifndef OPENSSL_NO_WHIRLPOOL
90# define OPENSSL_NO_WHIRLPOOL
91#endif
92#ifndef OPENSSL_NO_AFALGENG
93# define OPENSSL_NO_AFALGENG
94#endif
95#ifndef OPENSSL_NO_APPS
96# define OPENSSL_NO_APPS
97#endif
98#ifndef OPENSSL_NO_ASAN
99# define OPENSSL_NO_ASAN
100#endif
101#ifndef OPENSSL_NO_ASM
102# define OPENSSL_NO_ASM
103#endif
104#ifndef OPENSSL_NO_ASYNC
105# define OPENSSL_NO_ASYNC
106#endif
107#ifndef OPENSSL_NO_AUTOALGINIT
108# define OPENSSL_NO_AUTOALGINIT
109#endif
110#ifndef OPENSSL_NO_AUTOERRINIT
111# define OPENSSL_NO_AUTOERRINIT
112#endif
113#ifndef OPENSSL_NO_CAPIENG
114# define OPENSSL_NO_CAPIENG
115#endif
116#ifndef OPENSSL_NO_CRYPTO_MDEBUG
117# define OPENSSL_NO_CRYPTO_MDEBUG
118#endif
119#ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
120# define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
121#endif
122#ifndef OPENSSL_NO_DEPRECATED
123# define OPENSSL_NO_DEPRECATED
124#endif
125#ifndef OPENSSL_NO_DGRAM
126# define OPENSSL_NO_DGRAM
127#endif
128#ifndef OPENSSL_NO_DTLS
129# define OPENSSL_NO_DTLS
130#endif
131#ifndef OPENSSL_NO_DTLS1
132# define OPENSSL_NO_DTLS1
133#endif
134#ifndef OPENSSL_NO_DTLS1_2
135# define OPENSSL_NO_DTLS1_2
136#endif
137#ifndef OPENSSL_NO_EC2M
138# define OPENSSL_NO_EC2M
139#endif
140#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
141# define OPENSSL_NO_EC_NISTP_64_GCC_128
142#endif
143#ifndef OPENSSL_NO_ECDH
144# define OPENSSL_NO_ECDH
145#endif
146#ifndef OPENSSL_NO_ECDSA
147# define OPENSSL_NO_ECDSA
148#endif
149#ifndef OPENSSL_NO_EGD
150# define OPENSSL_NO_EGD
151#endif
152#ifndef OPENSSL_NO_ENGINE
153# define OPENSSL_NO_ENGINE
154#endif
155#ifndef OPENSSL_NO_ERR
156# define OPENSSL_NO_ERR
157#endif
158#ifndef OPENSSL_NO_FILENAMES
159# define OPENSSL_NO_FILENAMES
160#endif
161#ifndef OPENSSL_NO_FUZZ_AFL
162# define OPENSSL_NO_FUZZ_AFL
163#endif
164#ifndef OPENSSL_NO_FUZZ_LIBFUZZER
165# define OPENSSL_NO_FUZZ_LIBFUZZER
166#endif
167#ifndef OPENSSL_NO_GOST
168# define OPENSSL_NO_GOST
169#endif
170#ifndef OPENSSL_NO_HEARTBEATS
171# define OPENSSL_NO_HEARTBEATS
172#endif
173#ifndef OPENSSL_NO_HW
174# define OPENSSL_NO_HW
175#endif
176#ifndef OPENSSL_NO_MSAN
177# define OPENSSL_NO_MSAN
178#endif
179#ifndef OPENSSL_NO_OCB
180# define OPENSSL_NO_OCB
181#endif
182#ifndef OPENSSL_NO_POSIX_IO
183# define OPENSSL_NO_POSIX_IO
184#endif
185#ifndef OPENSSL_NO_RFC3779
186# define OPENSSL_NO_RFC3779
187#endif
188#ifndef OPENSSL_NO_SCRYPT
189# define OPENSSL_NO_SCRYPT
190#endif
191#ifndef OPENSSL_NO_SCTP
192# define OPENSSL_NO_SCTP
193#endif
194#ifndef OPENSSL_NO_SOCK
195# define OPENSSL_NO_SOCK
196#endif
197#ifndef OPENSSL_NO_SSL_TRACE
198# define OPENSSL_NO_SSL_TRACE
199#endif
200#ifndef OPENSSL_NO_SSL3
201# define OPENSSL_NO_SSL3
202#endif
203#ifndef OPENSSL_NO_SSL3_METHOD
204# define OPENSSL_NO_SSL3_METHOD
205#endif
206#ifndef OPENSSL_NO_STDIO
207# define OPENSSL_NO_STDIO
208#endif
209#ifndef OPENSSL_NO_TESTS
210# define OPENSSL_NO_TESTS
211#endif
212#ifndef OPENSSL_NO_UBSAN
213# define OPENSSL_NO_UBSAN
214#endif
215#ifndef OPENSSL_NO_UNIT_TEST
216# define OPENSSL_NO_UNIT_TEST
217#endif
218#ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
219# define OPENSSL_NO_WEAK_SSL_CIPHERS
220#endif
221#ifndef OPENSSL_NO_AFALGENG
222# define OPENSSL_NO_AFALGENG
223#endif
224
225
226/*
227 * Sometimes OPENSSSL_NO_xxx ends up with an empty file and some compilers
228 * don't like that. This will hopefully silence them.
229 */
230#define NON_EMPTY_TRANSLATION_UNIT static void *dummy = &dummy;
231
232/*
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
236 * functions.
237 */
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));
242#else
243# define DECLARE_DEPRECATED(f) f;
244#endif
245
246#ifndef OPENSSL_FILE
247# ifdef OPENSSL_NO_FILENAMES
248# define OPENSSL_FILE ""
249# define OPENSSL_LINE 0
250# else
251# define OPENSSL_FILE __FILE__
252# define OPENSSL_LINE __LINE__
253# endif
254#endif
255
256#ifndef OPENSSL_MIN_API
257# define OPENSSL_MIN_API 0
258#endif
259
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
263#endif
264
265#if OPENSSL_API_COMPAT < 0x10100000L
266# define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f)
267#else
268# define DEPRECATEDIN_1_1_0(f)
269#endif
270
271#if OPENSSL_API_COMPAT < 0x10000000L
272# define DEPRECATEDIN_1_0_0(f) DECLARE_DEPRECATED(f)
273#else
274# define DEPRECATEDIN_1_0_0(f)
275#endif
276
277#if OPENSSL_API_COMPAT < 0x00908000L
278# define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f)
279#else
280# define DEPRECATEDIN_0_9_8(f)
281#endif
282
283
284
285/* Generate 80386 code? */
286#undef I386_ONLY
287
288#undef OPENSSL_UNISTD
289#define OPENSSL_UNISTD <unistd.h>
290
291#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
292
293/*
294 * The following are cipher-specific, but are part of the public API.
295 */
296#if !defined(OPENSSL_SYS_UEFI)
297# undef BN_LLONG
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
302#endif
303
304#define RC4_INT unsigned int
305
306#ifdef __cplusplus
307}
308#endif