From 1c92206747820f867dfd3a5a123d20a32c2f685b Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Mon, 13 Oct 2025 13:26:44 +0800 Subject: [PATCH] internal/sm2ec: loong64 fix p256Mul --- internal/sm2ec/p256_asm_loong64.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/sm2ec/p256_asm_loong64.s b/internal/sm2ec/p256_asm_loong64.s index 80271dc..d4ba580 100644 --- a/internal/sm2ec/p256_asm_loong64.s +++ b/internal/sm2ec/p256_asm_loong64.s @@ -653,7 +653,7 @@ TEXT sm2P256MulInternal<>(SB),NOSPLIT,$0 OR t1, t2, t0 ADDV acc6, acc2, y2 SGTU acc6, y2, t1 - ADDV t0, y2, acc2 + ADDV t0, y2, y2 SGTU t0, y2, t2 OR t1, t2, t0 ADDV acc7, acc3, y3