2 /* WARNING: Generated automatically from opensslconf.h.in by Configure. */
4 /* OpenSSL was configured with the following options: */
5 #ifndef OPENSSL_DOING_MAKEDEPEND
8 #ifndef OPENSSL_NO_CAMELLIA
9 # define OPENSSL_NO_CAMELLIA
11 #ifndef OPENSSL_NO_CAPIENG
12 # define OPENSSL_NO_CAPIENG
14 #ifndef OPENSSL_NO_CAST
15 # define OPENSSL_NO_CAST
17 #ifndef OPENSSL_NO_CMS
18 # define OPENSSL_NO_CMS
20 #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
21 # define OPENSSL_NO_EC_NISTP_64_GCC_128
23 #ifndef OPENSSL_NO_GMP
24 # define OPENSSL_NO_GMP
26 #ifndef OPENSSL_NO_GOST
27 # define OPENSSL_NO_GOST
29 #ifndef OPENSSL_NO_HEARTBEATS
30 # define OPENSSL_NO_HEARTBEATS
32 #ifndef OPENSSL_NO_IDEA
33 # define OPENSSL_NO_IDEA
35 #ifndef OPENSSL_NO_JPAKE
36 # define OPENSSL_NO_JPAKE
38 #ifndef OPENSSL_NO_KRB5
39 # define OPENSSL_NO_KRB5
41 #ifndef OPENSSL_NO_MD2
42 # define OPENSSL_NO_MD2
44 #ifndef OPENSSL_NO_MDC2
45 # define OPENSSL_NO_MDC2
47 #ifndef OPENSSL_NO_RC5
48 # define OPENSSL_NO_RC5
50 #ifndef OPENSSL_NO_RDRAND
51 # define OPENSSL_NO_RDRAND
53 #ifndef OPENSSL_NO_RFC3779
54 # define OPENSSL_NO_RFC3779
56 #ifndef OPENSSL_NO_RSAX
57 # define OPENSSL_NO_RSAX
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_STATIC_ENGINE
69 # define OPENSSL_NO_STATIC_ENGINE
71 #ifndef OPENSSL_NO_STORE
72 # define OPENSSL_NO_STORE
74 #ifndef OPENSSL_NO_WHIRLPOOL
75 # define OPENSSL_NO_WHIRLPOOL
78 #endif /* OPENSSL_DOING_MAKEDEPEND */
80 #ifndef OPENSSL_THREADS
81 # define OPENSSL_THREADS
83 #ifndef OPENSSL_NO_DYNAMIC_ENGINE
84 # define OPENSSL_NO_DYNAMIC_ENGINE
87 /* The OPENSSL_NO_* macros are also defined as NO_* if the application
88 asks for it. This is a transient feature that is provided for those
89 who haven't had the time to do the appropriate changes in their
91 #ifdef OPENSSL_ALGORITHM_DEFINES
92 # if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)
95 # if defined(OPENSSL_NO_CAPIENG) && !defined(NO_CAPIENG)
98 # if defined(OPENSSL_NO_CAST) && !defined(NO_CAST)
101 # if defined(OPENSSL_NO_CMS) && !defined(NO_CMS)
104 # if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)
105 # define NO_EC_NISTP_64_GCC_128
107 # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP)
110 # if defined(OPENSSL_NO_GOST) && !defined(NO_GOST)
113 # if defined(OPENSSL_NO_HEARTBEATS) && !defined(NO_HEARTBEATS)
114 # define NO_HEARTBEATS
116 # if defined(OPENSSL_NO_IDEA) && !defined(NO_IDEA)
119 # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE)
122 # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
125 # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
128 # if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
131 # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
134 # if defined(OPENSSL_NO_RDRAND) && !defined(NO_RDRAND)
137 # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
140 # if defined(OPENSSL_NO_RSAX) && !defined(NO_RSAX)
143 # if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
146 # if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)
149 # if defined(OPENSSL_NO_SHA0) && !defined(NO_SHA0)
152 # if defined(OPENSSL_NO_STATIC_ENGINE) && !defined(NO_STATIC_ENGINE)
153 # define NO_STATIC_ENGINE
155 # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE)
158 # if defined(OPENSSL_NO_WHIRLPOOL) && !defined(NO_WHIRLPOOL)
159 # define NO_WHIRLPOOL
163 /* crypto/opensslconf.h.in */
165 /* Generate 80386 code? */
168 #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
169 #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
170 #define ENGINESDIR "/usr/local/ssl/lib/engines"
171 #define OPENSSLDIR "/usr/local/ssl"
175 #undef OPENSSL_UNISTD
176 #define OPENSSL_UNISTD <unistd.h>
178 #undef OPENSSL_EXPORT_VAR_AS_FUNCTION
180 #if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
181 #define IDEA_INT unsigned int
184 #if defined(HEADER_MD2_H) && !defined(MD2_INT)
185 #define MD2_INT unsigned int
188 #if defined(HEADER_RC2_H) && !defined(RC2_INT)
189 /* I need to put in a mod for the alpha - eay */
190 #define RC2_INT unsigned int
193 #if defined(HEADER_RC4_H)
194 #if !defined(RC4_INT)
195 /* using int types make the structure larger but make the code faster
196 * on most boxes I have tested - up to %20 faster. */
198 * I don't know what does "most" mean, but declaring "int" is a must on:
199 * - Intel P6 because partial register stalls are very expensive;
200 * - elder Alpha because it lacks byte load/store instructions;
202 #define RC4_INT unsigned char
204 #if !defined(RC4_CHUNK)
206 * This enables code handling data aligned at natural CPU word
207 * boundary. See crypto/rc4/rc4_enc.c for further details.
209 #define RC4_CHUNK unsigned long
213 #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG)
214 /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
215 * %20 speed up (longs are 8 bytes, int's are 4). */
217 #define DES_LONG unsigned int
221 #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
222 #define CONFIG_HEADER_BN_H
225 /* Should we define BN_DIV2W here? */
227 /* Only one for the following should be defined */
228 #undef SIXTY_FOUR_BIT_LONG
229 #undef SIXTY_FOUR_BIT
230 #define THIRTY_TWO_BIT
233 #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
234 #define CONFIG_HEADER_RC4_LOCL_H
235 /* if this is defined data[i] is used instead of *data, this is a %20
240 #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
241 #define CONFIG_HEADER_BF_LOCL_H
243 #endif /* HEADER_BF_LOCL_H */
245 #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
246 #define CONFIG_HEADER_DES_LOCL_H
247 #ifndef DES_DEFAULT_OPTIONS
248 /* the following is tweaked from a config script, that is why it is a
249 * protected undef/define */
254 /* This helps C compiler generate the correct code for multiple functional
255 * units. It reduces register dependancies at the expense of 2 more
265 #if defined(DES_RISC1) && defined(DES_RISC2)
266 YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
269 /* Unroll the inner loop, this sometimes helps, sometimes hinders.
270 * Very mucy CPU dependant */
275 /* These default values were supplied by
276 * Peter Gutman <pgut001@cs.auckland.ac.nz>
277 * They are only used if nothing else has been defined */
278 #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
279 /* Special defines which change the way the code is built depending on the
280 CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
281 even newer MIPS CPU's, but at the moment one size fits all for
282 optimization options. Older Sparc's work better with only UNROLL, but
283 there's no way to tell at compile time what it is you're running on */
285 #if defined( sun ) /* Newer Sparc's */
289 #elif defined( __ultrix ) /* Older MIPS */
293 #elif defined( __osf1__ ) /* Alpha */
296 #elif defined ( _AIX ) /* RS6000 */
298 #elif defined( __hpux ) /* HP-PA */
300 #elif defined( __aux ) /* 68K */
302 #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */
304 #elif defined( __sgi ) /* Newer MIPS */
308 #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */
312 #endif /* Systems-specific speed defines */
315 #endif /* DES_DEFAULT_OPTIONS */
316 #endif /* HEADER_DES_LOCL_H */