mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-28 05:06:18 +08:00
pretty print
This commit is contained in:
parent
feb4664125
commit
ed79df4802
@ -19,5 +19,10 @@ func TestPrecomputeTableAsm(t *testing.T) {
|
||||
c1.Encrypt(key1[:], key1[:])
|
||||
fmt.Printf("%v\n", key1)
|
||||
precomputeTableAsm(&g.bytesProductTable, &key1)
|
||||
fmt.Printf("%v\n", g.bytesProductTable)
|
||||
for i := 0; i < 16; i++ {
|
||||
for j := 0; j < 16; j++ {
|
||||
fmt.Printf("%02X ", g.bytesProductTable[i*16+j])
|
||||
}
|
||||
fmt.Println()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user