summaryrefslogtreecommitdiff
path: root/cipher/sm4-aarch64.S
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/sm4-aarch64.S')
-rw-r--r--cipher/sm4-aarch64.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/sm4-aarch64.S b/cipher/sm4-aarch64.S
index 306b425e..8d06991b 100644
--- a/cipher/sm4-aarch64.S
+++ b/cipher/sm4-aarch64.S
@@ -84,7 +84,7 @@ ELF(.size _gcry_sm4_aarch64_consts,.-_gcry_sm4_aarch64_consts)
/* Helper macros. */
#define preload_sbox(ptr) \
- GET_DATA_POINTER(ptr, .Lsm4_sbox); \
+ GET_LOCAL_POINTER(ptr, .Lsm4_sbox); \
ld1 {v16.16b-v19.16b}, [ptr], #64; \
ld1 {v20.16b-v23.16b}, [ptr], #64; \
ld1 {v24.16b-v27.16b}, [ptr], #64; \