sm4: ppc64x, fix SM4_ROUND issue #249

This commit is contained in:
Sun Yimin 2024-09-12 08:52:59 +08:00 committed by GitHub
parent 0c8671775f
commit eb9ef3ad93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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); \