From 3968b9d8b5ab1dcc1c159e5dfb17a22806b5ea3d Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Thu, 26 Sep 2024 17:48:47 +0800 Subject: [PATCH] fix test case --- sm4/gcm_ppc64x_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sm4/gcm_ppc64x_test.go b/sm4/gcm_ppc64x_test.go index f03974e..b766c0b 100644 --- a/sm4/gcm_ppc64x_test.go +++ b/sm4/gcm_ppc64x_test.go @@ -42,7 +42,7 @@ func TestCmul(t *testing.T) { if runtime.GOARCH == "ppc64le" { for i := 0; i < 16; i++ { if fmt.Sprintf("%x", aead.(*gcmAsm).productTable[i*16:(i+1)*16]) != table[i] { - t.Errorf("productTable %v got %x", i, aead.(*gcmAsm).productTable[i]) + t.Errorf("productTable %v got %x", i, aead.(*gcmAsm).productTable[i*16:(i+1)*16]) } } }