Skip to content

Commit

Permalink
kdf-sm3: fix arm64 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
emmansun authored May 21, 2024
1 parent 53cd752 commit d248784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sm3/sm3blocks_arm64.s
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
VADD V13.S4, V11.S4, V13.S4 \ // (a AND b) OR (a AND c) OR (b AND c) + d + (Wt XOR Wt+4)
VADD V13.S4, V12.S4, V13.S4 \ // TT1
VADD h.S4, V10.S4, V10.S4 \ // Wt + h
VADD V12.S4, V10.S4, V10.S4 \ // Wt + h + SS1
VADD V14.S4, V10.S4, V10.S4 \ // Wt + h + SS1
VEOR f.B16, g.B16, V11.B16 \
VAND V11.B16, e.B16, V11.B16 \
VEOR g.B16, V11.B16, V11.B16 \ // (f XOR g) AND e XOR g
Expand Down

0 comments on commit d248784

Please sign in to comment.