mirror of
https://github.com/emmansun/gmsm.git
synced 2025-05-13 20:46:17 +08:00
sm4: arm64 forget to load IV
This commit is contained in:
parent
42faebb588
commit
ff434b7bd7
@ -85,6 +85,7 @@ TEXT ·encryptBlocksChain(SB),NOSPLIT,$0
|
|||||||
MOVD iv+56(FP), R5
|
MOVD iv+56(FP), R5
|
||||||
|
|
||||||
VEOR ZERO.B16, ZERO.B16, ZERO.B16
|
VEOR ZERO.B16, ZERO.B16, ZERO.B16
|
||||||
|
VLD1 (R5), [IV.B16]
|
||||||
|
|
||||||
loopSrc:
|
loopSrc:
|
||||||
CMP $16, ptxLen
|
CMP $16, ptxLen
|
||||||
|
Loading…
x
Reference in New Issue
Block a user