mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 20:26:19 +08:00
list all fail cases
This commit is contained in:
parent
eb1b01a916
commit
ae43444a63
@ -43,7 +43,7 @@ func TestXORBytes(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if subtle.XORBytes(d[alignD:], p, q); !bytes.Equal(d, want) {
|
if subtle.XORBytes(d[alignD:], p, q); !bytes.Equal(d, want) {
|
||||||
t.Fatalf("n=%d alignP=%d alignQ=%d alignD=%d:\n\tp = %x\n\tq = %x\n\td = %x\n\twant %x\n", n, alignP, alignQ, alignD, p, q, d, want)
|
t.Errorf("n=%d alignP=%d alignQ=%d alignD=%d:\n\tp = %x\n\tq = %x\n\td = %x\n\twant %x\n", n, alignP, alignQ, alignD, p, q, d, want)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user