mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 12:16:20 +08:00
sm9/bn256: fix arm64 complete double issue
This commit is contained in:
parent
1ecdb1a563
commit
db92a6f60e
@ -730,6 +730,7 @@ TEXT ·curvePointDoubleComplete(SB),NOSPLIT,$168-16
|
||||
STx (tmp1)
|
||||
LDy (tmp0)
|
||||
CALL gfpSubInternal(SB) // t0 := t0 - t2
|
||||
STx (tmp0)
|
||||
LDy (y3t)
|
||||
CALL gfpMulInternal(SB) // Y3 := t0 * Y3
|
||||
LDx (x3t)
|
||||
@ -751,8 +752,8 @@ TEXT ·curvePointDoubleComplete(SB),NOSPLIT,$168-16
|
||||
gfpMulBy2Inline // X3 := X3 + X3
|
||||
STx (x2in) // Store X3
|
||||
// Store Y3
|
||||
LDx (y3t)
|
||||
STx (y2in)
|
||||
LDx (y3t)
|
||||
STx (y2in)
|
||||
|
||||
RET
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user