From ea4a07c60c1e1c407a0bc9f08c29226d850f0285 Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Tue, 29 Oct 2024 22:01:22 +0800 Subject: [PATCH] =?UTF-8?q?sm4:=20gcminit=20sm4=E2=80=93ni=20fix=20instruc?= =?UTF-8?q?tion=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sm4/gcm_arm64.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sm4/gcm_arm64.s b/sm4/gcm_arm64.s index 0ef90e4..f443475 100644 --- a/sm4/gcm_arm64.s +++ b/sm4/gcm_arm64.s @@ -163,7 +163,7 @@ sm4InitSM4E: WORD $0x8085c0ce //SM4E V0.4S, V12.4S WORD $0xa085c0ce //SM4E V0.4S, V13.4S WORD $0xc085c0ce //SM4E V0.4S, V14.4S - VEXT B0.B16, B0.B16, B0.B16 + VEXT $8, B0.B16, B0.B16, B0.B16 sm4InitEncDone: // Multiply by 2 modulo P