mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-06 16:36:16 +08:00
Clean code
This commit is contained in:
@@ -342,13 +342,12 @@ static int speed_sm4_gcm_encrypt(void)
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
int main(void)
|
||||
{
|
||||
// if (test_sm4_gcm() != 1) goto err;
|
||||
// if (test_sm4_gcm_gbt36624_1() != 1) goto err;
|
||||
if (test_sm4_gcm() != 1) goto err;
|
||||
if (test_sm4_gcm_gbt36624_1() != 1) goto err;
|
||||
if (test_sm4_gcm_gbt36624_2() != 1) goto err;
|
||||
// if (test_sm4_gcm_ctx() != 1) goto err;
|
||||
if (test_sm4_gcm_ctx() != 1) goto err;
|
||||
#if ENABLE_TEST_SPEED
|
||||
if (speed_sm4_gcm_encrypt() != 1) goto err;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user