ports/security/libgcrypt/patches/patch-cipher_sm4-aesni-avx2-amd64_S

20 lines
407 B
Text

Index: cipher/sm4-aesni-avx2-amd64.S
--- cipher/sm4-aesni-avx2-amd64.S.orig
+++ cipher/sm4-aesni-avx2-amd64.S
@@ -110,7 +110,7 @@
16-way SM4 with AES-NI and AVX
**********************************************************************/
-.text
+.rodata
.align 16
/*
@@ -165,6 +165,7 @@
.L0f0f0f0f:
.long 0x0f0f0f0f
+.text
.align 8
ELF(.type __sm4_crypt_blk16,@function;)
__sm4_crypt_blk16: