diff options
Diffstat (limited to 'src/lib/libcrypto/opensslconf.h.in')
-rw-r--r-- | src/lib/libcrypto/opensslconf.h.in | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/lib/libcrypto/opensslconf.h.in b/src/lib/libcrypto/opensslconf.h.in index e4a8f8ad54..1b85ae5989 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 |
@@ -25,11 +24,25 @@ | |||
25 | #define RC2_INT unsigned int | 24 | #define RC2_INT unsigned int |
26 | #endif | 25 | #endif |
27 | 26 | ||
28 | #if defined(HEADER_RC4_H) && !defined(RC4_INT) | 27 | #if defined(HEADER_RC4_H) |
28 | #if !defined(RC4_INT) | ||
29 | /* using int types make the structure larger but make the code faster | 29 | /* using int types make the structure larger but make the code faster |
30 | * on most boxes I have tested - up to %20 faster. */ | 30 | * on most boxes I have tested - up to %20 faster. */ |
31 | /* | ||
32 | * I don't know what does "most" mean, but declaring "int" is a must on: | ||
33 | * - Intel P6 because partial register stalls are very expensive; | ||
34 | * - elder Alpha because it lacks byte load/store instructions; | ||
35 | */ | ||
31 | #define RC4_INT unsigned int | 36 | #define RC4_INT unsigned int |
32 | #endif | 37 | #endif |
38 | #if !defined(RC4_CHUNK) | ||
39 | /* | ||
40 | * This enables code handling data aligned at natural CPU word | ||
41 | * boundary. See crypto/rc4/rc4_enc.c for further details. | ||
42 | */ | ||
43 | #undef RC4_CHUNK | ||
44 | #endif | ||
45 | #endif | ||
33 | 46 | ||
34 | #if defined(HEADER_DES_H) && !defined(DES_LONG) | 47 | #if defined(HEADER_DES_H) && !defined(DES_LONG) |
35 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | 48 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a |