ports/security/libgcrypt/patches/patch-cipher_sha1-avx2-bmi2-amd64_S

22 lines
427 B
Text
Raw Permalink Normal View History

2023-08-16 22:26:55 +00:00
Index: cipher/sha1-avx2-bmi2-amd64.S
--- cipher/sha1-avx2-bmi2-amd64.S.orig
+++ cipher/sha1-avx2-bmi2-amd64.S
@@ -50,7 +50,7 @@
#define WK_STACK_WORDS (80 * 2)
-.text
+.rodata
.align 16
.Lbswap_shufb_ctl:
.long 0x00010203, 0x04050607, 0x08090a0b, 0x0c0d0e0f
@@ -200,7 +200,7 @@
vpaddd K, W, tmp0; \
vmovdqa tmp0, PRE_WK((i)&~3);
-
+.text
/*
* Transform 2*nblks*64 bytes (2*nblks*16 32-bit words) at DATA.
*