Remove warnings

This commit is contained in:
Zhi Guan
2024-05-17 13:12:51 +08:00
parent 7cc5b77cf8
commit d56eeaac5a
15 changed files with 179 additions and 463 deletions

View File

@@ -192,7 +192,7 @@ static int speed_sm4_encrypt(void)
size_t nbytes = 16 * 1024 * 1024;
clock_t begin, end;
double seconds;
int i;
size_t i;
sm4_set_encrypt_key(&sm4_key, key);
for (i = 0; i < nbytes/sizeof(buf); i++) {