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_GMP |
---|
9 | # define OPENSSL_NO_GMP |
---|
10 | #endif |
---|
11 | #ifndef OPENSSL_NO_JPAKE |
---|
12 | # define OPENSSL_NO_JPAKE |
---|
13 | #endif |
---|
14 | #ifndef OPENSSL_NO_KRB5 |
---|
15 | # define OPENSSL_NO_KRB5 |
---|
16 | #endif |
---|
17 | #ifndef OPENSSL_NO_MD2 |
---|
18 | # define OPENSSL_NO_MD2 |
---|
19 | #endif |
---|
20 | #ifndef OPENSSL_NO_RC5 |
---|
21 | # define OPENSSL_NO_RC5 |
---|
22 | #endif |
---|
23 | #ifndef OPENSSL_NO_RFC3779 |
---|
24 | # define OPENSSL_NO_RFC3779 |
---|
25 | #endif |
---|
26 | #ifndef OPENSSL_NO_STORE |
---|
27 | # define OPENSSL_NO_STORE |
---|
28 | #endif |
---|
29 | |
---|
30 | #endif /* OPENSSL_DOING_MAKEDEPEND */ |
---|
31 | |
---|
32 | #ifndef OPENSSL_NO_DYNAMIC_ENGINE |
---|
33 | # define OPENSSL_NO_DYNAMIC_ENGINE |
---|
34 | #endif |
---|
35 | |
---|
36 | /* The OPENSSL_NO_* macros are also defined as NO_* if the application |
---|
37 | asks for it. This is a transient feature that is provided for those |
---|
38 | who haven't had the time to do the appropriate changes in their |
---|
39 | applications. */ |
---|
40 | #ifdef OPENSSL_ALGORITHM_DEFINES |
---|
41 | # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) |
---|
42 | # define NO_GMP |
---|
43 | # endif |
---|
44 | # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) |
---|
45 | # define NO_JPAKE |
---|
46 | # endif |
---|
47 | # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) |
---|
48 | # define NO_KRB5 |
---|
49 | # endif |
---|
50 | # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) |
---|
51 | # define NO_MD2 |
---|
52 | # endif |
---|
53 | # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) |
---|
54 | # define NO_RC5 |
---|
55 | # endif |
---|
56 | # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) |
---|
57 | # define NO_RFC3779 |
---|
58 | # endif |
---|
59 | # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) |
---|
60 | # define NO_STORE |
---|
61 | # endif |
---|
62 | #endif |
---|
63 | |
---|
64 | /* crypto/opensslconf.h.in */ |
---|
65 | |
---|
66 | /* Generate 80386 code? */ |
---|
67 | #undef I386_ONLY |
---|
68 | |
---|
69 | #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ |
---|
70 | #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) |
---|
71 | #define ENGINESDIR "/usr/local/ssl/lib/engines" |
---|
72 | #define OPENSSLDIR "/usr/local/ssl" |
---|
73 | #endif |
---|
74 | #endif |
---|
75 | |
---|
76 | #undef OPENSSL_UNISTD |
---|
77 | #define OPENSSL_UNISTD <unistd.h> |
---|
78 | |
---|
79 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION |
---|
80 | |
---|
81 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) |
---|
82 | #define IDEA_INT unsigned int |
---|
83 | #endif |
---|
84 | |
---|
85 | #if defined(HEADER_MD2_H) && !defined(MD2_INT) |
---|
86 | #define MD2_INT unsigned int |
---|
87 | #endif |
---|
88 | |
---|
89 | #if defined(HEADER_RC2_H) && !defined(RC2_INT) |
---|
90 | /* I need to put in a mod for the alpha - eay */ |
---|
91 | #define RC2_INT unsigned int |
---|
92 | #endif |
---|
93 | |
---|
94 | #if defined(HEADER_RC4_H) |
---|
95 | #if !defined(RC4_INT) |
---|
96 | /* using int types make the structure larger but make the code faster |
---|
97 | * on most boxes I have tested - up to %20 faster. */ |
---|
98 | /* |
---|
99 | * I don't know what does "most" mean, but declaring "int" is a must on: |
---|
100 | * - Intel P6 because partial register stalls are very expensive; |
---|
101 | * - elder Alpha because it lacks byte load/store instructions; |
---|
102 | */ |
---|
103 | #define RC4_INT unsigned int |
---|
104 | #endif |
---|
105 | #if !defined(RC4_CHUNK) |
---|
106 | /* |
---|
107 | * This enables code handling data aligned at natural CPU word |
---|
108 | * boundary. See crypto/rc4/rc4_enc.c for further details. |
---|
109 | */ |
---|
110 | #undef RC4_CHUNK |
---|
111 | #endif |
---|
112 | #endif |
---|
113 | |
---|
114 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) |
---|
115 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a |
---|
116 | * %20 speed up (longs are 8 bytes, int's are 4). */ |
---|
117 | #ifndef DES_LONG |
---|
118 | #define DES_LONG unsigned long |
---|
119 | #endif |
---|
120 | #endif |
---|
121 | |
---|
122 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) |
---|
123 | #define CONFIG_HEADER_BN_H |
---|
124 | #undef BN_LLONG |
---|
125 | |
---|
126 | /* Should we define BN_DIV2W here? */ |
---|
127 | |
---|
128 | /* Only one for the following should be defined */ |
---|
129 | #undef SIXTY_FOUR_BIT_LONG |
---|
130 | #undef SIXTY_FOUR_BIT |
---|
131 | #define THIRTY_TWO_BIT |
---|
132 | #endif |
---|
133 | |
---|
134 | #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) |
---|
135 | #define CONFIG_HEADER_RC4_LOCL_H |
---|
136 | /* if this is defined data[i] is used instead of *data, this is a %20 |
---|
137 | * speedup on x86 */ |
---|
138 | #undef RC4_INDEX |
---|
139 | #endif |
---|
140 | |
---|
141 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) |
---|
142 | #define CONFIG_HEADER_BF_LOCL_H |
---|
143 | #undef BF_PTR |
---|
144 | #endif /* HEADER_BF_LOCL_H */ |
---|
145 | |
---|
146 | #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) |
---|
147 | #define CONFIG_HEADER_DES_LOCL_H |
---|
148 | #ifndef DES_DEFAULT_OPTIONS |
---|
149 | /* the following is tweaked from a config script, that is why it is a |
---|
150 | * protected undef/define */ |
---|
151 | #ifndef DES_PTR |
---|
152 | #undef DES_PTR |
---|
153 | #endif |
---|
154 | |
---|
155 | /* This helps C compiler generate the correct code for multiple functional |
---|
156 | * units. It reduces register dependancies at the expense of 2 more |
---|
157 | * registers */ |
---|
158 | #ifndef DES_RISC1 |
---|
159 | #undef DES_RISC1 |
---|
160 | #endif |
---|
161 | |
---|
162 | #ifndef DES_RISC2 |
---|
163 | #undef DES_RISC2 |
---|
164 | #endif |
---|
165 | |
---|
166 | #if defined(DES_RISC1) && defined(DES_RISC2) |
---|
167 | YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! |
---|
168 | #endif |
---|
169 | |
---|
170 | /* Unroll the inner loop, this sometimes helps, sometimes hinders. |
---|
171 | * Very mucy CPU dependant */ |
---|
172 | #ifndef DES_UNROLL |
---|
173 | #undef DES_UNROLL |
---|
174 | #endif |
---|
175 | |
---|
176 | /* These default values were supplied by |
---|
177 | * Peter Gutman <pgut001@cs.auckland.ac.nz> |
---|
178 | * They are only used if nothing else has been defined */ |
---|
179 | #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) |
---|
180 | /* Special defines which change the way the code is built depending on the |
---|
181 | CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find |
---|
182 | even newer MIPS CPU's, but at the moment one size fits all for |
---|
183 | optimization options. Older Sparc's work better with only UNROLL, but |
---|
184 | there's no way to tell at compile time what it is you're running on */ |
---|
185 | |
---|
186 | #if defined( sun ) /* Newer Sparc's */ |
---|
187 | # define DES_PTR |
---|
188 | # define DES_RISC1 |
---|
189 | # define DES_UNROLL |
---|
190 | #elif defined( __ultrix ) /* Older MIPS */ |
---|
191 | # define DES_PTR |
---|
192 | # define DES_RISC2 |
---|
193 | # define DES_UNROLL |
---|
194 | #elif defined( __osf1__ ) /* Alpha */ |
---|
195 | # define DES_PTR |
---|
196 | # define DES_RISC2 |
---|
197 | #elif defined ( _AIX ) /* RS6000 */ |
---|
198 | /* Unknown */ |
---|
199 | #elif defined( __hpux ) /* HP-PA */ |
---|
200 | /* Unknown */ |
---|
201 | #elif defined( __aux ) /* 68K */ |
---|
202 | /* Unknown */ |
---|
203 | #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ |
---|
204 | # define DES_UNROLL |
---|
205 | #elif defined( __sgi ) /* Newer MIPS */ |
---|
206 | # define DES_PTR |
---|
207 | # define DES_RISC2 |
---|
208 | # define DES_UNROLL |
---|
209 | #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ |
---|
210 | # define DES_PTR |
---|
211 | # define DES_RISC1 |
---|
212 | # define DES_UNROLL |
---|
213 | #endif /* Systems-specific speed defines */ |
---|
214 | #endif |
---|
215 | |
---|
216 | #endif /* DES_DEFAULT_OPTIONS */ |
---|
217 | #endif /* HEADER_DES_LOCL_H */ |
---|