check input

This commit is contained in:
emmansun 2022-01-02 13:02:11 +08:00
parent 8691a605e2
commit aef1c833ee

View File

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