Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
emmansun authored Sep 26, 2024
1 parent a88c132 commit 3968b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sm4/gcm_ppc64x_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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])
}
}
}
Expand Down

0 comments on commit 3968b9d

Please sign in to comment.