mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 04:06:18 +08:00
Update asm_ppc64x.s
This commit is contained in:
parent
98e2f4a852
commit
d2adcd78b0
@ -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) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user