mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 17:38:10 +00:00
Make loop bound more obvious
Helps static analyzers and does not decrease human readability.
This commit is contained in:
parent
5c078e17b9
commit
85fadb749c
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ static int gcm_gen_table( gcm_context *ctx )
|
||||||
ctx->HH[i] = vh;
|
ctx->HH[i] = vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
for( i = 2; i < 16; i <<= 1 )
|
for( i = 2; i <= 8; i *= 2 )
|
||||||
{
|
{
|
||||||
uint64_t *HiL = ctx->HL + i, *HiH = ctx->HH + i;
|
uint64_t *HiL = ctx->HL + i, *HiH = ctx->HH + i;
|
||||||
vh = *HiH;
|
vh = *HiH;
|
||||||
|
|
Loading…
Reference in a new issue