diff options
| author | Theo Buehler <tb@openbsd.org> | 2025-06-09 16:42:25 +0200 |
|---|---|---|
| committer | Theo Buehler <tb@openbsd.org> | 2025-06-09 16:42:42 +0200 |
| commit | 5c4a7673b50126c30099eeb12fc2eaa27209f341 (patch) | |
| tree | dce490ba88a2ede71a586f565614ba533e0570ce /include | |
| parent | fa0d2b1c870cc33591c1136d0ab7018c5852566e (diff) | |
| download | portable-5c4a7673b50126c30099eeb12fc2eaa27209f341.tar.gz portable-5c4a7673b50126c30099eeb12fc2eaa27209f341.tar.bz2 portable-5c4a7673b50126c30099eeb12fc2eaa27209f341.zip | |
Remove MI constants which now live in other headers
Diffstat (limited to 'include')
| -rw-r--r-- | include/arch/loongarch64/opensslconf.h | 32 | ||||
| -rw-r--r-- | include/arch/mips/opensslconf.h | 32 |
2 files changed, 0 insertions, 64 deletions
diff --git a/include/arch/loongarch64/opensslconf.h b/include/arch/loongarch64/opensslconf.h index 59555fa..3aaa6bd 100644 --- a/include/arch/loongarch64/opensslconf.h +++ b/include/arch/loongarch64/opensslconf.h | |||
| @@ -1,9 +1,4 @@ | |||
| 1 | #include <openssl/opensslfeatures.h> | 1 | #include <openssl/opensslfeatures.h> |
| 2 | /* crypto/opensslconf.h.in */ | ||
| 3 | |||
| 4 | #if defined(HEADER_CRYPTO_LOCAL_H) && !defined(OPENSSLDIR) | ||
| 5 | #define OPENSSLDIR "/etc/ssl" | ||
| 6 | #endif | ||
| 7 | 2 | ||
| 8 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | 3 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION |
| 9 | 4 | ||
| @@ -17,26 +12,7 @@ | |||
| 17 | #endif | 12 | #endif |
| 18 | #endif | 13 | #endif |
| 19 | 14 | ||
| 20 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) | ||
| 21 | #define IDEA_INT unsigned int | ||
| 22 | #endif | ||
| 23 | |||
| 24 | #if defined(HEADER_RC2_H) && !defined(RC2_INT) | ||
| 25 | /* I need to put in a mod for the alpha - eay */ | ||
| 26 | #define RC2_INT unsigned int | ||
| 27 | #endif | ||
| 28 | |||
| 29 | #if defined(HEADER_RC4_H) | 15 | #if defined(HEADER_RC4_H) |
| 30 | #if !defined(RC4_INT) | ||
| 31 | /* using int types make the structure larger but make the code faster | ||
| 32 | * on most boxes I have tested - up to %20 faster. */ | ||
| 33 | /* | ||
| 34 | * I don't know what does "most" mean, but declaring "int" is a must on: | ||
| 35 | * - Intel P6 because partial register stalls are very expensive; | ||
| 36 | * - elder Alpha because it lacks byte load/store instructions; | ||
| 37 | */ | ||
| 38 | #define RC4_INT unsigned int | ||
| 39 | #endif | ||
| 40 | #if !defined(RC4_CHUNK) | 16 | #if !defined(RC4_CHUNK) |
| 41 | /* | 17 | /* |
| 42 | * This enables code handling data aligned at natural CPU word | 18 | * This enables code handling data aligned at natural CPU word |
| @@ -46,14 +22,6 @@ | |||
| 46 | #endif | 22 | #endif |
| 47 | #endif | 23 | #endif |
| 48 | 24 | ||
| 49 | #if defined(HEADER_DES_H) && !defined(DES_LONG) | ||
| 50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | ||
| 51 | * %20 speed up (longs are 8 bytes, int's are 4). */ | ||
| 52 | #ifndef DES_LONG | ||
| 53 | #define DES_LONG unsigned int | ||
| 54 | #endif | ||
| 55 | #endif | ||
| 56 | |||
| 57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | 25 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) |
| 58 | #define CONFIG_HEADER_BN_H | 26 | #define CONFIG_HEADER_BN_H |
| 59 | #undef BN_LLONG | 27 | #undef BN_LLONG |
diff --git a/include/arch/mips/opensslconf.h b/include/arch/mips/opensslconf.h index 576f49b..ee21113 100644 --- a/include/arch/mips/opensslconf.h +++ b/include/arch/mips/opensslconf.h | |||
| @@ -1,9 +1,4 @@ | |||
| 1 | #include <openssl/opensslfeatures.h> | 1 | #include <openssl/opensslfeatures.h> |
| 2 | /* crypto/opensslconf.h.in */ | ||
| 3 | |||
| 4 | #if defined(HEADER_CRYPTO_LOCAL_H) && !defined(OPENSSLDIR) | ||
| 5 | #define OPENSSLDIR "/etc/ssl" | ||
| 6 | #endif | ||
| 7 | 2 | ||
| 8 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | 3 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION |
| 9 | 4 | ||
| @@ -17,26 +12,7 @@ | |||
| 17 | #endif | 12 | #endif |
| 18 | #endif | 13 | #endif |
| 19 | 14 | ||
| 20 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) | ||
| 21 | #define IDEA_INT unsigned int | ||
| 22 | #endif | ||
| 23 | |||
| 24 | #if defined(HEADER_RC2_H) && !defined(RC2_INT) | ||
| 25 | /* I need to put in a mod for the alpha - eay */ | ||
| 26 | #define RC2_INT unsigned int | ||
| 27 | #endif | ||
| 28 | |||
| 29 | #if defined(HEADER_RC4_H) | 15 | #if defined(HEADER_RC4_H) |
| 30 | #if !defined(RC4_INT) | ||
| 31 | /* using int types make the structure larger but make the code faster | ||
| 32 | * on most boxes I have tested - up to %20 faster. */ | ||
| 33 | /* | ||
| 34 | * I don't know what does "most" mean, but declaring "int" is a must on: | ||
| 35 | * - Intel P6 because partial register stalls are very expensive; | ||
| 36 | * - elder Alpha because it lacks byte load/store instructions; | ||
| 37 | */ | ||
| 38 | #define RC4_INT unsigned int | ||
| 39 | #endif | ||
| 40 | #if !defined(RC4_CHUNK) | 16 | #if !defined(RC4_CHUNK) |
| 41 | /* | 17 | /* |
| 42 | * This enables code handling data aligned at natural CPU word | 18 | * This enables code handling data aligned at natural CPU word |
| @@ -46,14 +22,6 @@ | |||
| 46 | #endif | 22 | #endif |
| 47 | #endif | 23 | #endif |
| 48 | 24 | ||
| 49 | #if defined(HEADER_DES_H) && !defined(DES_LONG) | ||
| 50 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | ||
| 51 | * %20 speed up (longs are 8 bytes, int's are 4). */ | ||
| 52 | #ifndef DES_LONG | ||
| 53 | #define DES_LONG unsigned int | ||
| 54 | #endif | ||
| 55 | #endif | ||
| 56 | |||
| 57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | 25 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) |
| 58 | #define CONFIG_HEADER_BN_H | 26 | #define CONFIG_HEADER_BN_H |
| 59 | #define BN_LLONG | 27 | #define BN_LLONG |
