aboutsummaryrefslogtreecommitdiff
path: root/internal/pathiv
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pathiv')
-rw-r--r--internal/pathiv/pathiv_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pathiv/pathiv_test.go b/internal/pathiv/pathiv_test.go
index 0cecba1..96745bd 100644
--- a/internal/pathiv/pathiv_test.go
+++ b/internal/pathiv/pathiv_test.go
@@ -17,7 +17,7 @@ func TestBlockIV(t *testing.T) {
b27 := BlockIV(b0, 0x27)
expected, _ := hex.DecodeString("00000000000000000000000000000027")
if !bytes.Equal(b27, expected) {
- t.Error()
+ t.Errorf("\nhave=%s\nwant=%s", hex.EncodeToString(b27), hex.EncodeToString(expected))
}
bff := bytes.Repeat([]byte{0xff}, 16)
b28 := BlockIV(bff, 0x28)