From 98e2f4a8524367ca7ad95ccebcc260f5c94b6b02 Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Tue, 10 Sep 2024 21:54:08 +0800 Subject: [PATCH] sm4: ppc64x fix T2 issue --- sm4/asm_ppc64x.s | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sm4/asm_ppc64x.s b/sm4/asm_ppc64x.s index 187f348..8273615 100644 --- a/sm4/asm_ppc64x.s +++ b/sm4/asm_ppc64x.s @@ -127,8 +127,7 @@ GLOBL ·rcon(SB), RODATA, $192 ; \ //#################### 4 parallel L2 linear transforms ##################// VSPLTISW $13, z; \ VRLW x, z, y; \ // y = x <<< 13 - VXOR x, y, y; \ - VRLW x, z, x; \ // x = x <<< 13 + VXOR x, y, y; \ VSPLTISW $10, z; \ VRLW x, z, x; \ // x = x <<< 10 VXOR x, y, x