2 /* WARNING: Generated automatically from opensslconf.h.in by Configure. */
4 /* OpenSSL was configured with the following options: */
6 #if (defined(__SYMBIAN32__) && !defined(SYMBIAN))
10 #ifndef OPENSSL_DOING_MAKEDEPEND
13 # define OPENSSL_NO_BF
15 #ifndef OPENSSL_NO_CAST
16 # define OPENSSL_NO_CAST
18 #ifndef OPENSSL_NO_CPUID_OBJ
19 # define OPENSSL_NO_CPUID_OBJ
21 #ifndef OPENSSL_NO_DEPRECATED
22 # define OPENSSL_NO_DEPRECATED
25 # define OPENSSL_NO_EC
27 #ifndef OPENSSL_NO_ECDH
28 # define OPENSSL_NO_ECDH
30 #ifndef OPENSSL_NO_ECDSA
31 # define OPENSSL_NO_ECDSA
33 #ifndef OPENSSL_NO_GMP
34 # define OPENSSL_NO_GMP
36 #ifndef OPENSSL_NO_IDEA
37 # define OPENSSL_NO_IDEA
39 #ifndef OPENSSL_NO_KRB5
40 # define OPENSSL_NO_KRB5
42 #ifndef OPENSSL_NO_MD4
43 # define OPENSSL_NO_MD4
45 #ifndef OPENSSL_NO_MDC2
46 # define OPENSSL_NO_MDC2
48 #ifndef OPENSSL_NO_RC5
49 # define OPENSSL_NO_RC5
54 #ifndef OPENSSL_NO_RIPEMD
55 # define OPENSSL_NO_RIPEMD
57 #ifndef OPENSSL_NO_SHA256
58 # define OPENSSL_NO_SHA256
60 #ifndef OPENSSL_NO_SHA512
61 # define OPENSSL_NO_SHA512
63 #ifndef OPENSSL_NO_STATIC_ENGINE
64 # define OPENSSL_NO_STATIC_ENGINE
67 #endif /* OPENSSL_DOING_MAKEDEPEND */
68 #ifndef OPENSSL_THREADS
69 # define OPENSSL_THREADS
71 #ifndef OPENSSL_NO_ASM
72 # define OPENSSL_NO_ASM
75 # define OPENSSL_NO_HW
77 #ifndef OPENSSL_NO_STATIC_ENGINE
78 # define OPENSSL_NO_STATIC_ENGINE
81 /* The OPENSSL_NO_* macros are also defined as NO_* if the application
82 asks for it. This is a transient feature that is provided for those
83 who haven't had the time to do the appropriate changes in their
85 #ifdef OPENSSL_ALGORITHM_DEFINES
86 # if defined(OPENSSL_NO_BF) && !defined(NO_BF)
89 # if defined(OPENSSL_NO_CAST) && !defined(NO_CAST)
92 # if defined(OPENSSL_NO_CPUID_OBJ) && !defined(NO_CPUID_OBJ)
95 # if defined(OPENSSL_NO_DEPRECATED) && !defined(NO_DEPRECATED)
96 # define NO_DEPRECATED
98 # if defined(OPENSSL_NO_EC) && !defined(NO_EC)
101 # if defined(OPENSSL_NO_ECDH) && !defined(NO_ECDH)
104 # if defined(OPENSSL_NO_ECDSA) && !defined(NO_ECDSA)
107 # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP)
110 # if defined(OPENSSL_NO_IDEA) && !defined(NO_IDEA)
113 # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
116 # if defined(OPENSSL_NO_MD4) && !defined(NO_MD4)
119 # if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
122 # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
126 # if defined(OPENSSL_NO_RIPEMD) && !defined(NO_RIPEMD)
129 # if defined(OPENSSL_NO_SHA256) && !defined(NO_SHA256)
132 # if defined(OPENSSL_NO_SHA512) && !defined(NO_SHA512)
135 # if defined(OPENSSL_NO_STATIC_ENGINE) && !defined(NO_STATIC_ENGINE)
136 # define NO_STATIC_ENGINE
140 /* crypto/opensslconf.h.in */
142 /* Generate 80386 code? */
145 #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
146 #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
147 #define ENGINESDIR "/usr/local/ssl/lib/engines"
149 #define OPENSSLDIR "C:"
151 #define OPENSSLDIR "/usr/local/ssl"
156 #undef OPENSSL_UNISTD
157 #define OPENSSL_UNISTD <unistd.h>
159 #undef OPENSSL_EXPORT_VAR_AS_FUNCTION
161 #if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
162 #define IDEA_INT unsigned int
165 #if defined(HEADER_MD2_H) && !defined(MD2_INT)
166 #define MD2_INT unsigned int
169 #if defined(HEADER_RC2_H) && !defined(RC2_INT)
170 /* I need to put in a mod for the alpha - eay */
171 #define RC2_INT unsigned int
174 #if defined(HEADER_RC4_H)
175 #if !defined(RC4_INT)
176 /* using int types make the structure larger but make the code faster
177 * on most boxes I have tested - up to %20 faster. */
179 * I don't know what does "most" mean, but declaring "int" is a must on:
180 * - Intel P6 because partial register stalls are very expensive;
181 * - elder Alpha because it lacks byte load/store instructions;
183 #define RC4_INT unsigned int
185 #if !defined(RC4_CHUNK)
187 * This enables code handling data aligned at natural CPU word
188 * boundary. See crypto/rc4/rc4_enc.c for further details.
194 #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG)
195 /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
196 * %20 speed up (longs are 8 bytes, int's are 4). */
198 #define DES_LONG unsigned long
202 #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
203 #define CONFIG_HEADER_BN_H
206 /* Should we define BN_DIV2W here? */
208 /* Only one for the following should be defined */
209 /* The prime number generation stuff may not work when
210 * EIGHT_BIT but I don't care since I've only used this mode
211 * for debuging the bignum libraries */
212 #undef SIXTY_FOUR_BIT_LONG
213 #undef SIXTY_FOUR_BIT
214 #define THIRTY_TWO_BIT
219 #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
220 #define CONFIG_HEADER_RC4_LOCL_H
221 /* if this is defined data[i] is used instead of *data, this is a %20
226 #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
227 #define CONFIG_HEADER_BF_LOCL_H
229 #endif /* HEADER_BF_LOCL_H */
231 #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
232 #define CONFIG_HEADER_DES_LOCL_H
233 #ifndef DES_DEFAULT_OPTIONS
234 /* the following is tweaked from a config script, that is why it is a
235 * protected undef/define */
240 /* This helps C compiler generate the correct code for multiple functional
241 * units. It reduces register dependancies at the expense of 2 more
251 #if defined(DES_RISC1) && defined(DES_RISC2)
252 YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
255 /* Unroll the inner loop, this sometimes helps, sometimes hinders.
256 * Very mucy CPU dependant */
261 /* These default values were supplied by
262 * Peter Gutman <pgut001@cs.auckland.ac.nz>
263 * They are only used if nothing else has been defined */
264 #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
265 /* Special defines which change the way the code is built depending on the
266 CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
267 even newer MIPS CPU's, but at the moment one size fits all for
268 optimization options. Older Sparc's work better with only UNROLL, but
269 there's no way to tell at compile time what it is you're running on */
271 #if defined( sun ) /* Newer Sparc's */
275 #elif defined( __ultrix ) /* Older MIPS */
279 #elif defined( __osf1__ ) /* Alpha */
282 #elif defined ( _AIX ) /* RS6000 */
284 #elif defined( __hpux ) /* HP-PA */
286 #elif defined( __aux ) /* 68K */
288 #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */
290 #elif defined( __sgi ) /* Newer MIPS */
294 #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */
298 #endif /* Systems-specific speed defines */
301 #endif /* DES_DEFAULT_OPTIONS */
302 #endif /* HEADER_DES_LOCL_H */