diff --git a/sm3/sm3blocks_s390x_test.go b/sm3/sm3blocks_s390x_test.go index a6f2a52..1467ab3 100644 --- a/sm3/sm3blocks_s390x_test.go +++ b/sm3/sm3blocks_s390x_test.go @@ -41,13 +41,13 @@ func TestCopyResultsBy4(t *testing.T) { } fmt.Println() } - var p [32]byte + var p [128]byte copyResultsBy4(&m[0][0], &p[0]) fmt.Println() fmt.Println() - for i := 0; i < 32; i++ { - fmt.Printf("%04x ", p[i]) - if i%8 == 7 { + for i := 0; i < 128; i++ { + fmt.Printf("%02x ", p[i]) + if i%16 == 15 { fmt.Println() } }