esp32c3_bignum.c & esp32c3_sha.c: Fix some trivial nxstyle complaints.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2021-10-15 13:35:23 +02:00 committed by Gustavo Henrique Nihei
parent e424241d09
commit c83c1071cc
2 changed files with 3 additions and 3 deletions

View File

@ -1431,7 +1431,7 @@ int esp32c3_mpi_copy(struct esp32c3_mpi_s *X,
}
}
i ++;
i++;
X->s = Y->s;

View File

@ -251,7 +251,7 @@ static int esp32c3_sha1_block(struct esp32c3_sha1_context_s *ctx,
{
}
for (i = 0; i < 5; i ++)
for (i = 0; i < 5; i++)
{
ctx->state[i] = getreg32(SHA_H_0_REG + i * 4);
}
@ -357,7 +357,7 @@ static int esp32c3_sha256_block(struct esp32c3_sha256_context_s *ctx,
num_block = 7;
}
for (i = 0; i < num_block; i ++)
for (i = 0; i < num_block; i++)
{
ctx->state[i] = getreg32(SHA_H_0_REG + i * 4);
}