diff --git a/sm4/cbc_cipher_asm_arm64.s b/sm4/cbc_cipher_asm_arm64.s index a2b3ba4..06f3790 100644 --- a/sm4/cbc_cipher_asm_arm64.s +++ b/sm4/cbc_cipher_asm_arm64.s @@ -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