diff options
| author | jsing <> | 2025-01-27 14:02:32 +0000 |
|---|---|---|
| committer | jsing <> | 2025-01-27 14:02:32 +0000 |
| commit | ca5eb817689340c9e11f21f75b2eede73622ad2e (patch) | |
| tree | 66ed89ba37c98ae1cad1f42ebb47d16e63ee92bd /src/lib/libcrypto/arch/alpha | |
| parent | 8fad25f043c3a0bd7f94c15d0b2b2785d951295d (diff) | |
| download | openbsd-ca5eb817689340c9e11f21f75b2eede73622ad2e.tar.gz openbsd-ca5eb817689340c9e11f21f75b2eede73622ad2e.tar.bz2 openbsd-ca5eb817689340c9e11f21f75b2eede73622ad2e.zip | |
Mop up RC4_INDEX.
The RC4_INDEX define switches between base pointer indexing and per-byte
pointer increment. This supposedly made a huge difference to performance
on x86 at some point, however compilers have improved somewhat since then.
There is no change (or effectively no change) in generated assembly on
a the majority of LLVM platforms and even when there is some change
(e.g. aarch64), there is no noticable performance difference.
Simplify the (still messy) macros/code and mop up RC4_INDEX.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/arch/alpha')
| -rw-r--r-- | src/lib/libcrypto/arch/alpha/opensslconf.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/libcrypto/arch/alpha/opensslconf.h b/src/lib/libcrypto/arch/alpha/opensslconf.h index 1dbd8f22fa..1c033369ea 100644 --- a/src/lib/libcrypto/arch/alpha/opensslconf.h +++ b/src/lib/libcrypto/arch/alpha/opensslconf.h | |||
| @@ -63,13 +63,6 @@ | |||
| 63 | #undef THIRTY_TWO_BIT | 63 | #undef THIRTY_TWO_BIT |
| 64 | #endif | 64 | #endif |
| 65 | 65 | ||
| 66 | #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) | ||
| 67 | #define CONFIG_HEADER_RC4_LOCL_H | ||
| 68 | /* if this is defined data[i] is used instead of *data, this is a %20 | ||
| 69 | * speedup on x86 */ | ||
| 70 | #undef RC4_INDEX | ||
| 71 | #endif | ||
| 72 | |||
| 73 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | 66 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) |
| 74 | #define CONFIG_HEADER_BF_LOCL_H | 67 | #define CONFIG_HEADER_BF_LOCL_H |
| 75 | #define BF_PTR | 68 | #define BF_PTR |
