mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-27 12:46:18 +08:00
sm4: use POR, although it does not affect the correctness
This commit is contained in:
parent
232af559d7
commit
9a4cb2c34f
@ -394,7 +394,7 @@ GLOBL r24_mask256<>(SB), 8, $32
|
|||||||
VPXOR tmp, y, y; \
|
VPXOR tmp, y, y; \
|
||||||
VPSLLD $2, y, tmp; \
|
VPSLLD $2, y, tmp; \
|
||||||
VPSRLD $30, y, y; \
|
VPSRLD $30, y, y; \
|
||||||
VPXOR tmp, y, y; \
|
VPOR tmp, y, y; \
|
||||||
VPSHUFB r24_mask<>(SB), x, tmp; \
|
VPSHUFB r24_mask<>(SB), x, tmp; \
|
||||||
VPXOR y, x, x; \
|
VPXOR y, x, x; \
|
||||||
VPXOR x, tmp, x
|
VPXOR x, tmp, x
|
||||||
@ -597,7 +597,7 @@ GLOBL r24_mask256<>(SB), 8, $32
|
|||||||
VPXOR z, y, y; \
|
VPXOR z, y, y; \
|
||||||
VPSLLD $2, y, z; \
|
VPSLLD $2, y, z; \
|
||||||
VPSRLD $30, y, y; \
|
VPSRLD $30, y, y; \
|
||||||
VPXOR z, y, y; \
|
VPOR z, y, y; \
|
||||||
VPSHUFB r24_mask256<>(SB), x, z; \
|
VPSHUFB r24_mask256<>(SB), x, z; \
|
||||||
VPXOR y, x, x; \
|
VPXOR y, x, x; \
|
||||||
VPXOR x, z, x
|
VPXOR x, z, x
|
||||||
|
Loading…
x
Reference in New Issue
Block a user