Make loop bound more obvious

Helps static analyzers and does not decrease human readability.
This commit is contained in:
Manuel Pégourié-Gonnard 2015-02-14 14:57:25 +00:00
parent 5c078e17b9
commit 85fadb749c

View file

@ -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;