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