Project

General

Profile

Statistics
| Revision:

root / lab4 / .minix-src / include / openssl / opensslconf.h @ 13

History | View | Annotate | Download (6.72 KB)

1
/* opensslconf.h */
2
/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
3

    
4
#ifdef  __cplusplus
5
extern "C" {
6
#endif
7
/* OpenSSL was configured with the following options: */
8
#ifndef OPENSSL_DOING_MAKEDEPEND
9

    
10

    
11
#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
12
# define OPENSSL_NO_EC_NISTP_64_GCC_128
13
#endif
14
#ifndef OPENSSL_NO_GMP
15
# define OPENSSL_NO_GMP
16
#endif
17
#ifndef OPENSSL_NO_JPAKE
18
# define OPENSSL_NO_JPAKE
19
#endif
20
#ifndef OPENSSL_NO_KRB5
21
# define OPENSSL_NO_KRB5
22
#endif
23
#if !defined(__NetBSD__) && !defined(__minix)
24
#ifndef OPENSSL_NO_MD2
25
# define OPENSSL_NO_MD2
26
#endif
27
#ifndef OPENSSL_NO_RC5
28
# define OPENSSL_NO_RC5
29
#endif
30
#ifndef OPENSSL_NO_RFC3779
31
# define OPENSSL_NO_RFC3779
32
#endif
33
#ifndef OPENSSL_NO_STORE
34
# define OPENSSL_NO_STORE
35
#endif
36
#ifndef OPENSSL_NO_UNIT_TEST
37
# define OPENSSL_NO_UNIT_TEST
38
#endif
39
#else /* __NetBSD__ */
40
#ifndef OPENSSL_NO_SCTP
41
# define OPENSSL_NO_SCTP
42
#endif
43
#endif /* __NetBSD__ */
44

    
45
#define OPENSSL_CPUID_OBJ
46

    
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_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)
62
#  define NO_EC_NISTP_64_GCC_128
63
# endif
64
# if defined(OPENSSL_NO_GMP) && !defined(NO_GMP)
65
#  define NO_GMP
66
# endif
67
# if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE)
68
#  define NO_JPAKE
69
# endif
70
# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
71
#  define NO_KRB5
72
# endif
73
# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
74
#  define NO_MD2
75
# endif
76
# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
77
#  define NO_RC5
78
# endif
79
# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
80
#  define NO_RFC3779
81
# endif
82
# if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
83
#  define NO_SCTP
84
# endif
85
# if defined(OPENSSL_NO_STORE) && !defined(NO_STORE)
86
#  define NO_STORE
87
# endif
88
# if defined(OPENSSL_NO_UNIT_TEST) && !defined(NO_UNIT_TEST)
89
#  define NO_UNIT_TEST
90
# endif
91
#endif
92

    
93
/* crypto/opensslconf.h.in */
94

    
95
/* Generate 80386 code? */
96
#undef I386_ONLY
97

    
98
#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
99
#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
100
#define ENGINESDIR "/usr/local/ssl/lib/engines"
101
#define OPENSSLDIR "/usr/local/ssl"
102
#endif
103
#endif
104

    
105
#undef OPENSSL_UNISTD
106
#define OPENSSL_UNISTD <unistd.h>
107

    
108
#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
109

    
110
#if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
111
#define IDEA_INT uint32_t
112
#endif
113

    
114
#if defined(HEADER_MD2_H) && !defined(MD2_INT)
115
#define MD2_INT uint32_t
116
#endif
117

    
118
#if defined(HEADER_RC2_H) && !defined(RC2_INT)
119
/* I need to put in a mod for the alpha - eay */
120
#define RC2_INT uint32_t
121
#endif
122

    
123
#if defined(HEADER_RC4_H)
124
#if !defined(RC4_INT)
125
/* using int types make the structure larger but make the code faster
126
 * on most boxes I have tested - up to %20 faster. */
127
/*
128
 * I don't know what does "most" mean, but declaring "int" is a must on:
129
 * - Intel P6 because partial register stalls are very expensive;
130
 * - elder Alpha because it lacks byte load/store instructions;
131
 */
132
#define RC4_INT uint32_t
133
#endif
134
#if !defined(RC4_CHUNK)
135
/*
136
 * This enables code handling data aligned at natural CPU word
137
 * boundary. See crypto/rc4/rc4_enc.c for further details.
138
 */
139
#ifdef _LP64
140
#define RC4_CHUNK uint64_t
141
#else
142
#undef RC4_CHUNK
143
#endif
144
#endif
145
#endif
146

    
147
#if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG)
148
/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
149
 * %20 speed up (longs are 8 bytes, int's are 4). */
150
#ifndef DES_LONG
151
#define DES_LONG uint32_t
152
#endif
153
#endif
154

    
155
#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
156
#define CONFIG_HEADER_BN_H
157
/* #undef BN_LLONG */
158

    
159
/* Should we define BN_DIV2W here? */
160

    
161
/* Only one for the following should be defined */
162
#ifdef _LP64
163
#define SIXTY_FOUR_BIT_LONG
164
#undef SIXTY_FOUR_BIT
165
#undef THIRTY_TWO_BIT
166
#else
167
#undef SIXTY_FOUR_BIT_LONG
168
#undef SIXTY_FOUR_BIT
169
#define THIRTY_TWO_BIT
170
#endif
171
#endif
172

    
173
#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
174
#define CONFIG_HEADER_RC4_LOCL_H
175
/* if this is defined data[i] is used instead of *data, this is a %20
176
 * speedup on x86 */
177
/* #undef RC4_INDEX */
178
#endif
179

    
180
#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
181
#define CONFIG_HEADER_BF_LOCL_H
182
/* #undef BF_PTR */
183
#endif /* HEADER_BF_LOCL_H */
184

    
185
#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
186
#define CONFIG_HEADER_DES_LOCL_H
187
#ifndef DES_DEFAULT_OPTIONS
188
/* the following is tweaked from a config script, that is why it is a
189
 * protected undef/define */
190
#ifndef DES_PTR
191
/* #undef DES_PTR */
192
#endif
193

    
194
/* This helps C compiler generate the correct code for multiple functional
195
 * units.  It reduces register dependancies at the expense of 2 more
196
 * registers */
197
#ifndef DES_RISC1
198
/* #undef DES_RISC1 */
199
#endif
200

    
201
#ifndef DES_RISC2
202
/* #undef DES_RISC2 */
203
#endif
204

    
205
#if defined(DES_RISC1) && defined(DES_RISC2)
206
#error YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
207
#endif
208

    
209
/* Unroll the inner loop, this sometimes helps, sometimes hinders.
210
 * Very mucy CPU dependant */
211
#ifndef DES_UNROLL
212
/* #undef DES_UNROLL */
213
#endif
214

    
215
/* These default values were supplied by
216
 * Peter Gutman <pgut001@cs.auckland.ac.nz>
217
 * They are only used if nothing else has been defined */
218
#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
219
/* Special defines which change the way the code is built depending on the
220
   CPU and OS.  For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
221
   even newer MIPS CPU's, but at the moment one size fits all for
222
   optimization options.  Older Sparc's work better with only UNROLL, but
223
   there's no way to tell at compile time what it is you're running on */
224
 
225
#if defined( sun )                /* Newer Sparc's */
226
#  define DES_PTR
227
#  define DES_RISC1
228
#  define DES_UNROLL
229
#elif defined( __ultrix )        /* Older MIPS */
230
#  define DES_PTR
231
#  define DES_RISC2
232
#  define DES_UNROLL
233
#elif defined( __osf1__ )        /* Alpha */
234
#  define DES_PTR
235
#  define DES_RISC2
236
#elif defined ( _AIX )                /* RS6000 */
237
  /* Unknown */
238
#elif defined( __hpux )                /* HP-PA */
239
  /* Unknown */
240
#elif defined( __aux )                /* 68K */
241
  /* Unknown */
242
#elif defined( __dgux )                /* 88K (but P6 in latest boxes) */
243
#  define DES_UNROLL
244
#elif defined( __sgi )                /* Newer MIPS */
245
#  define DES_PTR
246
#  define DES_RISC2
247
#  define DES_UNROLL
248
#elif defined(i386) || defined(__i386__)        /* x86 boxes, should be gcc */
249
#  define DES_PTR
250
#  define DES_RISC1
251
#  define DES_UNROLL
252
#endif /* Systems-specific speed defines */
253
#endif
254

    
255
#endif /* DES_DEFAULT_OPTIONS */
256
#endif /* HEADER_DES_LOCL_H */
257
#ifdef  __cplusplus
258
}
259
#endif