From d92ff50f2812a46c5b4d44e42f6c6339b4570e7a Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Mon, 13 Oct 2025 13:09:17 +0800 Subject: [PATCH] internal/sm2ec: loong64 p256Mul failed --- internal/sm2ec/sm2p256_asm_loong64_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/sm2ec/sm2p256_asm_loong64_test.go b/internal/sm2ec/sm2p256_asm_loong64_test.go index aa84f39..0c3358a 100644 --- a/internal/sm2ec/sm2p256_asm_loong64_test.go +++ b/internal/sm2ec/sm2p256_asm_loong64_test.go @@ -144,7 +144,7 @@ func p256MulTest(t *testing.T, x, y, p, r *big.Int) { expected := new(big.Int).Mul(x, y) expected = expected.Mod(expected, p) if resInt.Cmp(expected) != 0 { - t.FailNow() + t.Fatalf("p256Mul(%x, %x) = %x, want %x", x, y, resInt, expected) } }