summaryrefslogtreecommitdiff
path: root/secure/lib/libcrypto/aarch64/aesv8-armx.S
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libcrypto/aarch64/aesv8-armx.S')
-rw-r--r--secure/lib/libcrypto/aarch64/aesv8-armx.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/secure/lib/libcrypto/aarch64/aesv8-armx.S b/secure/lib/libcrypto/aarch64/aesv8-armx.S
index 076071ce631cc..d8eb85a9840e7 100644
--- a/secure/lib/libcrypto/aarch64/aesv8-armx.S
+++ b/secure/lib/libcrypto/aarch64/aesv8-armx.S
@@ -181,6 +181,7 @@ aes_v8_set_encrypt_key:
.type aes_v8_set_decrypt_key,%function
.align 5
aes_v8_set_decrypt_key:
+.inst 0xd503233f // paciasp
stp x29,x30,[sp,#-16]!
add x29,sp,#0
bl .Lenc_key
@@ -214,6 +215,7 @@ aes_v8_set_decrypt_key:
eor x0,x0,x0 // return value
.Ldec_key_abort:
ldp x29,x30,[sp],#16
+.inst 0xd50323bf // autiasp
ret
.size aes_v8_set_decrypt_key,.-aes_v8_set_decrypt_key
.globl aes_v8_encrypt