Update asm_ppc64x.s

This commit is contained in:
Sun Yimin 2024-09-10 22:37:31 +08:00 committed by GitHub
parent 98e2f4a852
commit d2adcd78b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,9 +127,9 @@ GLOBL ·rcon(SB), RODATA, $192
; \ //#################### 4 parallel L2 linear transforms ##################// ; \ //#################### 4 parallel L2 linear transforms ##################//
VSPLTISW $13, z; \ VSPLTISW $13, z; \
VRLW x, z, y; \ // y = x <<< 13 VRLW x, z, y; \ // y = x <<< 13
VXOR x, y, y; \ VXOR x, y, x; \
VSPLTISW $10, z; \ VSPLTISW $10, z; \
VRLW x, z, x; \ // x = x <<< 10 VRLW y, z, y; \ // x = x <<< 10
VXOR x, y, x VXOR x, y, x
#define SM4_EXPANDKEY_ROUND(CK, x, y, z, t0, t1, t2, t3, target) \ #define SM4_EXPANDKEY_ROUND(CK, x, y, z, t0, t1, t2, t3, target) \