xref: /freebsd/crypto/openssl/include/openssl/configuration.h (revision 267f8c1f4b09431b335d5f48d84586047471f978)
1 /*
2  * WARNING: do not edit!
3  * Generated by configdata.pm from Configurations/common0.tmpl, Configurations/unix-Makefile.tmpl
4  * via Makefile.in
5  *
6  * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
7  *
8  * Licensed under the Apache License 2.0 (the "License").  You may not use
9  * this file except in compliance with the License.  You can obtain a copy
10  * in the file LICENSE in the source distribution or at
11  * https://www.openssl.org/source/license.html
12  */
13 
14 #ifndef OPENSSL_CONFIGURATION_H
15 # define OPENSSL_CONFIGURATION_H
16 # pragma once
17 
18 # ifdef  __cplusplus
19 extern "C" {
20 # endif
21 
22 # ifdef OPENSSL_ALGORITHM_DEFINES
23 #  error OPENSSL_ALGORITHM_DEFINES no longer supported
24 # endif
25 
26 /*
27  * OpenSSL was configured with the following options:
28  */
29 
30 # define OPENSSL_CONFIGURED_API 30500
31 # ifndef OPENSSL_RAND_SEED_OS
32 #  define OPENSSL_RAND_SEED_OS
33 # endif
34 # ifndef OPENSSL_THREADS
35 #  define OPENSSL_THREADS
36 # endif
37 # ifndef OPENSSL_NO_ACVP_TESTS
38 #  define OPENSSL_NO_ACVP_TESTS
39 # endif
40 # ifndef OPENSSL_NO_AFALGENG
41 #  define OPENSSL_NO_AFALGENG
42 # endif
43 # ifndef OPENSSL_NO_ARIA
44 #  define OPENSSL_NO_ARIA
45 # endif
46 # ifndef OPENSSL_NO_ASAN
47 #  define OPENSSL_NO_ASAN
48 # endif
49 # ifndef OPENSSL_NO_BROTLI
50 #  define OPENSSL_NO_BROTLI
51 # endif
52 # ifndef OPENSSL_NO_BROTLI_DYNAMIC
53 #  define OPENSSL_NO_BROTLI_DYNAMIC
54 # endif
55 # ifndef OPENSSL_NO_CRYPTO_MDEBUG
56 #  define OPENSSL_NO_CRYPTO_MDEBUG
57 # endif
58 # ifndef OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
59 #  define OPENSSL_NO_CRYPTO_MDEBUG_BACKTRACE
60 # endif
61 # ifndef OPENSSL_NO_DEMOS
62 #  define OPENSSL_NO_DEMOS
63 # endif
64 # ifndef OPENSSL_NO_EGD
65 #  define OPENSSL_NO_EGD
66 # endif
67 # ifndef OPENSSL_NO_EXTERNAL_TESTS
68 #  define OPENSSL_NO_EXTERNAL_TESTS
69 # endif
70 # ifndef OPENSSL_NO_FIPS_JITTER
71 #  define OPENSSL_NO_FIPS_JITTER
72 # endif
73 # ifndef OPENSSL_NO_FIPS_POST
74 #  define OPENSSL_NO_FIPS_POST
75 # endif
76 # ifndef OPENSSL_NO_FIPS_SECURITYCHECKS
77 #  define OPENSSL_NO_FIPS_SECURITYCHECKS
78 # endif
79 # ifndef OPENSSL_NO_FUZZ_AFL
80 #  define OPENSSL_NO_FUZZ_AFL
81 # endif
82 # ifndef OPENSSL_NO_FUZZ_LIBFUZZER
83 #  define OPENSSL_NO_FUZZ_LIBFUZZER
84 # endif
85 # ifndef OPENSSL_NO_H3DEMO
86 #  define OPENSSL_NO_H3DEMO
87 # endif
88 # ifndef OPENSSL_NO_HQINTEROP
89 #  define OPENSSL_NO_HQINTEROP
90 # endif
91 # ifndef OPENSSL_NO_IDEA
92 #  define OPENSSL_NO_IDEA
93 # endif
94 # ifndef OPENSSL_NO_JITTER
95 #  define OPENSSL_NO_JITTER
96 # endif
97 # ifndef OPENSSL_NO_MD2
98 #  define OPENSSL_NO_MD2
99 # endif
100 # ifndef OPENSSL_NO_MDC2
101 #  define OPENSSL_NO_MDC2
102 # endif
103 # ifndef OPENSSL_NO_MSAN
104 #  define OPENSSL_NO_MSAN
105 # endif
106 # ifndef OPENSSL_NO_PIE
107 #  define OPENSSL_NO_PIE
108 # endif
109 # ifndef OPENSSL_NO_RC5
110 #  define OPENSSL_NO_RC5
111 # endif
112 # ifndef OPENSSL_NO_SM2
113 #  define OPENSSL_NO_SM2
114 # endif
115 # ifndef OPENSSL_NO_SM3
116 #  define OPENSSL_NO_SM3
117 # endif
118 # ifndef OPENSSL_NO_SM4
119 #  define OPENSSL_NO_SM4
120 # endif
121 # ifndef OPENSSL_NO_SSL3
122 #  define OPENSSL_NO_SSL3
123 # endif
124 # ifndef OPENSSL_NO_SSL3_METHOD
125 #  define OPENSSL_NO_SSL3_METHOD
126 # endif
127 # ifndef OPENSSL_NO_SSLKEYLOG
128 #  define OPENSSL_NO_SSLKEYLOG
129 # endif
130 # ifndef OPENSSL_NO_TFO
131 #  define OPENSSL_NO_TFO
132 # endif
133 # ifndef OPENSSL_NO_TRACE
134 #  define OPENSSL_NO_TRACE
135 # endif
136 # ifndef OPENSSL_NO_UBSAN
137 #  define OPENSSL_NO_UBSAN
138 # endif
139 # ifndef OPENSSL_NO_UNIT_TEST
140 #  define OPENSSL_NO_UNIT_TEST
141 # endif
142 # ifndef OPENSSL_NO_UPLINK
143 #  define OPENSSL_NO_UPLINK
144 # endif
145 # ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
146 #  define OPENSSL_NO_WEAK_SSL_CIPHERS
147 # endif
148 # ifndef OPENSSL_NO_WINSTORE
149 #  define OPENSSL_NO_WINSTORE
150 # endif
151 # ifndef OPENSSL_NO_ZLIB
152 #  define OPENSSL_NO_ZLIB
153 # endif
154 # ifndef OPENSSL_NO_ZLIB_DYNAMIC
155 #  define OPENSSL_NO_ZLIB_DYNAMIC
156 # endif
157 # ifndef OPENSSL_NO_ZSTD
158 #  define OPENSSL_NO_ZSTD
159 # endif
160 # ifndef OPENSSL_NO_ZSTD_DYNAMIC
161 #  define OPENSSL_NO_ZSTD_DYNAMIC
162 # endif
163 # ifndef OPENSSL_NO_STATIC_ENGINE
164 #  define OPENSSL_NO_STATIC_ENGINE
165 # endif
166 
167 
168 /* Generate 80386 code? */
169 # undef I386_ONLY
170 
171 /*
172  * The following are cipher-specific, but are part of the public API.
173  */
174 # if !defined(OPENSSL_SYS_UEFI)
175 #  undef BN_LLONG
176 /* Only one for the following should be defined */
177 #  define SIXTY_FOUR_BIT_LONG
178 #  undef SIXTY_FOUR_BIT
179 #  undef THIRTY_TWO_BIT
180 # endif
181 
182 # define RC4_INT unsigned int
183 
184 # if defined(OPENSSL_NO_COMP) || (defined(OPENSSL_NO_BROTLI) && defined(OPENSSL_NO_ZSTD) && defined(OPENSSL_NO_ZLIB))
185 #  define OPENSSL_NO_COMP_ALG
186 # else
187 #  undef  OPENSSL_NO_COMP_ALG
188 # endif
189 
190 # ifdef  __cplusplus
191 }
192 # endif
193 
194 #endif                          /* OPENSSL_CONFIGURATION_H */
195 
196 /**
197  * OpenSSL's Configure script generates these values automatically for the host
198  * architecture, but FreeBSD provides values which are universal for all
199  * supported target architectures.
200  */
201 
202 #ifndef	__FREEBSD_CONFIGURATION_H__
203 #define	__FREEBSD_CONFIGURATION_H__
204 
205 # undef OPENSSL_NO_EC_NISTP_64_GCC_128
206 # if __SIZEOF_LONG__ == 4 || __BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__
207 #  ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
208 #   define OPENSSL_NO_EC_NISTP_64_GCC_128
209 #  endif
210 # endif
211 
212 # undef BN_LLONG
213 # undef	SIXTY_FOUR_BIT_LONG
214 # undef SIXTY_FOUR_BIT
215 # undef	THIRTY_TWO_BIT
216 # if !defined(OPENSSL_SYS_UEFI)
217 #  if __SIZEOF_LONG__ == 8
218 #   undef BN_LLONG
219 #   define SIXTY_FOUR_BIT_LONG
220 #   undef SIXTY_FOUR_BIT
221 #   undef THIRTY_TWO_BIT
222 #  elif __SIZEOF_LONG__ == 4
223 #   define BN_LLONG
224 #   undef SIXTY_FOUR_BIT_LONG
225 #   undef SIXTY_FOUR_BIT
226 #   define THIRTY_TWO_BIT
227 #  else
228 #   error Unsupported size of long
229 #  endif
230 # endif
231 
232 #endif  /* __FREEBSD_CONFIGURATION_H__ */
233