Skip to content

Commit

Permalink
disable sha-asm on amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
botovq committed Feb 14, 2025
1 parent 01f74a0 commit a504575
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions patches/crypto_arch.h.patch
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a504575

Please sign in to comment.