ports/security/libgcrypt/patches/patch-cipher_sm3-aarch64_S

21 lines
484 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: cipher/sm3-aarch64.S
--- cipher/sm3-aarch64.S.orig
+++ cipher/sm3-aarch64.S
@@ -29,7 +29,7 @@
/* Constants */
-.text
+.rodata
.align 4
ELF(.type _gcry_sm3_aarch64_consts,@object)
_gcry_sm3_aarch64_consts:
@@ -383,6 +383,7 @@ ELF(.size _gcry_sm3_aarch64_consts,.-_gcry_sm3_aarch64
#define SCHED_W_W5W0W1W2W3W4_3(iop_num, round) \
SCHED_W_3_##iop_num(round, W5, W0, W1, W2, W3, W4)
+.text
/*
* Transform nblks*64 bytes (nblks*16 32-bit words) at DATA.
*