commit | 85fadb749cf670d9774e407eb9c9fb6569346fcb | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Sat Feb 14 14:57:25 2015 +0000 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Mon Feb 16 09:13:40 2015 +0000 |
tree | 345347ed5a0b986174fba34f3026e189bc726b33 | |
parent | 5c078e17b966722b473951d1e4dd99d782a91990 [diff] [blame] |
Make loop bound more obvious Helps static analyzers and does not decrease human readability.
diff --git a/library/gcm.c b/library/gcm.c index 39cb189..522a8b1 100644 --- a/library/gcm.c +++ b/library/gcm.c
@@ -136,7 +136,7 @@ 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; vh = *HiH;