Skip to content

Commit

Permalink
sm4: fix arm64 SM4_8BLOCKS_ROUND issue #146
Browse files Browse the repository at this point in the history
  • Loading branch information
emmansun authored Aug 3, 2023
1 parent 1e36002 commit dba47d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sm4/aesni_macros_arm64.s
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ GLOBL fk_mask<>(SB), (16+8), $16
SM4_TAO_L1(x, y, z); \
VEOR x.B16, t0.B16, t0.B16; \
; \
VEOR t1.B16, tmp.B16, x.B16; \
VEOR t2.B16, x.B16, x.B16; \
VEOR t3.B16, x.B16, x.B16; \
VEOR t5.B16, tmp.B16, x.B16; \
VEOR t6.B16, x.B16, x.B16; \
VEOR t7.B16, x.B16, x.B16; \
SM4_TAO_L1(x, y, z); \
VEOR x.B16, t0.B16, t0.B16
VEOR x.B16, t4.B16, t4.B16

0 comments on commit dba47d3

Please sign in to comment.