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