mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 04:06:18 +08:00
sm3: copyResultsBy4 s390x test
This commit is contained in:
parent
a3fa174e71
commit
b2861782aa
@ -41,13 +41,13 @@ func TestCopyResultsBy4(t *testing.T) {
|
|||||||
}
|
}
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
}
|
}
|
||||||
var p [32]byte
|
var p [128]byte
|
||||||
copyResultsBy4(&m[0][0], &p[0])
|
copyResultsBy4(&m[0][0], &p[0])
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
for i := 0; i < 32; i++ {
|
for i := 0; i < 128; i++ {
|
||||||
fmt.Printf("%04x ", p[i])
|
fmt.Printf("%02x ", p[i])
|
||||||
if i%8 == 7 {
|
if i%16 == 15 {
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user