diff options
Diffstat (limited to 'src/lib/libcrypto/opensslconf.h.in')
-rw-r--r-- | src/lib/libcrypto/opensslconf.h.in | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/src/lib/libcrypto/opensslconf.h.in b/src/lib/libcrypto/opensslconf.h.in index e4a8f8ad54..9082a16c46 100644 --- a/src/lib/libcrypto/opensslconf.h.in +++ b/src/lib/libcrypto/opensslconf.h.in | |||
@@ -1,5 +1,4 @@ | |||
1 | /* crypto/opensslconf.h */ | 1 | /* crypto/opensslconf.h.in */ |
2 | /* WARNING: This file is autogenerated by Configure */ | ||
3 | 2 | ||
4 | /* Generate 80386 code? */ | 3 | /* Generate 80386 code? */ |
5 | #undef I386_ONLY | 4 | #undef I386_ONLY |
@@ -10,8 +9,11 @@ | |||
10 | #endif | 9 | #endif |
11 | #endif | 10 | #endif |
12 | 11 | ||
12 | #undef OPENSSL_UNISTD | ||
13 | #define OPENSSL_UNISTD <unistd.h> | 13 | #define OPENSSL_UNISTD <unistd.h> |
14 | 14 | ||
15 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | ||
16 | |||
15 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) | 17 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) |
16 | #define IDEA_INT unsigned int | 18 | #define IDEA_INT unsigned int |
17 | #endif | 19 | #endif |
@@ -25,13 +27,27 @@ | |||
25 | #define RC2_INT unsigned int | 27 | #define RC2_INT unsigned int |
26 | #endif | 28 | #endif |
27 | 29 | ||
28 | #if defined(HEADER_RC4_H) && !defined(RC4_INT) | 30 | #if defined(HEADER_RC4_H) |
31 | #if !defined(RC4_INT) | ||
29 | /* using int types make the structure larger but make the code faster | 32 | /* using int types make the structure larger but make the code faster |
30 | * on most boxes I have tested - up to %20 faster. */ | 33 | * on most boxes I have tested - up to %20 faster. */ |
34 | /* | ||
35 | * I don't know what does "most" mean, but declaring "int" is a must on: | ||
36 | * - Intel P6 because partial register stalls are very expensive; | ||
37 | * - elder Alpha because it lacks byte load/store instructions; | ||
38 | */ | ||
31 | #define RC4_INT unsigned int | 39 | #define RC4_INT unsigned int |
32 | #endif | 40 | #endif |
41 | #if !defined(RC4_CHUNK) | ||
42 | /* | ||
43 | * This enables code handling data aligned at natural CPU word | ||
44 | * boundary. See crypto/rc4/rc4_enc.c for further details. | ||
45 | */ | ||
46 | #undef RC4_CHUNK | ||
47 | #endif | ||
48 | #endif | ||
33 | 49 | ||
34 | #if defined(HEADER_DES_H) && !defined(DES_LONG) | 50 | #if (defined(HEADER_DES_H) || defined(HEADER_DES_OLD_H)) && !defined(DES_LONG) |
35 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | 51 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a |
36 | * %20 speed up (longs are 8 bytes, int's are 4). */ | 52 | * %20 speed up (longs are 8 bytes, int's are 4). */ |
37 | #ifndef DES_LONG | 53 | #ifndef DES_LONG |
@@ -131,7 +147,7 @@ YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! | |||
131 | # define DES_PTR | 147 | # define DES_PTR |
132 | # define DES_RISC2 | 148 | # define DES_RISC2 |
133 | # define DES_UNROLL | 149 | # define DES_UNROLL |
134 | #elif defined( i386 ) /* x86 boxes, should be gcc */ | 150 | #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ |
135 | # define DES_PTR | 151 | # define DES_PTR |
136 | # define DES_RISC1 | 152 | # define DES_RISC1 |
137 | # define DES_UNROLL | 153 | # define DES_UNROLL |