Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
tpruvot
GitHub Repository: tpruvot/cpuminer-multi
Path: blob/linux/compat/curl-for-windows/openssl/config/opensslconf.h
1201 views
1
/* opensslconf.h */
2
/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
3
4
/* OpenSSL was configured with the following options: */
5
#undef OPENSSL_SYSNAME_WIN32
6
#if defined(_WIN32)
7
# define OPENSSL_SYSNAME_WIN32
8
#endif
9
10
#ifndef OPENSSL_DOING_MAKEDEPEND
11
# ifndef OPENSSL_NO_CAPIENG
12
# define OPENSSL_NO_CAPIENG
13
# endif
14
# ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
15
# define OPENSSL_NO_EC_NISTP_64_GCC_128
16
# endif
17
# ifndef OPENSSL_NO_GMP
18
# define OPENSSL_NO_GMP
19
# endif
20
# ifndef OPENSSL_NO_GOST
21
# define OPENSSL_NO_GOST
22
# endif
23
# ifndef OPENSSL_NO_HW_PADLOCK
24
# define OPENSSL_NO_HW_PADLOCK
25
# endif
26
# ifndef OPENSSL_NO_JPAKE
27
# define OPENSSL_NO_JPAKE
28
# endif
29
# ifndef OPENSSL_NO_KRB5
30
# define OPENSSL_NO_KRB5
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_STORE
45
# define OPENSSL_NO_STORE
46
# endif
47
#endif /* OPENSSL_DOING_MAKEDEPEND */
48
49
#ifndef OPENSSL_THREADS
50
# define OPENSSL_THREADS
51
#endif
52
#ifndef OPENSSL_NO_DYNAMIC_ENGINE
53
# define OPENSSL_NO_DYNAMIC_ENGINE
54
#endif
55
56
/* The OPENSSL_NO_* macros are also defined as NO_* if the application
57
asks for it. This is a transient feature that is provided for those
58
who haven't had the time to do the appropriate changes in their
59
applications. */
60
#ifdef OPENSSL_ALGORITHM_DEFINES
61
# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)
62
# define NO_CAMELLIA
63
# endif
64
# if defined(OPENSSL_NO_CAPIENG) && !defined(NO_CAPIENG)
65
# define NO_CAPIENG
66
# endif
67
# if defined(OPENSSL_NO_CAST) && !defined(NO_CAST)
68
# define NO_CAST
69
# endif
70
# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS)
71
# define NO_CMS
72
# endif
73
# if defined(OPENSSL_NO_FIPS) && !defined(NO_FIPS)
74
# define NO_FIPS
75
# endif
76
# if defined(OPENSSL_NO_GMP) && !defined(NO_GMP)
77
# define NO_GMP
78
# endif
79
# if defined(OPENSSL_NO_IDEA) && !defined(NO_IDEA)
80
# define NO_IDEA
81
# endif
82
# if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE)
83
# define NO_JPAKE
84
# endif
85
# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
86
# define NO_KRB5
87
# endif
88
# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
89
# define NO_MD2
90
# endif
91
# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
92
# define NO_MDC2
93
# endif
94
# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
95
# define NO_RC5
96
# endif
97
# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
98
# define NO_RFC3779
99
# endif
100
# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)
101
# define NO_SEED
102
# endif
103
# if defined(OPENSSL_NO_SHA0) && !defined(NO_SHA0)
104
# define NO_SHA0
105
# endif
106
# if defined(OPENSSL_NO_STORE) && !defined(NO_STORE)
107
# define NO_STORE
108
# endif
109
# if defined(OPENSSL_NO_WHRLPOOL) && !defined(NO_WHRLPOOL)
110
# define NO_WHRLPOOL
111
# endif
112
# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
113
# define NO_MDC2
114
# endif
115
#endif
116
117
/* crypto/opensslconf.h.in */
118
119
#ifdef OPENSSL_DOING_MAKEDEPEND
120
/* Include any symbols here that have to be explicitly set to enable a feature
121
* that should be visible to makedepend.
122
*
123
* [Our "make depend" doesn't actually look at this, we use actual build settings
124
* instead; we want to make it easy to remove subdirectories with disabled algorithms.]
125
*/
126
# ifndef OPENSSL_FIPS
127
# define OPENSSL_FIPS
128
# endif
129
#endif
130
131
/* Generate 80386 code? */
132
#undef I386_ONLY
133
134
#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
135
# if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
136
# if defined(_WIN32)
137
# define ENGINESDIR "ssl/lib/engines"
138
# define OPENSSLDIR "ssl"
139
# else
140
# define ENGINESDIR "/usr/local/ssl/lib/engines"
141
# define OPENSSLDIR "/usr/local/ssl"
142
# endif
143
# endif
144
#endif
145
146
#undef OPENSSL_UNISTD
147
#define OPENSSL_UNISTD <unistd.h>
148
#if !defined(_WIN32) && !defined(__arm__) && !defined(__mips__) && !defined(SWIG)
149
# include <unistd.h>
150
#endif
151
152
#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
153
#if defined(_WIN32)
154
# define OPENSSL_EXPORT_VAR_AS_FUNCTION
155
#endif
156
157
#if defined(HEADER_IDEA_H)
158
# undef IDEA_INT
159
# define IDEA_INT unsigned int
160
#endif
161
162
#if defined(HEADER_MD2_H)
163
# undef MD2_INT
164
# define MD2_INT unsigned int
165
#endif
166
167
#if defined(HEADER_RC2_H)
168
/* I need to put in a mod for the alpha - eay */
169
# undef RC2_INT
170
# define RC2_INT unsigned int
171
#endif
172
173
#if defined(HEADER_RC4_H)
174
/* using int types make the structure larger but make the code faster
175
* on most boxes I have tested - up to %20 faster. */
176
/*
177
* I don't know what does "most" mean, but declaring "int" is a must on:
178
* - Intel P6 because partial register stalls are very expensive;
179
* - elder Alpha because it lacks byte load/store instructions;
180
*/
181
# undef RC4_INT
182
# if defined(__arm__)
183
# define RC4_INT unsigned char
184
# else
185
# define RC4_INT unsigned int
186
# endif
187
188
/*
189
* This enables code handling data aligned at natural CPU word
190
* boundary. See crypto/rc4/rc4_enc.c for further details.
191
*/
192
# undef RC4_CHUNK
193
# if (defined(_M_X64) || defined(__x86_64__)) && defined(_WIN32)
194
# define RC4_CHUNK unsigned long long
195
# elif (defined(_M_X64) || defined(__x86_64__)) && !defined(_WIN32)
196
# define RC4_CHUNK unsigned long
197
# elif defined(__arm__)
198
# define RC4_CHUNK unsigned long
199
# else
200
/* On x86 RC4_CHUNK is not defined */
201
# endif
202
#endif
203
204
#if defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)
205
/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
206
* %20 speed up (longs are 8 bytes, int's are 4). */
207
# undef DES_LONG
208
# if defined(_M_X64) || defined(__x86_64__) || defined(__arm__) || defined(__mips__)
209
# define DES_LONG unsigned int
210
# elif defined(_M_IX86) || defined(__i386__)
211
# define DES_LONG unsigned long
212
# endif
213
#endif
214
215
#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
216
# define CONFIG_HEADER_BN_H
217
218
# undef BL_LLONG
219
# if defined(_M_IX86) || defined(__i386__) || defined(__arm__)
220
# define BL_LLONG
221
# endif
222
223
/* Should we define BN_DIV2W here? */
224
225
/* Only one for the following should be defined */
226
/* The prime number generation stuff may not work when
227
* EIGHT_BIT but I don't care since I've only used this mode
228
* for debuging the bignum libraries */
229
# undef SIXTY_FOUR_BIT_LONG
230
# undef SIXTY_FOUR_BIT
231
# undef THIRTY_TWO_BIT
232
# undef SIXTEEN_BIT
233
# undef EIGHT_BIT
234
# if (defined(_M_X64) || defined(__x86_64__)) && defined(_WIN32)
235
# define SIXTY_FOUR_BIT
236
# elif (defined(_M_X64) || defined(__x86_64__)) && !defined(_WIN32)
237
# define SIXTY_FOUR_BIT_LONG
238
# elif defined(_M_IX86) || defined(__i386__) || defined(__arm__) || defined(__mips__)
239
# define THIRTY_TWO_BIT
240
# endif
241
#endif
242
243
#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
244
# define CONFIG_HEADER_RC4_LOCL_H
245
/* if this is defined data[i] is used instead of *data, this is a %20
246
* speedup on x86 */
247
# undef RC4_INDEX
248
# if defined(_M_IX86) || defined(__i386__)
249
# define RC4_INDEX
250
# endif
251
#endif
252
253
#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
254
# define CONFIG_HEADER_BF_LOCL_H
255
# undef BF_PTR
256
# if defined(__arm__)
257
# define BF_PTR
258
# endif
259
#endif /* HEADER_BF_LOCL_H */
260
261
#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
262
# define CONFIG_HEADER_DES_LOCL_H
263
264
# ifndef DES_DEFAULT_OPTIONS
265
/* the following is tweaked from a config script, that is why it is a
266
* protected undef/define */
267
# undef DES_PTR
268
# if !defined(_WIN32) && (defined(_M_IX86) || defined(__i386__))
269
# define DES_PTR
270
# endif
271
272
/* This helps C compiler generate the correct code for multiple functional
273
* units. It reduces register dependancies at the expense of 2 more
274
* registers */
275
# undef DES_RISC1
276
# if !defined(_WIN32) && (defined(_M_IX86) || defined(__i386__))
277
# define DES_RISC1
278
# endif
279
280
# undef DES_RISC2
281
282
# if defined(DES_RISC1) && defined(DES_RISC2)
283
# error YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
284
# endif
285
286
/* Unroll the inner loop, this sometimes helps, sometimes hinders.
287
* Very mucy CPU dependant */
288
# undef DES_UNROLL
289
# if !defined(_WIN32)
290
# define DES_UNROLL
291
# endif
292
293
/* These default values were supplied by
294
* Peter Gutman <[email protected]>
295
* They are only used if nothing else has been defined */
296
# if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
297
/* Special defines which change the way the code is built depending on the
298
CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
299
even newer MIPS CPU's, but at the moment one size fits all for
300
optimization options. Older Sparc's work better with only UNROLL, but
301
there's no way to tell at compile time what it is you're running on */
302
# if defined( sun ) /* Newer Sparc's */
303
# define DES_PTR
304
# define DES_RISC1
305
# define DES_UNROLL
306
# elif defined( __ultrix ) /* Older MIPS */
307
# define DES_PTR
308
# define DES_RISC2
309
# define DES_UNROLL
310
# elif defined( __osf1__ ) /* Alpha */
311
# define DES_PTR
312
# define DES_RISC2
313
# elif defined ( _AIX ) /* RS6000 */
314
/* Unknown */
315
# elif defined( __hpux ) /* HP-PA */
316
/* Unknown */
317
# elif defined( __aux ) /* 68K */
318
/* Unknown */
319
# elif defined( __dgux ) /* 88K (but P6 in latest boxes) */
320
# define DES_UNROLL
321
# elif defined( __sgi ) /* Newer MIPS */
322
# define DES_PTR
323
# define DES_RISC2
324
# define DES_UNROLL
325
# elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */
326
# define DES_PTR
327
# define DES_RISC1
328
# define DES_UNROLL
329
# endif /* Systems-specific speed defines */
330
# endif
331
332
# endif /* DES_DEFAULT_OPTIONS */
333
#endif /* HEADER_DES_LOCL_H */
334
335