aboutsummaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2025-02-14 06:04:46 -0700
committerTheo Buehler <tb@openbsd.org>2025-02-14 06:04:46 -0700
commita504575cb2aa8eb46ec77d4d6f7b0e189792e6f5 (patch)
treeb4f6aa956e81bb67a9324dc55f600ef766fa3da7 /patches
parent01f74a0b4faf738605dece7ad826891effe0492a (diff)
downloadportable-a504575cb2aa8eb46ec77d4d6f7b0e189792e6f5.tar.gz
portable-a504575cb2aa8eb46ec77d4d6f7b0e189792e6f5.tar.bz2
portable-a504575cb2aa8eb46ec77d4d6f7b0e189792e6f5.zip
disable sha-asm on amd64
Diffstat (limited to 'patches')
-rw-r--r--patches/crypto_arch.h.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/crypto_arch.h.patch b/patches/crypto_arch.h.patch
new file mode 100644
index 0000000..0c8766b
--- /dev/null
+++ b/patches/crypto_arch.h.patch
@@ -0,0 +1,18 @@
1--- crypto/arch/amd64/crypto_arch.h.orig Fri Feb 14 06:00:43 2025
2+++ crypto/arch/amd64/crypto_arch.h Fri Feb 14 06:01:13 2025
3@@ -40,6 +40,7 @@ extern uint64_t crypto_cpu_caps_amd64;
4 #define HAVE_RC4_INTERNAL
5 #define HAVE_RC4_SET_KEY_INTERNAL
6
7+#if 0
8 #define HAVE_SHA1_BLOCK_DATA_ORDER
9 #define HAVE_SHA1_BLOCK_GENERIC
10
11@@ -48,6 +49,7 @@ extern uint64_t crypto_cpu_caps_amd64;
12
13 #define HAVE_SHA512_BLOCK_DATA_ORDER
14 #define HAVE_SHA512_BLOCK_GENERIC
15+#endif
16
17 #endif
18