diff options
author | Theo Buehler <tb@openbsd.org> | 2025-03-07 09:39:51 -0700 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2025-03-07 09:39:52 -0700 |
commit | dcea629832b17bf47e238d71440a38f34cca10ad (patch) | |
tree | 15cea0b77b41c01de3afefc74dc0ef2c7797032b /patches | |
parent | c2fd12604f63b999a93962633a5a1f1af256cd42 (diff) | |
download | portable-dcea629832b17bf47e238d71440a38f34cca10ad.tar.gz portable-dcea629832b17bf47e238d71440a38f34cca10ad.tar.bz2 portable-dcea629832b17bf47e238d71440a38f34cca10ad.zip |
Disable SHA-256 asm for aarch64
Diffstat (limited to 'patches')
-rw-r--r-- | patches/crypto_arch.h.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/crypto_arch.h.patch b/patches/crypto_arch.h.patch index 0c8766b..6aa8891 100644 --- a/patches/crypto_arch.h.patch +++ b/patches/crypto_arch.h.patch | |||
@@ -16,3 +16,16 @@ | |||
16 | 16 | ||
17 | #endif | 17 | #endif |
18 | 18 | ||
19 | --- crypto/arch/aarch64/crypto_arch.h.orig Fri Mar 7 09:38:13 2025 | ||
20 | +++ crypto/arch/aarch64/crypto_arch.h Fri Mar 7 09:38:22 2025 | ||
21 | @@ -33,8 +33,10 @@ extern uint64_t crypto_cpu_caps_aarch64; | ||
22 | #define CRYPTO_CPU_CAPS_AARCH64_SHA512 (1ULL << 4) | ||
23 | #define CRYPTO_CPU_CAPS_AARCH64_SHA3 (1ULL << 5) | ||
24 | |||
25 | +#if 0 | ||
26 | #ifndef OPENSSL_NO_ASM | ||
27 | #define HAVE_SHA256_BLOCK_DATA_ORDER | ||
28 | +#endif | ||
29 | #endif | ||
30 | |||
31 | #endif | ||