From 01151be42e1e3f7fbbcdbd5b2ca8600a68261fbc Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Thu, 30 Mar 2023 15:46:37 +0800 Subject: [PATCH] sm4: fix gcm_sm4ni_arm64 dec bug --- sm4/gcm_sm4ni_arm64.s | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sm4/gcm_sm4ni_arm64.s b/sm4/gcm_sm4ni_arm64.s index 5a15cdc..cc9b1b2 100644 --- a/sm4/gcm_sm4ni_arm64.s +++ b/sm4/gcm_sm4ni_arm64.s @@ -392,6 +392,8 @@ octetsLoop: sm4eEnc8blocks() + VMOV B0.B16, T1.B16 + VMOV B1.B16, T2.B16 VLD1.P 32(srcPtr), [B0.B16, B1.B16] VEOR B0.B16, T1.B16, T1.B16 VEOR B1.B16, T2.B16, T2.B16