mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-27 04:36:19 +08:00
sm4: ppc64x, fix SM4_ROUND issue #249
This commit is contained in:
parent
0c8671775f
commit
eb9ef3ad93
@ -177,8 +177,7 @@ GLOBL ·rcon(SB), RODATA, $192
|
||||
// - t2: 128 bits register for data
|
||||
// - t3: 128 bits register for data
|
||||
#define SM4_ROUND(RK, x, tmp1, tmp2, tmp3, t0, t1, t2, t3) \
|
||||
VXOR RK, x, x; \
|
||||
VXOR t1, x, x; \
|
||||
VXOR RK, t1, x; \
|
||||
VXOR t2, x, x; \
|
||||
VXOR t3, x, x; \
|
||||
SM4_TAO_L1(x, tmp1, tmp2, tmp3); \
|
||||
|
Loading…
x
Reference in New Issue
Block a user