21 lines
430 B
Go
21 lines
430 B
Go
// package gcltests provides algorithm rightness tests
|
|
// for SM{2,3,4,9}.
|
|
package gcltests
|
|
|
|
// func init() {
|
|
// if !SM2SignTest() ||
|
|
// !SM2VerifyTest() ||
|
|
// !SM3WithIDTest() ||
|
|
// !SM3Test() ||
|
|
// !SM4MacTest() ||
|
|
// !SM4EncECB() ||
|
|
// !SM4DecECB() ||
|
|
// !SM4EncCBC() ||
|
|
// !SM4DecCBC() ||
|
|
// !SM2TPCKeyGenTest() ||
|
|
// !SM2TPCSignTest() ||
|
|
// !SM2TPCDecTest() {
|
|
// panic("gcl tests failed")
|
|
// }
|
|
// }
|