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