internal/sm2ec: loong64 fix sm2P256Subinternal

This commit is contained in:
Sun Yimin 2025-10-14 13:33:58 +08:00 committed by GitHub
parent 75ec63285d
commit ff1031cba9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1344,7 +1344,7 @@ TEXT sm2P256Subinternal<>(SB),NOSPLIT,$0
SGTU t1, acc0, t4
SUBV t1, acc0, x0
ADDV t1, t3, t3 // no carry
ADDV t4, t3, t3 // no carry
SGTU t3, acc1, t1
SUBV t3, acc1, x1
SGTU t1, acc2, t4