diff options
author | tb <> | 2025-06-08 11:22:18 +0000 |
---|---|---|
committer | tb <> | 2025-06-08 11:22:18 +0000 |
commit | 89ed195bf074f81ccca95b1394f3aababc81a09c (patch) | |
tree | 2b12fa068a79a7eeb544a6ef229cd6f77d188238 /src/lib | |
parent | 7383a1fd22dbb24eca30d22ea7b825d654352ef2 (diff) | |
download | openbsd-89ed195bf074f81ccca95b1394f3aababc81a09c.tar.gz openbsd-89ed195bf074f81ccca95b1394f3aababc81a09c.tar.bz2 openbsd-89ed195bf074f81ccca95b1394f3aababc81a09c.zip |
Remove ${MULTIPLE_OF_EIGHT}_BIT*
These are unused internally and very few things look at them, none of
which should really matter to us, except possibly free pascal on Windows.
sizeof has been available since forever...
ok jsing
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/arch/aarch64/opensslconf.h | 12 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/alpha/opensslconf.h | 10 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/amd64/opensslconf.h | 7 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/arm/opensslconf.h | 12 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/hppa/opensslconf.h | 12 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/i386/opensslconf.h | 12 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/m88k/opensslconf.h | 12 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/mips64/opensslconf.h | 12 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/powerpc/opensslconf.h | 12 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/powerpc64/opensslconf.h | 7 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/riscv64/opensslconf.h | 12 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/sh/opensslconf.h | 12 | ||||
-rw-r--r-- | src/lib/libcrypto/arch/sparc64/opensslconf.h | 12 |
13 files changed, 0 insertions, 144 deletions
diff --git a/src/lib/libcrypto/arch/aarch64/opensslconf.h b/src/lib/libcrypto/arch/aarch64/opensslconf.h index cf94145a1e..59555fa1df 100644 --- a/src/lib/libcrypto/arch/aarch64/opensslconf.h +++ b/src/lib/libcrypto/arch/aarch64/opensslconf.h | |||
@@ -57,18 +57,6 @@ | |||
57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | 57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) |
58 | #define CONFIG_HEADER_BN_H | 58 | #define CONFIG_HEADER_BN_H |
59 | #undef BN_LLONG | 59 | #undef BN_LLONG |
60 | |||
61 | /* Should we define BN_DIV2W here? */ | ||
62 | |||
63 | /* Only one for the following should be defined */ | ||
64 | /* The prime number generation stuff may not work when | ||
65 | * EIGHT_BIT but I don't care since I've only used this mode | ||
66 | * for debugging the bignum libraries */ | ||
67 | #define SIXTY_FOUR_BIT_LONG | ||
68 | #undef SIXTY_FOUR_BIT | ||
69 | #undef THIRTY_TWO_BIT | ||
70 | #undef SIXTEEN_BIT | ||
71 | #undef EIGHT_BIT | ||
72 | #endif | 60 | #endif |
73 | 61 | ||
74 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | 62 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) |
diff --git a/src/lib/libcrypto/arch/alpha/opensslconf.h b/src/lib/libcrypto/arch/alpha/opensslconf.h index 37b5c08701..e079b1bc6f 100644 --- a/src/lib/libcrypto/arch/alpha/opensslconf.h +++ b/src/lib/libcrypto/arch/alpha/opensslconf.h | |||
@@ -57,16 +57,6 @@ | |||
57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | 57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) |
58 | #define CONFIG_HEADER_BN_H | 58 | #define CONFIG_HEADER_BN_H |
59 | #undef BN_LLONG | 59 | #undef BN_LLONG |
60 | |||
61 | /* Should we define BN_DIV2W here? */ | ||
62 | |||
63 | /* Only one for the following should be defined */ | ||
64 | /* The prime number generation stuff may not work when | ||
65 | * EIGHT_BIT but I don't care since I've only used this mode | ||
66 | * for debugging the bignum libraries */ | ||
67 | #define SIXTY_FOUR_BIT_LONG | ||
68 | #undef SIXTY_FOUR_BIT | ||
69 | #undef THIRTY_TWO_BIT | ||
70 | #endif | 60 | #endif |
71 | 61 | ||
72 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | 62 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) |
diff --git a/src/lib/libcrypto/arch/amd64/opensslconf.h b/src/lib/libcrypto/arch/amd64/opensslconf.h index d058975bfc..59555fa1df 100644 --- a/src/lib/libcrypto/arch/amd64/opensslconf.h +++ b/src/lib/libcrypto/arch/amd64/opensslconf.h | |||
@@ -57,13 +57,6 @@ | |||
57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | 57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) |
58 | #define CONFIG_HEADER_BN_H | 58 | #define CONFIG_HEADER_BN_H |
59 | #undef BN_LLONG | 59 | #undef BN_LLONG |
60 | |||
61 | /* Should we define BN_DIV2W here? */ | ||
62 | |||
63 | /* Only one for the following should be defined */ | ||
64 | #define SIXTY_FOUR_BIT_LONG | ||
65 | #undef SIXTY_FOUR_BIT | ||
66 | #undef THIRTY_TWO_BIT | ||
67 | #endif | 60 | #endif |
68 | 61 | ||
69 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | 62 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) |
diff --git a/src/lib/libcrypto/arch/arm/opensslconf.h b/src/lib/libcrypto/arch/arm/opensslconf.h index 36606f3575..576f49b0ec 100644 --- a/src/lib/libcrypto/arch/arm/opensslconf.h +++ b/src/lib/libcrypto/arch/arm/opensslconf.h | |||
@@ -57,18 +57,6 @@ | |||
57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | 57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) |
58 | #define CONFIG_HEADER_BN_H | 58 | #define CONFIG_HEADER_BN_H |
59 | #define BN_LLONG | 59 | #define BN_LLONG |
60 | |||
61 | /* Should we define BN_DIV2W here? */ | ||
62 | |||
63 | /* Only one for the following should be defined */ | ||
64 | /* The prime number generation stuff may not work when | ||
65 | * EIGHT_BIT but I don't care since I've only used this mode | ||
66 | * for debugging the bignum libraries */ | ||
67 | #undef SIXTY_FOUR_BIT_LONG | ||
68 | #undef SIXTY_FOUR_BIT | ||
69 | #define THIRTY_TWO_BIT | ||
70 | #undef SIXTEEN_BIT | ||
71 | #undef EIGHT_BIT | ||
72 | #endif | 60 | #endif |
73 | 61 | ||
74 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | 62 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) |
diff --git a/src/lib/libcrypto/arch/hppa/opensslconf.h b/src/lib/libcrypto/arch/hppa/opensslconf.h index 36606f3575..576f49b0ec 100644 --- a/src/lib/libcrypto/arch/hppa/opensslconf.h +++ b/src/lib/libcrypto/arch/hppa/opensslconf.h | |||
@@ -57,18 +57,6 @@ | |||
57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | 57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) |
58 | #define CONFIG_HEADER_BN_H | 58 | #define CONFIG_HEADER_BN_H |
59 | #define BN_LLONG | 59 | #define BN_LLONG |
60 | |||
61 | /* Should we define BN_DIV2W here? */ | ||
62 | |||
63 | /* Only one for the following should be defined */ | ||
64 | /* The prime number generation stuff may not work when | ||
65 | * EIGHT_BIT but I don't care since I've only used this mode | ||
66 | * for debugging the bignum libraries */ | ||
67 | #undef SIXTY_FOUR_BIT_LONG | ||
68 | #undef SIXTY_FOUR_BIT | ||
69 | #define THIRTY_TWO_BIT | ||
70 | #undef SIXTEEN_BIT | ||
71 | #undef EIGHT_BIT | ||
72 | #endif | 60 | #endif |
73 | 61 | ||
74 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | 62 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) |
diff --git a/src/lib/libcrypto/arch/i386/opensslconf.h b/src/lib/libcrypto/arch/i386/opensslconf.h index 3afc97f29d..538b5c9104 100644 --- a/src/lib/libcrypto/arch/i386/opensslconf.h +++ b/src/lib/libcrypto/arch/i386/opensslconf.h | |||
@@ -57,18 +57,6 @@ | |||
57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | 57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) |
58 | #define CONFIG_HEADER_BN_H | 58 | #define CONFIG_HEADER_BN_H |
59 | #define BN_LLONG | 59 | #define BN_LLONG |
60 | |||
61 | /* Should we define BN_DIV2W here? */ | ||
62 | |||
63 | /* Only one for the following should be defined */ | ||
64 | /* The prime number generation stuff may not work when | ||
65 | * EIGHT_BIT but I don't care since I've only used this mode | ||
66 | * for debugging the bignum libraries */ | ||
67 | #undef SIXTY_FOUR_BIT_LONG | ||
68 | #undef SIXTY_FOUR_BIT | ||
69 | #define THIRTY_TWO_BIT | ||
70 | #undef SIXTEEN_BIT | ||
71 | #undef EIGHT_BIT | ||
72 | #endif | 60 | #endif |
73 | 61 | ||
74 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | 62 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) |
diff --git a/src/lib/libcrypto/arch/m88k/opensslconf.h b/src/lib/libcrypto/arch/m88k/opensslconf.h index 36606f3575..576f49b0ec 100644 --- a/src/lib/libcrypto/arch/m88k/opensslconf.h +++ b/src/lib/libcrypto/arch/m88k/opensslconf.h | |||
@@ -57,18 +57,6 @@ | |||
57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | 57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) |
58 | #define CONFIG_HEADER_BN_H | 58 | #define CONFIG_HEADER_BN_H |
59 | #define BN_LLONG | 59 | #define BN_LLONG |
60 | |||
61 | /* Should we define BN_DIV2W here? */ | ||
62 | |||
63 | /* Only one for the following should be defined */ | ||
64 | /* The prime number generation stuff may not work when | ||
65 | * EIGHT_BIT but I don't care since I've only used this mode | ||
66 | * for debugging the bignum libraries */ | ||
67 | #undef SIXTY_FOUR_BIT_LONG | ||
68 | #undef SIXTY_FOUR_BIT | ||
69 | #define THIRTY_TWO_BIT | ||
70 | #undef SIXTEEN_BIT | ||
71 | #undef EIGHT_BIT | ||
72 | #endif | 60 | #endif |
73 | 61 | ||
74 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | 62 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) |
diff --git a/src/lib/libcrypto/arch/mips64/opensslconf.h b/src/lib/libcrypto/arch/mips64/opensslconf.h index e68c82131e..e079b1bc6f 100644 --- a/src/lib/libcrypto/arch/mips64/opensslconf.h +++ b/src/lib/libcrypto/arch/mips64/opensslconf.h | |||
@@ -57,18 +57,6 @@ | |||
57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | 57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) |
58 | #define CONFIG_HEADER_BN_H | 58 | #define CONFIG_HEADER_BN_H |
59 | #undef BN_LLONG | 59 | #undef BN_LLONG |
60 | |||
61 | /* Should we define BN_DIV2W here? */ | ||
62 | |||
63 | /* Only one for the following should be defined */ | ||
64 | /* The prime number generation stuff may not work when | ||
65 | * EIGHT_BIT but I don't care since I've only used this mode | ||
66 | * for debugging the bignum libraries */ | ||
67 | #define SIXTY_FOUR_BIT_LONG | ||
68 | #undef SIXTY_FOUR_BIT | ||
69 | #undef THIRTY_TWO_BIT | ||
70 | #undef SIXTEEN_BIT | ||
71 | #undef EIGHT_BIT | ||
72 | #endif | 60 | #endif |
73 | 61 | ||
74 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | 62 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) |
diff --git a/src/lib/libcrypto/arch/powerpc/opensslconf.h b/src/lib/libcrypto/arch/powerpc/opensslconf.h index 36606f3575..576f49b0ec 100644 --- a/src/lib/libcrypto/arch/powerpc/opensslconf.h +++ b/src/lib/libcrypto/arch/powerpc/opensslconf.h | |||
@@ -57,18 +57,6 @@ | |||
57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | 57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) |
58 | #define CONFIG_HEADER_BN_H | 58 | #define CONFIG_HEADER_BN_H |
59 | #define BN_LLONG | 59 | #define BN_LLONG |
60 | |||
61 | /* Should we define BN_DIV2W here? */ | ||
62 | |||
63 | /* Only one for the following should be defined */ | ||
64 | /* The prime number generation stuff may not work when | ||
65 | * EIGHT_BIT but I don't care since I've only used this mode | ||
66 | * for debugging the bignum libraries */ | ||
67 | #undef SIXTY_FOUR_BIT_LONG | ||
68 | #undef SIXTY_FOUR_BIT | ||
69 | #define THIRTY_TWO_BIT | ||
70 | #undef SIXTEEN_BIT | ||
71 | #undef EIGHT_BIT | ||
72 | #endif | 60 | #endif |
73 | 61 | ||
74 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | 62 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) |
diff --git a/src/lib/libcrypto/arch/powerpc64/opensslconf.h b/src/lib/libcrypto/arch/powerpc64/opensslconf.h index d058975bfc..59555fa1df 100644 --- a/src/lib/libcrypto/arch/powerpc64/opensslconf.h +++ b/src/lib/libcrypto/arch/powerpc64/opensslconf.h | |||
@@ -57,13 +57,6 @@ | |||
57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | 57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) |
58 | #define CONFIG_HEADER_BN_H | 58 | #define CONFIG_HEADER_BN_H |
59 | #undef BN_LLONG | 59 | #undef BN_LLONG |
60 | |||
61 | /* Should we define BN_DIV2W here? */ | ||
62 | |||
63 | /* Only one for the following should be defined */ | ||
64 | #define SIXTY_FOUR_BIT_LONG | ||
65 | #undef SIXTY_FOUR_BIT | ||
66 | #undef THIRTY_TWO_BIT | ||
67 | #endif | 60 | #endif |
68 | 61 | ||
69 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | 62 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) |
diff --git a/src/lib/libcrypto/arch/riscv64/opensslconf.h b/src/lib/libcrypto/arch/riscv64/opensslconf.h index cf94145a1e..59555fa1df 100644 --- a/src/lib/libcrypto/arch/riscv64/opensslconf.h +++ b/src/lib/libcrypto/arch/riscv64/opensslconf.h | |||
@@ -57,18 +57,6 @@ | |||
57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | 57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) |
58 | #define CONFIG_HEADER_BN_H | 58 | #define CONFIG_HEADER_BN_H |
59 | #undef BN_LLONG | 59 | #undef BN_LLONG |
60 | |||
61 | /* Should we define BN_DIV2W here? */ | ||
62 | |||
63 | /* Only one for the following should be defined */ | ||
64 | /* The prime number generation stuff may not work when | ||
65 | * EIGHT_BIT but I don't care since I've only used this mode | ||
66 | * for debugging the bignum libraries */ | ||
67 | #define SIXTY_FOUR_BIT_LONG | ||
68 | #undef SIXTY_FOUR_BIT | ||
69 | #undef THIRTY_TWO_BIT | ||
70 | #undef SIXTEEN_BIT | ||
71 | #undef EIGHT_BIT | ||
72 | #endif | 60 | #endif |
73 | 61 | ||
74 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | 62 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) |
diff --git a/src/lib/libcrypto/arch/sh/opensslconf.h b/src/lib/libcrypto/arch/sh/opensslconf.h index 36606f3575..576f49b0ec 100644 --- a/src/lib/libcrypto/arch/sh/opensslconf.h +++ b/src/lib/libcrypto/arch/sh/opensslconf.h | |||
@@ -57,18 +57,6 @@ | |||
57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | 57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) |
58 | #define CONFIG_HEADER_BN_H | 58 | #define CONFIG_HEADER_BN_H |
59 | #define BN_LLONG | 59 | #define BN_LLONG |
60 | |||
61 | /* Should we define BN_DIV2W here? */ | ||
62 | |||
63 | /* Only one for the following should be defined */ | ||
64 | /* The prime number generation stuff may not work when | ||
65 | * EIGHT_BIT but I don't care since I've only used this mode | ||
66 | * for debugging the bignum libraries */ | ||
67 | #undef SIXTY_FOUR_BIT_LONG | ||
68 | #undef SIXTY_FOUR_BIT | ||
69 | #define THIRTY_TWO_BIT | ||
70 | #undef SIXTEEN_BIT | ||
71 | #undef EIGHT_BIT | ||
72 | #endif | 60 | #endif |
73 | 61 | ||
74 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | 62 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) |
diff --git a/src/lib/libcrypto/arch/sparc64/opensslconf.h b/src/lib/libcrypto/arch/sparc64/opensslconf.h index e68c82131e..e079b1bc6f 100644 --- a/src/lib/libcrypto/arch/sparc64/opensslconf.h +++ b/src/lib/libcrypto/arch/sparc64/opensslconf.h | |||
@@ -57,18 +57,6 @@ | |||
57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | 57 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) |
58 | #define CONFIG_HEADER_BN_H | 58 | #define CONFIG_HEADER_BN_H |
59 | #undef BN_LLONG | 59 | #undef BN_LLONG |
60 | |||
61 | /* Should we define BN_DIV2W here? */ | ||
62 | |||
63 | /* Only one for the following should be defined */ | ||
64 | /* The prime number generation stuff may not work when | ||
65 | * EIGHT_BIT but I don't care since I've only used this mode | ||
66 | * for debugging the bignum libraries */ | ||
67 | #define SIXTY_FOUR_BIT_LONG | ||
68 | #undef SIXTY_FOUR_BIT | ||
69 | #undef THIRTY_TWO_BIT | ||
70 | #undef SIXTEEN_BIT | ||
71 | #undef EIGHT_BIT | ||
72 | #endif | 60 | #endif |
73 | 61 | ||
74 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | 62 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) |