Alexandre Lision | f26d3e5 | 2014-04-14 16:22:31 -0400 | [diff] [blame] | 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_COMP |
| 21 | # define OPENSSL_NO_COMP |
| 22 | #endif |
| 23 | #ifndef OPENSSL_NO_CONF |
| 24 | # define OPENSSL_NO_CONF |
| 25 | #endif |
| 26 | #ifndef OPENSSL_NO_DES |
| 27 | # define OPENSSL_NO_DES |
| 28 | #endif |
| 29 | #ifndef OPENSSL_NO_DTLS1 |
| 30 | # define OPENSSL_NO_DTLS1 |
| 31 | #endif |
| 32 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 |
| 33 | # define OPENSSL_NO_EC_NISTP_64_GCC_128 |
| 34 | #endif |
| 35 | #ifndef OPENSSL_NO_GMP |
| 36 | # define OPENSSL_NO_GMP |
| 37 | #endif |
| 38 | #ifndef OPENSSL_NO_GOST |
| 39 | # define OPENSSL_NO_GOST |
| 40 | #endif |
| 41 | #ifndef OPENSSL_NO_HEARTBEATS |
| 42 | # define OPENSSL_NO_HEARTBEATS |
| 43 | #endif |
| 44 | #ifndef OPENSSL_NO_IDEA |
| 45 | # define OPENSSL_NO_IDEA |
| 46 | #endif |
| 47 | #ifndef OPENSSL_NO_JPAKE |
| 48 | # define OPENSSL_NO_JPAKE |
| 49 | #endif |
| 50 | #ifndef OPENSSL_NO_KRB5 |
| 51 | # define OPENSSL_NO_KRB5 |
| 52 | #endif |
| 53 | #ifndef OPENSSL_NO_LOCKING |
| 54 | # define OPENSSL_NO_LOCKING |
| 55 | #endif |
| 56 | #ifndef OPENSSL_NO_MD2 |
| 57 | # define OPENSSL_NO_MD2 |
| 58 | #endif |
| 59 | #ifndef OPENSSL_NO_MD4 |
| 60 | # define OPENSSL_NO_MD4 |
| 61 | #endif |
| 62 | #ifndef OPENSSL_NO_MD5 |
| 63 | # define OPENSSL_NO_MD5 |
| 64 | #endif |
| 65 | #ifndef OPENSSL_NO_MDC2 |
| 66 | # define OPENSSL_NO_MDC2 |
| 67 | #endif |
| 68 | #ifndef OPENSSL_NO_OCSP |
| 69 | # define OPENSSL_NO_OCSP |
| 70 | #endif |
| 71 | #ifndef OPENSSL_NO_PEM |
| 72 | # define OPENSSL_NO_PEM |
| 73 | #endif |
| 74 | #ifndef OPENSSL_NO_PKCS12 |
| 75 | # define OPENSSL_NO_PKCS12 |
| 76 | #endif |
| 77 | #ifndef OPENSSL_NO_PQUEUE |
| 78 | # define OPENSSL_NO_PQUEUE |
| 79 | #endif |
| 80 | #ifndef OPENSSL_NO_RC2 |
| 81 | # define OPENSSL_NO_RC2 |
| 82 | #endif |
| 83 | #ifndef OPENSSL_NO_RC4 |
| 84 | # define OPENSSL_NO_RC4 |
| 85 | #endif |
| 86 | #ifndef OPENSSL_NO_RC5 |
| 87 | # define OPENSSL_NO_RC5 |
| 88 | #endif |
| 89 | #ifndef OPENSSL_NO_RDRAND |
| 90 | # define OPENSSL_NO_RDRAND |
| 91 | #endif |
| 92 | #ifndef OPENSSL_NO_RFC3779 |
| 93 | # define OPENSSL_NO_RFC3779 |
| 94 | #endif |
| 95 | #ifndef OPENSSL_NO_RIPEMD |
| 96 | # define OPENSSL_NO_RIPEMD |
| 97 | #endif |
| 98 | #ifndef OPENSSL_NO_RSAX |
| 99 | # define OPENSSL_NO_RSAX |
| 100 | #endif |
| 101 | #ifndef OPENSSL_NO_SCTP |
| 102 | # define OPENSSL_NO_SCTP |
| 103 | #endif |
| 104 | #ifndef OPENSSL_NO_SEED |
| 105 | # define OPENSSL_NO_SEED |
| 106 | #endif |
| 107 | #ifndef OPENSSL_NO_SHA0 |
| 108 | # define OPENSSL_NO_SHA0 |
| 109 | #endif |
| 110 | #ifndef OPENSSL_NO_SRP |
| 111 | # define OPENSSL_NO_SRP |
| 112 | #endif |
| 113 | #ifndef OPENSSL_NO_SSL2 |
| 114 | # define OPENSSL_NO_SSL2 |
| 115 | #endif |
| 116 | #ifndef OPENSSL_NO_SSL3 |
| 117 | # define OPENSSL_NO_SSL3 |
| 118 | #endif |
| 119 | #ifndef OPENSSL_NO_STATIC_ENGINE |
| 120 | # define OPENSSL_NO_STATIC_ENGINE |
| 121 | #endif |
| 122 | #ifndef OPENSSL_NO_STORE |
| 123 | # define OPENSSL_NO_STORE |
| 124 | #endif |
| 125 | #ifndef OPENSSL_NO_TLS1 |
| 126 | # define OPENSSL_NO_TLS1 |
| 127 | #endif |
| 128 | #ifndef OPENSSL_NO_TLSEXT |
| 129 | # define OPENSSL_NO_TLSEXT |
| 130 | #endif |
| 131 | #ifndef OPENSSL_NO_TS |
| 132 | # define OPENSSL_NO_TS |
| 133 | #endif |
| 134 | #ifndef OPENSSL_NO_TXT_DB |
| 135 | # define OPENSSL_NO_TXT_DB |
| 136 | #endif |
| 137 | #ifndef OPENSSL_NO_UI |
| 138 | # define OPENSSL_NO_UI |
| 139 | #endif |
| 140 | #ifndef OPENSSL_NO_WHIRLPOOL |
| 141 | # define OPENSSL_NO_WHIRLPOOL |
| 142 | #endif |
| 143 | |
| 144 | #endif /* OPENSSL_DOING_MAKEDEPEND */ |
| 145 | |
| 146 | #ifndef OPENSSL_NO_ERR |
| 147 | # define OPENSSL_NO_ERR |
| 148 | #endif |
| 149 | #ifndef OPENSSL_NO_DYNAMIC_ENGINE |
| 150 | # define OPENSSL_NO_DYNAMIC_ENGINE |
| 151 | #endif |
| 152 | |
| 153 | /* The OPENSSL_NO_* macros are also defined as NO_* if the application |
| 154 | asks for it. This is a transient feature that is provided for those |
| 155 | who haven't had the time to do the appropriate changes in their |
| 156 | applications. */ |
| 157 | #ifdef OPENSSL_ALGORITHM_DEFINES |
| 158 | # if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) |
| 159 | # define NO_CAMELLIA |
| 160 | # endif |
| 161 | # if defined(OPENSSL_NO_CAPIENG) && !defined(NO_CAPIENG) |
| 162 | # define NO_CAPIENG |
| 163 | # endif |
| 164 | # if defined(OPENSSL_NO_CAST) && !defined(NO_CAST) |
| 165 | # define NO_CAST |
| 166 | # endif |
| 167 | # if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) |
| 168 | # define NO_CMS |
| 169 | # endif |
| 170 | # if defined(OPENSSL_NO_COMP) && !defined(NO_COMP) |
| 171 | # define NO_COMP |
| 172 | # endif |
| 173 | # if defined(OPENSSL_NO_CONF) && !defined(NO_CONF) |
| 174 | # define NO_CONF |
| 175 | # endif |
| 176 | # if defined(OPENSSL_NO_DES) && !defined(NO_DES) |
| 177 | # define NO_DES |
| 178 | # endif |
| 179 | # if defined(OPENSSL_NO_DTLS1) && !defined(NO_DTLS1) |
| 180 | # define NO_DTLS1 |
| 181 | # endif |
| 182 | # if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128) |
| 183 | # define NO_EC_NISTP_64_GCC_128 |
| 184 | # endif |
| 185 | # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) |
| 186 | # define NO_GMP |
| 187 | # endif |
| 188 | # if defined(OPENSSL_NO_GOST) && !defined(NO_GOST) |
| 189 | # define NO_GOST |
| 190 | # endif |
| 191 | # if defined(OPENSSL_NO_HEARTBEATS) && !defined(NO_HEARTBEATS) |
| 192 | # define NO_HEARTBEATS |
| 193 | # endif |
| 194 | # if defined(OPENSSL_NO_IDEA) && !defined(NO_IDEA) |
| 195 | # define NO_IDEA |
| 196 | # endif |
| 197 | # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) |
| 198 | # define NO_JPAKE |
| 199 | # endif |
| 200 | # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) |
| 201 | # define NO_KRB5 |
| 202 | # endif |
| 203 | # if defined(OPENSSL_NO_LOCKING) && !defined(NO_LOCKING) |
| 204 | # define NO_LOCKING |
| 205 | # endif |
| 206 | # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) |
| 207 | # define NO_MD2 |
| 208 | # endif |
| 209 | # if defined(OPENSSL_NO_MD4) && !defined(NO_MD4) |
| 210 | # define NO_MD4 |
| 211 | # endif |
| 212 | # if defined(OPENSSL_NO_MD5) && !defined(NO_MD5) |
| 213 | # define NO_MD5 |
| 214 | # endif |
| 215 | # if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2) |
| 216 | # define NO_MDC2 |
| 217 | # endif |
| 218 | # if defined(OPENSSL_NO_OCSP) && !defined(NO_OCSP) |
| 219 | # define NO_OCSP |
| 220 | # endif |
| 221 | # if defined(OPENSSL_NO_PEM) && !defined(NO_PEM) |
| 222 | # define NO_PEM |
| 223 | # endif |
| 224 | # if defined(OPENSSL_NO_PKCS12) && !defined(NO_PKCS12) |
| 225 | # define NO_PKCS12 |
| 226 | # endif |
| 227 | # if defined(OPENSSL_NO_PQUEUE) && !defined(NO_PQUEUE) |
| 228 | # define NO_PQUEUE |
| 229 | # endif |
| 230 | # if defined(OPENSSL_NO_RC2) && !defined(NO_RC2) |
| 231 | # define NO_RC2 |
| 232 | # endif |
| 233 | # if defined(OPENSSL_NO_RC4) && !defined(NO_RC4) |
| 234 | # define NO_RC4 |
| 235 | # endif |
| 236 | # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) |
| 237 | # define NO_RC5 |
| 238 | # endif |
| 239 | # if defined(OPENSSL_NO_RDRAND) && !defined(NO_RDRAND) |
| 240 | # define NO_RDRAND |
| 241 | # endif |
| 242 | # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) |
| 243 | # define NO_RFC3779 |
| 244 | # endif |
| 245 | # if defined(OPENSSL_NO_RIPEMD) && !defined(NO_RIPEMD) |
| 246 | # define NO_RIPEMD |
| 247 | # endif |
| 248 | # if defined(OPENSSL_NO_RSAX) && !defined(NO_RSAX) |
| 249 | # define NO_RSAX |
| 250 | # endif |
| 251 | # if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP) |
| 252 | # define NO_SCTP |
| 253 | # endif |
| 254 | # if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) |
| 255 | # define NO_SEED |
| 256 | # endif |
| 257 | # if defined(OPENSSL_NO_SHA0) && !defined(NO_SHA0) |
| 258 | # define NO_SHA0 |
| 259 | # endif |
| 260 | # if defined(OPENSSL_NO_SRP) && !defined(NO_SRP) |
| 261 | # define NO_SRP |
| 262 | # endif |
| 263 | # if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) |
| 264 | # define NO_SSL2 |
| 265 | # endif |
| 266 | # if defined(OPENSSL_NO_SSL3) && !defined(NO_SSL3) |
| 267 | # define NO_SSL3 |
| 268 | # endif |
| 269 | # if defined(OPENSSL_NO_STATIC_ENGINE) && !defined(NO_STATIC_ENGINE) |
| 270 | # define NO_STATIC_ENGINE |
| 271 | # endif |
| 272 | # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) |
| 273 | # define NO_STORE |
| 274 | # endif |
| 275 | # if defined(OPENSSL_NO_TLS1) && !defined(NO_TLS1) |
| 276 | # define NO_TLS1 |
| 277 | # endif |
| 278 | # if defined(OPENSSL_NO_TLSEXT) && !defined(NO_TLSEXT) |
| 279 | # define NO_TLSEXT |
| 280 | # endif |
| 281 | # if defined(OPENSSL_NO_TS) && !defined(NO_TS) |
| 282 | # define NO_TS |
| 283 | # endif |
| 284 | # if defined(OPENSSL_NO_TXT_DB) && !defined(NO_TXT_DB) |
| 285 | # define NO_TXT_DB |
| 286 | # endif |
| 287 | # if defined(OPENSSL_NO_UI) && !defined(NO_UI) |
| 288 | # define NO_UI |
| 289 | # endif |
| 290 | # if defined(OPENSSL_NO_WHIRLPOOL) && !defined(NO_WHIRLPOOL) |
| 291 | # define NO_WHIRLPOOL |
| 292 | # endif |
| 293 | #endif |
| 294 | |
| 295 | /* crypto/opensslconf.h.in */ |
| 296 | |
| 297 | /* Generate 80386 code? */ |
| 298 | #undef I386_ONLY |
| 299 | |
| 300 | #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ |
| 301 | #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) |
| 302 | #define ENGINESDIR "/usr/local/ssl/lib/engines" |
| 303 | #define OPENSSLDIR "/usr/local/ssl" |
| 304 | #endif |
| 305 | #endif |
| 306 | |
| 307 | #undef OPENSSL_UNISTD |
| 308 | #define OPENSSL_UNISTD <trusty_std.h> |
| 309 | |
| 310 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION |
| 311 | |
| 312 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) |
| 313 | #define IDEA_INT unsigned int |
| 314 | #endif |
| 315 | |
| 316 | #if defined(HEADER_MD2_H) && !defined(MD2_INT) |
| 317 | #define MD2_INT unsigned int |
| 318 | #endif |
| 319 | |
| 320 | #if defined(HEADER_RC2_H) && !defined(RC2_INT) |
| 321 | /* I need to put in a mod for the alpha - eay */ |
| 322 | #define RC2_INT unsigned int |
| 323 | #endif |
| 324 | |
| 325 | #if defined(HEADER_RC4_H) |
| 326 | #if !defined(RC4_INT) |
| 327 | /* using int types make the structure larger but make the code faster |
| 328 | * on most boxes I have tested - up to %20 faster. */ |
| 329 | /* |
| 330 | * I don't know what does "most" mean, but declaring "int" is a must on: |
| 331 | * - Intel P6 because partial register stalls are very expensive; |
| 332 | * - elder Alpha because it lacks byte load/store instructions; |
| 333 | */ |
| 334 | #define RC4_INT unsigned int |
| 335 | #endif |
| 336 | #if !defined(RC4_CHUNK) |
| 337 | /* |
| 338 | * This enables code handling data aligned at natural CPU word |
| 339 | * boundary. See crypto/rc4/rc4_enc.c for further details. |
| 340 | */ |
| 341 | #undef RC4_CHUNK |
| 342 | #endif |
| 343 | #endif |
| 344 | |
| 345 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) |
| 346 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a |
| 347 | * %20 speed up (longs are 8 bytes, int's are 4). */ |
| 348 | #ifndef DES_LONG |
| 349 | #define DES_LONG unsigned long |
| 350 | #endif |
| 351 | #endif |
| 352 | |
| 353 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) |
| 354 | #define CONFIG_HEADER_BN_H |
| 355 | #undef BN_LLONG |
| 356 | |
| 357 | /* Should we define BN_DIV2W here? */ |
| 358 | |
| 359 | /* Only one for the following should be defined */ |
| 360 | #undef SIXTY_FOUR_BIT_LONG |
| 361 | #undef SIXTY_FOUR_BIT |
| 362 | #define THIRTY_TWO_BIT |
| 363 | #endif |
| 364 | |
| 365 | #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) |
| 366 | #define CONFIG_HEADER_RC4_LOCL_H |
| 367 | /* if this is defined data[i] is used instead of *data, this is a %20 |
| 368 | * speedup on x86 */ |
| 369 | #undef RC4_INDEX |
| 370 | #endif |
| 371 | |
| 372 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) |
| 373 | #define CONFIG_HEADER_BF_LOCL_H |
| 374 | #undef BF_PTR |
| 375 | #endif /* HEADER_BF_LOCL_H */ |
| 376 | |
| 377 | #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) |
| 378 | #define CONFIG_HEADER_DES_LOCL_H |
| 379 | #ifndef DES_DEFAULT_OPTIONS |
| 380 | /* the following is tweaked from a config script, that is why it is a |
| 381 | * protected undef/define */ |
| 382 | #ifndef DES_PTR |
| 383 | #undef DES_PTR |
| 384 | #endif |
| 385 | |
| 386 | /* This helps C compiler generate the correct code for multiple functional |
| 387 | * units. It reduces register dependancies at the expense of 2 more |
| 388 | * registers */ |
| 389 | #ifndef DES_RISC1 |
| 390 | #undef DES_RISC1 |
| 391 | #endif |
| 392 | |
| 393 | #ifndef DES_RISC2 |
| 394 | #undef DES_RISC2 |
| 395 | #endif |
| 396 | |
| 397 | #if defined(DES_RISC1) && defined(DES_RISC2) |
| 398 | YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! |
| 399 | #endif |
| 400 | |
| 401 | /* Unroll the inner loop, this sometimes helps, sometimes hinders. |
| 402 | * Very mucy CPU dependant */ |
| 403 | #ifndef DES_UNROLL |
| 404 | #undef DES_UNROLL |
| 405 | #endif |
| 406 | |
| 407 | /* These default values were supplied by |
| 408 | * Peter Gutman <pgut001@cs.auckland.ac.nz> |
| 409 | * They are only used if nothing else has been defined */ |
| 410 | #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) |
| 411 | /* Special defines which change the way the code is built depending on the |
| 412 | CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find |
| 413 | even newer MIPS CPU's, but at the moment one size fits all for |
| 414 | optimization options. Older Sparc's work better with only UNROLL, but |
| 415 | there's no way to tell at compile time what it is you're running on */ |
| 416 | |
| 417 | #if defined( sun ) /* Newer Sparc's */ |
| 418 | # define DES_PTR |
| 419 | # define DES_RISC1 |
| 420 | # define DES_UNROLL |
| 421 | #elif defined( __ultrix ) /* Older MIPS */ |
| 422 | # define DES_PTR |
| 423 | # define DES_RISC2 |
| 424 | # define DES_UNROLL |
| 425 | #elif defined( __osf1__ ) /* Alpha */ |
| 426 | # define DES_PTR |
| 427 | # define DES_RISC2 |
| 428 | #elif defined ( _AIX ) /* RS6000 */ |
| 429 | /* Unknown */ |
| 430 | #elif defined( __hpux ) /* HP-PA */ |
| 431 | /* Unknown */ |
| 432 | #elif defined( __aux ) /* 68K */ |
| 433 | /* Unknown */ |
| 434 | #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ |
| 435 | # define DES_UNROLL |
| 436 | #elif defined( __sgi ) /* Newer MIPS */ |
| 437 | # define DES_PTR |
| 438 | # define DES_RISC2 |
| 439 | # define DES_UNROLL |
| 440 | #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ |
| 441 | # define DES_PTR |
| 442 | # define DES_RISC1 |
| 443 | # define DES_UNROLL |
| 444 | #endif /* Systems-specific speed defines */ |
| 445 | #endif |
| 446 | |
| 447 | #endif /* DES_DEFAULT_OPTIONS */ |
| 448 | #endif /* HEADER_DES_LOCL_H */ |