sm4: arm64 forget to load IV

This commit is contained in:
Sun Yimin 2022-07-21 17:37:57 +08:00 committed by GitHub
parent 42faebb588
commit ff434b7bd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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