mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-23 16:20:49 +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
@ -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…
x
Reference in New Issue
Block a user