From a504575cb2aa8eb46ec77d4d6f7b0e189792e6f5 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Fri, 14 Feb 2025 06:04:46 -0700 Subject: disable sha-asm on amd64 --- patches/crypto_arch.h.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 patches/crypto_arch.h.patch 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 @@ +--- crypto/arch/amd64/crypto_arch.h.orig Fri Feb 14 06:00:43 2025 ++++ crypto/arch/amd64/crypto_arch.h Fri Feb 14 06:01:13 2025 +@@ -40,6 +40,7 @@ extern uint64_t crypto_cpu_caps_amd64; + #define HAVE_RC4_INTERNAL + #define HAVE_RC4_SET_KEY_INTERNAL + ++#if 0 + #define HAVE_SHA1_BLOCK_DATA_ORDER + #define HAVE_SHA1_BLOCK_GENERIC + +@@ -48,6 +49,7 @@ extern uint64_t crypto_cpu_caps_amd64; + + #define HAVE_SHA512_BLOCK_DATA_ORDER + #define HAVE_SHA512_BLOCK_GENERIC ++#endif + + #endif + -- cgit v1.2.3-55-g6feb