Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(494)

Side by Side Diff: openssl/crypto/opensslconf.h

Issue 2072073002: Delete bundled copy of OpenSSL and replace with README. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/openssl@master
Patch Set: Delete bundled copy of OpenSSL and replace with README. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « openssl/crypto/ocsp/ocsp_vfy.c ('k') | openssl/crypto/opensslconf.h.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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_CAMELLIA
9 # define OPENSSL_NO_CAMELLIA
10 #endif
11 #ifndef OPENSSL_NO_CAPIENG
12 # define OPENSSL_NO_CAPIENG
13 #endif
14 #ifndef OPENSSL_NO_CAST
15 # define OPENSSL_NO_CAST
16 #endif
17 #ifndef OPENSSL_NO_CMS
18 # define OPENSSL_NO_CMS
19 #endif
20 #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
21 # define OPENSSL_NO_EC_NISTP_64_GCC_128
22 #endif
23 #ifndef OPENSSL_NO_GMP
24 # define OPENSSL_NO_GMP
25 #endif
26 #ifndef OPENSSL_NO_GOST
27 # define OPENSSL_NO_GOST
28 #endif
29 #ifndef OPENSSL_NO_HEARTBEATS
30 # define OPENSSL_NO_HEARTBEATS
31 #endif
32 #ifndef OPENSSL_NO_IDEA
33 # define OPENSSL_NO_IDEA
34 #endif
35 #ifndef OPENSSL_NO_JPAKE
36 # define OPENSSL_NO_JPAKE
37 #endif
38 #ifndef OPENSSL_NO_KRB5
39 # define OPENSSL_NO_KRB5
40 #endif
41 #ifndef OPENSSL_NO_MD2
42 # define OPENSSL_NO_MD2
43 #endif
44 #ifndef OPENSSL_NO_MDC2
45 # define OPENSSL_NO_MDC2
46 #endif
47 #ifndef OPENSSL_NO_RC5
48 # define OPENSSL_NO_RC5
49 #endif
50 #ifndef OPENSSL_NO_RDRAND
51 # define OPENSSL_NO_RDRAND
52 #endif
53 #ifndef OPENSSL_NO_RFC3779
54 # define OPENSSL_NO_RFC3779
55 #endif
56 #ifndef OPENSSL_NO_RSAX
57 # define OPENSSL_NO_RSAX
58 #endif
59 #ifndef OPENSSL_NO_SCTP
60 # define OPENSSL_NO_SCTP
61 #endif
62 #ifndef OPENSSL_NO_SEED
63 # define OPENSSL_NO_SEED
64 #endif
65 #ifndef OPENSSL_NO_SHA0
66 # define OPENSSL_NO_SHA0
67 #endif
68 #ifndef OPENSSL_NO_STATIC_ENGINE
69 # define OPENSSL_NO_STATIC_ENGINE
70 #endif
71 #ifndef OPENSSL_NO_STORE
72 # define OPENSSL_NO_STORE
73 #endif
74 #ifndef OPENSSL_NO_WHIRLPOOL
75 # define OPENSSL_NO_WHIRLPOOL
76 #endif
77
78 #endif /* OPENSSL_DOING_MAKEDEPEND */
79
80 #ifndef OPENSSL_THREADS
81 # define OPENSSL_THREADS
82 #endif
83 #ifndef OPENSSL_NO_DYNAMIC_ENGINE
84 # define OPENSSL_NO_DYNAMIC_ENGINE
85 #endif
86
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
90 applications. */
91 #ifdef OPENSSL_ALGORITHM_DEFINES
92 # if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)
93 # define NO_CAMELLIA
94 # endif
95 # if defined(OPENSSL_NO_CAPIENG) && !defined(NO_CAPIENG)
96 # define NO_CAPIENG
97 # endif
98 # if defined(OPENSSL_NO_CAST) && !defined(NO_CAST)
99 # define NO_CAST
100 # endif
101 # if defined(OPENSSL_NO_CMS) && !defined(NO_CMS)
102 # define NO_CMS
103 # endif
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
106 # endif
107 # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP)
108 # define NO_GMP
109 # endif
110 # if defined(OPENSSL_NO_GOST) && !defined(NO_GOST)
111 # define NO_GOST
112 # endif
113 # if defined(OPENSSL_NO_HEARTBEATS) && !defined(NO_HEARTBEATS)
114 # define NO_HEARTBEATS
115 # endif
116 # if defined(OPENSSL_NO_IDEA) && !defined(NO_IDEA)
117 # define NO_IDEA
118 # endif
119 # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE)
120 # define NO_JPAKE
121 # endif
122 # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
123 # define NO_KRB5
124 # endif
125 # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
126 # define NO_MD2
127 # endif
128 # if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
129 # define NO_MDC2
130 # endif
131 # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
132 # define NO_RC5
133 # endif
134 # if defined(OPENSSL_NO_RDRAND) && !defined(NO_RDRAND)
135 # define NO_RDRAND
136 # endif
137 # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
138 # define NO_RFC3779
139 # endif
140 # if defined(OPENSSL_NO_RSAX) && !defined(NO_RSAX)
141 # define NO_RSAX
142 # endif
143 # if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
144 # define NO_SCTP
145 # endif
146 # if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)
147 # define NO_SEED
148 # endif
149 # if defined(OPENSSL_NO_SHA0) && !defined(NO_SHA0)
150 # define NO_SHA0
151 # endif
152 # if defined(OPENSSL_NO_STATIC_ENGINE) && !defined(NO_STATIC_ENGINE)
153 # define NO_STATIC_ENGINE
154 # endif
155 # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE)
156 # define NO_STORE
157 # endif
158 # if defined(OPENSSL_NO_WHIRLPOOL) && !defined(NO_WHIRLPOOL)
159 # define NO_WHIRLPOOL
160 # endif
161 #endif
162
163 /* crypto/opensslconf.h.in */
164
165 /* Generate 80386 code? */
166 #undef I386_ONLY
167
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"
172 #endif
173 #endif
174
175 #undef OPENSSL_UNISTD
176 #define OPENSSL_UNISTD <unistd.h>
177
178 #undef OPENSSL_EXPORT_VAR_AS_FUNCTION
179
180 #if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
181 #define IDEA_INT unsigned int
182 #endif
183
184 #if defined(HEADER_MD2_H) && !defined(MD2_INT)
185 #define MD2_INT unsigned int
186 #endif
187
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
191 #endif
192
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. */
197 /*
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;
201 */
202 #define RC4_INT unsigned char
203 #endif
204 #if !defined(RC4_CHUNK)
205 /*
206 * This enables code handling data aligned at natural CPU word
207 * boundary. See crypto/rc4/rc4_enc.c for further details.
208 */
209 #define RC4_CHUNK unsigned long
210 #endif
211 #endif
212
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). */
216 #ifndef DES_LONG
217 #define DES_LONG unsigned int
218 #endif
219 #endif
220
221 #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
222 #define CONFIG_HEADER_BN_H
223 #define BN_LLONG
224
225 /* Should we define BN_DIV2W here? */
226
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
231 #endif
232
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
236 * speedup on x86 */
237 #undef RC4_INDEX
238 #endif
239
240 #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
241 #define CONFIG_HEADER_BF_LOCL_H
242 #define BF_PTR
243 #endif /* HEADER_BF_LOCL_H */
244
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 */
250 #ifndef DES_PTR
251 #undef DES_PTR
252 #endif
253
254 /* This helps C compiler generate the correct code for multiple functional
255 * units. It reduces register dependancies at the expense of 2 more
256 * registers */
257 #ifndef DES_RISC1
258 #undef DES_RISC1
259 #endif
260
261 #ifndef DES_RISC2
262 #undef DES_RISC2
263 #endif
264
265 #if defined(DES_RISC1) && defined(DES_RISC2)
266 YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
267 #endif
268
269 /* Unroll the inner loop, this sometimes helps, sometimes hinders.
270 * Very mucy CPU dependant */
271 #ifndef DES_UNROLL
272 #define DES_UNROLL
273 #endif
274
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 */
284
285 #if defined( sun ) /* Newer Sparc's */
286 # define DES_PTR
287 # define DES_RISC1
288 # define DES_UNROLL
289 #elif defined( __ultrix ) /* Older MIPS */
290 # define DES_PTR
291 # define DES_RISC2
292 # define DES_UNROLL
293 #elif defined( __osf1__ ) /* Alpha */
294 # define DES_PTR
295 # define DES_RISC2
296 #elif defined ( _AIX ) /* RS6000 */
297 /* Unknown */
298 #elif defined( __hpux ) /* HP-PA */
299 /* Unknown */
300 #elif defined( __aux ) /* 68K */
301 /* Unknown */
302 #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */
303 # define DES_UNROLL
304 #elif defined( __sgi ) /* Newer MIPS */
305 # define DES_PTR
306 # define DES_RISC2
307 # define DES_UNROLL
308 #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */
309 # define DES_PTR
310 # define DES_RISC1
311 # define DES_UNROLL
312 #endif /* Systems-specific speed defines */
313 #endif
314
315 #endif /* DES_DEFAULT_OPTIONS */
316 #endif /* HEADER_DES_LOCL_H */
OLDNEW
« no previous file with comments | « openssl/crypto/ocsp/ocsp_vfy.c ('k') | openssl/crypto/opensslconf.h.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698