2 /* WARNING: Generated automatically from opensslconf.h.in by Configure. */
7 /* OpenSSL was configured with the following options: */
8 #ifndef OPENSSL_DOING_MAKEDEPEND
11 #ifndef OPENSSL_NO_CAMELLIA
12 # define OPENSSL_NO_CAMELLIA
14 #ifndef OPENSSL_NO_CAPIENG
15 # define OPENSSL_NO_CAPIENG
17 #ifndef OPENSSL_NO_DTLS1
18 # define OPENSSL_NO_DTLS1
20 #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
21 # define OPENSSL_NO_EC_NISTP_64_GCC_128
23 #ifndef OPENSSL_NO_ENGINES
24 # define OPENSSL_NO_ENGINES
26 #ifndef OPENSSL_NO_GMP
27 # define OPENSSL_NO_GMP
29 #ifndef OPENSSL_NO_GMS
30 # define OPENSSL_NO_GMS
32 #ifndef OPENSSL_NO_JPAKE
33 # define OPENSSL_NO_JPAKE
35 #ifndef OPENSSL_NO_KRB5
36 # define OPENSSL_NO_KRB5
38 #ifndef OPENSSL_NO_LIBUNBOUND
39 # define OPENSSL_NO_LIBUNBOUND
41 #ifndef OPENSSL_NO_MD2
42 # define OPENSSL_NO_MD2
44 #ifndef OPENSSL_NO_MDC2
45 # define OPENSSL_NO_MDC2
47 #ifndef OPENSSL_NO_PSK
48 # define OPENSSL_NO_PSK
50 #ifndef OPENSSL_NO_RFC3779
51 # define OPENSSL_NO_RFC3779
53 #ifndef OPENSSL_NO_RIPEMD
54 # define OPENSSL_NO_RIPEMD
56 #ifndef OPENSSL_NO_RMD160
57 # define OPENSSL_NO_RMD160
59 #ifndef OPENSSL_NO_SCTP
60 # define OPENSSL_NO_SCTP
62 #ifndef OPENSSL_NO_SEED
63 # define OPENSSL_NO_SEED
65 #ifndef OPENSSL_NO_SHA0
66 # define OPENSSL_NO_SHA0
68 #ifndef OPENSSL_NO_SMIME
69 # define OPENSSL_NO_SMIME
71 #ifndef OPENSSL_NO_SSL_TRACE
72 # define OPENSSL_NO_SSL_TRACE
74 #ifndef OPENSSL_NO_SSL2
75 # define OPENSSL_NO_SSL2
77 #ifndef OPENSSL_NO_SSL3
78 # define OPENSSL_NO_SSL3
80 #ifndef OPENSSL_NO_STORE
81 # define OPENSSL_NO_STORE
84 # define OPENSSL_NO_TS
86 #ifndef OPENSSL_NO_UNIT_TEST
87 # define OPENSSL_NO_UNIT_TEST
89 #ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
90 # define OPENSSL_NO_WEAK_SSL_CIPHERS
93 #endif /* OPENSSL_DOING_MAKEDEPEND */
95 #ifndef OPENSSL_THREADS
96 # define OPENSSL_THREADS
98 #ifndef OPENSSL_NO_ERR
99 # define OPENSSL_NO_ERR
101 #ifndef OPENSSL_NO_HW
102 # define OPENSSL_NO_HW
104 #ifndef OPENSSL_NO_STATIC_ENGINE
105 # define OPENSSL_NO_STATIC_ENGINE
108 /* The OPENSSL_NO_* macros are also defined as NO_* if the application
109 asks for it. This is a transient feature that is provided for those
110 who haven't had the time to do the appropriate changes in their
112 #ifdef OPENSSL_ALGORITHM_DEFINES
113 # if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)
116 # if defined(OPENSSL_NO_CAPIENG) && !defined(NO_CAPIENG)
119 # if defined(OPENSSL_NO_DTLS1) && !defined(NO_DTLS1)
122 # if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)
123 # define NO_EC_NISTP_64_GCC_128
125 # if defined(OPENSSL_NO_ENGINES) && !defined(NO_ENGINES)
128 # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP)
131 # if defined(OPENSSL_NO_GMS) && !defined(NO_GMS)
134 # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE)
137 # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
140 # if defined(OPENSSL_NO_LIBUNBOUND) && !defined(NO_LIBUNBOUND)
141 # define NO_LIBUNBOUND
143 # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
146 # if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
149 # if defined(OPENSSL_NO_PSK) && !defined(NO_PSK)
152 # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
155 # if defined(OPENSSL_NO_RIPEMD) && !defined(NO_RIPEMD)
158 # if defined(OPENSSL_NO_RMD160) && !defined(NO_RMD160)
161 # if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
164 # if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)
167 # if defined(OPENSSL_NO_SHA0) && !defined(NO_SHA0)
170 # if defined(OPENSSL_NO_SMIME) && !defined(NO_SMIME)
173 # if defined(OPENSSL_NO_SSL_TRACE) && !defined(NO_SSL_TRACE)
174 # define NO_SSL_TRACE
176 # if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2)
179 # if defined(OPENSSL_NO_SSL3) && !defined(NO_SSL3)
182 # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE)
185 # if defined(OPENSSL_NO_TS) && !defined(NO_TS)
188 # if defined(OPENSSL_NO_UNIT_TEST) && !defined(NO_UNIT_TEST)
189 # define NO_UNIT_TEST
191 # if defined(OPENSSL_NO_WEAK_SSL_CIPHERS) && !defined(NO_WEAK_SSL_CIPHERS)
192 # define NO_WEAK_SSL_CIPHERS
196 #define OPENSSL_CPUID_OBJ
198 /* crypto/opensslconf.h.in */
200 /* Generate 80386 code? */
203 #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
204 #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
205 #define ENGINESDIR "/etc/lib/engines"
206 #define OPENSSLDIR "/etc"
210 #undef OPENSSL_UNISTD
211 #define OPENSSL_UNISTD <unistd.h>
213 #undef OPENSSL_EXPORT_VAR_AS_FUNCTION
215 #if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
216 #define IDEA_INT unsigned int
219 #if defined(HEADER_MD2_H) && !defined(MD2_INT)
220 #define MD2_INT unsigned int
223 #if defined(HEADER_RC2_H) && !defined(RC2_INT)
224 /* I need to put in a mod for the alpha - eay */
225 #define RC2_INT unsigned int
228 #if defined(HEADER_RC4_H)
229 #if !defined(RC4_INT)
230 /* using int types make the structure larger but make the code faster
231 * on most boxes I have tested - up to %20 faster. */
233 * I don't know what does "most" mean, but declaring "int" is a must on:
234 * - Intel P6 because partial register stalls are very expensive;
235 * - elder Alpha because it lacks byte load/store instructions;
237 #define RC4_INT unsigned char
239 #if !defined(RC4_CHUNK)
241 * This enables code handling data aligned at natural CPU word
242 * boundary. See crypto/rc4/rc4_enc.c for further details.
244 #define RC4_CHUNK unsigned long
248 #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG)
249 /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
250 * %20 speed up (longs are 8 bytes, int's are 4). */
252 #define DES_LONG unsigned int
256 #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
257 #define CONFIG_HEADER_BN_H
260 /* Should we define BN_DIV2W here? */
262 /* Only one for the following should be defined */
263 #undef SIXTY_FOUR_BIT_LONG
264 #undef SIXTY_FOUR_BIT
265 #define THIRTY_TWO_BIT
268 #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
269 #define CONFIG_HEADER_RC4_LOCL_H
270 /* if this is defined data[i] is used instead of *data, this is a %20
275 #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
276 #define CONFIG_HEADER_BF_LOCL_H
278 #endif /* HEADER_BF_LOCL_H */
280 #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
281 #define CONFIG_HEADER_DES_LOCL_H
282 #ifndef DES_DEFAULT_OPTIONS
283 /* the following is tweaked from a config script, that is why it is a
284 * protected undef/define */
289 /* This helps C compiler generate the correct code for multiple functional
290 * units. It reduces register dependancies at the expense of 2 more
300 #if defined(DES_RISC1) && defined(DES_RISC2)
301 #error YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
304 /* Unroll the inner loop, this sometimes helps, sometimes hinders.
305 * Very mucy CPU dependant */
310 /* These default values were supplied by
311 * Peter Gutman <pgut001@cs.auckland.ac.nz>
312 * They are only used if nothing else has been defined */
313 #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
314 /* Special defines which change the way the code is built depending on the
315 CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
316 even newer MIPS CPU's, but at the moment one size fits all for
317 optimization options. Older Sparc's work better with only UNROLL, but
318 there's no way to tell at compile time what it is you're running on */
320 #if defined( __sun ) || defined ( sun ) /* Newer Sparc's */
324 #elif defined( __ultrix ) /* Older MIPS */
328 #elif defined( __osf1__ ) /* Alpha */
331 #elif defined ( _AIX ) /* RS6000 */
333 #elif defined( __hpux ) /* HP-PA */
335 #elif defined( __aux ) /* 68K */
337 #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */
339 #elif defined( __sgi ) /* Newer MIPS */
343 #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */
347 #endif /* Systems-specific speed defines */
350 #endif /* DES_DEFAULT_OPTIONS */
351 #endif /* HEADER_DES_LOCL_H */