1/* opensslconf.h */
2/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
3
4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND
6
7
8#ifndef OPENSSL_NO_BIO
9# define OPENSSL_NO_BIO
10#endif
11#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
12# define OPENSSL_NO_EC_NISTP_64_GCC_128
13#endif
14#ifndef OPENSSL_NO_FP_API
15# define OPENSSL_NO_FP_API
16#endif
17#ifndef OPENSSL_NO_GMP
18# define OPENSSL_NO_GMP
19#endif
20#ifndef OPENSSL_NO_JPAKE
21# define OPENSSL_NO_JPAKE
22#endif
23#ifndef OPENSSL_NO_KRB5
24# define OPENSSL_NO_KRB5
25#endif
26#ifndef OPENSSL_NO_LHASH
27# define OPENSSL_NO_LHASH
28#endif
29#ifndef OPENSSL_NO_LIBUNBOUND
30# define OPENSSL_NO_LIBUNBOUND
31#endif
32#ifndef OPENSSL_NO_MD2
33# define OPENSSL_NO_MD2
34#endif
35#ifndef OPENSSL_NO_RC5
36# define OPENSSL_NO_RC5
37#endif
38#ifndef OPENSSL_NO_RFC3779
39# define OPENSSL_NO_RFC3779
40#endif
41#ifndef OPENSSL_NO_SCTP
42# define OPENSSL_NO_SCTP
43#endif
44#ifndef OPENSSL_NO_SSL_TRACE
45# define OPENSSL_NO_SSL_TRACE
46#endif
47#ifndef OPENSSL_NO_SSL2
48# define OPENSSL_NO_SSL2
49#endif
50#ifndef OPENSSL_NO_STORE
51# define OPENSSL_NO_STORE
52#endif
53#ifndef OPENSSL_NO_UNIT_TEST
54# define OPENSSL_NO_UNIT_TEST
55#endif
56#ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
57# define OPENSSL_NO_WEAK_SSL_CIPHERS
58#endif
59
60#endif /* OPENSSL_DOING_MAKEDEPEND */
61
62#ifndef OPENSSL_THREADS
63# define OPENSSL_THREADS
64#endif
65#ifndef OPENSSL_NO_ERR
66# define OPENSSL_NO_ERR
67#endif
68#ifndef OPENSSL_NO_DYNAMIC_ENGINE
69# define OPENSSL_NO_DYNAMIC_ENGINE
70#endif
71
72/* The OPENSSL_NO_* macros are also defined as NO_* if the application
73 asks for it. This is a transient feature that is provided for those
74 who haven't had the time to do the appropriate changes in their
75 applications. */
76#ifdef OPENSSL_ALGORITHM_DEFINES
77# if defined(OPENSSL_NO_BIO) && !defined(NO_BIO)
78# define NO_BIO
79# endif
80# if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)
81# define NO_EC_NISTP_64_GCC_128
82# endif
83# if defined(OPENSSL_NO_FP_API) && !defined(NO_FP_API)
84# define NO_FP_API
85# endif
86# if defined(OPENSSL_NO_GMP) && !defined(NO_GMP)
87# define NO_GMP
88# endif
89# if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE)
90# define NO_JPAKE
91# endif
92# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
93# define NO_KRB5
94# endif
95# if defined(OPENSSL_NO_LHASH) && !defined(NO_LHASH)
96# define NO_LHASH
97# endif
98# if defined(OPENSSL_NO_LIBUNBOUND) && !defined(NO_LIBUNBOUND)
99# define NO_LIBUNBOUND
100# endif
101# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
102# define NO_MD2
103# endif
104# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
105# define NO_RC5
106# endif
107# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
108# define NO_RFC3779
109# endif
110# if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
111# define NO_SCTP
112# endif
113# if defined(OPENSSL_NO_SSL_TRACE) && !defined(NO_SSL_TRACE)
114# define NO_SSL_TRACE
115# endif
116# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2)
117# define NO_SSL2
118# endif
119# if defined(OPENSSL_NO_STORE) && !defined(NO_STORE)
120# define NO_STORE
121# endif
122# if defined(OPENSSL_NO_UNIT_TEST) && !defined(NO_UNIT_TEST)
123# define NO_UNIT_TEST
124# endif
125# if defined(OPENSSL_NO_WEAK_SSL_CIPHERS) && !defined(NO_WEAK_SSL_CIPHERS)
126# define NO_WEAK_SSL_CIPHERS
127# endif
128#endif
129
130#define OPENSSL_CPUID_OBJ
131
132/* crypto/opensslconf.h.in */
133
134/* Generate 80386 code? */
135#undef I386_ONLY
136
137#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
138#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
139#define ENGINESDIR "/usr/local/ssl/lib/engines"
140#define OPENSSLDIR "/usr/local/ssl"
141#endif
142#endif
143
144#undef OPENSSL_UNISTD
145#define OPENSSL_UNISTD <unistd.h>
146
147#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
148
149#if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
150#define IDEA_INT unsigned int
151#endif
152
153#if defined(HEADER_MD2_H) && !defined(MD2_INT)
154#define MD2_INT unsigned int
155#endif
156
157#if defined(HEADER_RC2_H) && !defined(RC2_INT)
158/* I need to put in a mod for the alpha - eay */
159#define RC2_INT unsigned int
160#endif
161
162#if defined(HEADER_RC4_H)
163#if !defined(RC4_INT)
164/* using int types make the structure larger but make the code faster
165 * on most boxes I have tested - up to %20 faster. */
166/*
167 * I don't know what does "most" mean, but declaring "int" is a must on:
168 * - Intel P6 because partial register stalls are very expensive;
169 * - elder Alpha because it lacks byte load/store instructions;
170 */
171#define RC4_INT unsigned int
172#endif
173#if !defined(RC4_CHUNK)
174/*
175 * This enables code handling data aligned at natural CPU word
176 * boundary. See crypto/rc4/rc4_enc.c for further details.
177 */
178#define RC4_CHUNK unsigned long
179#endif
180#endif
181
182#if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG)
183/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
184 * %20 speed up (longs are 8 bytes, int's are 4). */
185#ifndef DES_LONG
186#define DES_LONG unsigned int
187#endif
188#endif
189
190#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
191#define CONFIG_HEADER_BN_H
192#undef BN_LLONG
193
194/* Should we define BN_DIV2W here? */
195
196/* Only one for the following should be defined */
197#define SIXTY_FOUR_BIT_LONG
198#undef SIXTY_FOUR_BIT
199#undef THIRTY_TWO_BIT
200#endif
201
202#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
203#define CONFIG_HEADER_RC4_LOCL_H
204/* if this is defined data[i] is used instead of *data, this is a %20
205 * speedup on x86 */
206#undef RC4_INDEX
207#endif
208
209#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
210#define CONFIG_HEADER_BF_LOCL_H
211#undef BF_PTR
212#endif /* HEADER_BF_LOCL_H */
213
214#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
215#define CONFIG_HEADER_DES_LOCL_H
216#ifndef DES_DEFAULT_OPTIONS
217/* the following is tweaked from a config script, that is why it is a
218 * protected undef/define */
219#ifndef DES_PTR
220#undef DES_PTR
221#endif
222
223/* This helps C compiler generate the correct code for multiple functional
224 * units. It reduces register dependancies at the expense of 2 more
225 * registers */
226#ifndef DES_RISC1
227#undef DES_RISC1
228#endif
229
230#ifndef DES_RISC2
231#undef DES_RISC2
232#endif
233
234#if defined(DES_RISC1) && defined(DES_RISC2)
235#error YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
236#endif
237
238/* Unroll the inner loop, this sometimes helps, sometimes hinders.
239 * Very mucy CPU dependant */
240#ifndef DES_UNROLL
241#define DES_UNROLL
242#endif
243
244/* These default values were supplied by
245 * Peter Gutman <pgut001@cs.auckland.ac.nz>
246 * They are only used if nothing else has been defined */
247#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
248/* Special defines which change the way the code is built depending on the
249 CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
250 even newer MIPS CPU's, but at the moment one size fits all for
251 optimization options. Older Sparc's work better with only UNROLL, but
252 there's no way to tell at compile time what it is you're running on */
253
254#if defined( __sun ) || defined ( sun ) /* Newer Sparc's */
255# define DES_PTR
256# define DES_RISC1
257# define DES_UNROLL
258#elif defined( __ultrix ) /* Older MIPS */
259# define DES_PTR
260# define DES_RISC2
261# define DES_UNROLL
262#elif defined( __osf1__ ) /* Alpha */
263# define DES_PTR
264# define DES_RISC2
265#elif defined ( _AIX ) /* RS6000 */
266 /* Unknown */
267#elif defined( __hpux ) /* HP-PA */
268 /* Unknown */
269#elif defined( __aux ) /* 68K */
270 /* Unknown */
271#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */
272# define DES_UNROLL
273#elif defined( __sgi ) /* Newer MIPS */
274# define DES_PTR
275# define DES_RISC2
276# define DES_UNROLL
277#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */
278# define DES_PTR
279# define DES_RISC1
280# define DES_UNROLL
281#endif /* Systems-specific speed defines */
282#endif
283
284#endif /* DES_DEFAULT_OPTIONS */
285#endif /* HEADER_DES_LOCL_H */
286