fix test case

This commit is contained in:
Sun Yimin 2024-09-26 17:48:47 +08:00 committed by GitHub
parent a88c13298b
commit 3968b9d8b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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])
}
}
}