sm9/bn256: arm64 fix add complete issue

This commit is contained in:
Sun Yimin 2023-07-25 15:11:41 +08:00 committed by GitHub
parent 0a559b5202
commit 4b09d140af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -922,6 +922,6 @@ TEXT ·curvePointAddComplete(SB),0,$264-24
CALL gfpMulInternal(SB) // Z3 := Z3 * t4 = (Y1Z2 + Y2Z1)(Y1Y2 + 3bZ1Z2)
LDx (tmp0)
gfpAddInline // Z3 := Z3 + t0 = (Y1Z2 + Y2Z1)(Y1Y2 + 3bZ1Z2) + 3X1X2(X1Y2 + X2Y1)
STx (x2in)
STx (z2in)
RET