sm3: copyResultsBy4 s390x test

This commit is contained in:
Sun Yimin 2024-09-04 08:02:41 +08:00 committed by GitHub
parent a3fa174e71
commit b2861782aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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