mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 20:26:19 +08:00
check input
This commit is contained in:
parent
8691a605e2
commit
aef1c833ee
@ -17,6 +17,7 @@ func TestPrecomputeTableAsm(t *testing.T) {
|
||||
g.cipher = &c1.sm4CipherAsm
|
||||
var key1 [gcmBlockSize]byte
|
||||
c1.Encrypt(key1[:], key1[:])
|
||||
fmt.Printf("%v\n", key1)
|
||||
precomputeTableAsm(&g.bytesProductTable, &key1)
|
||||
fmt.Printf("%v\n", g.bytesProductTable)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user