fixup! Improve readability of f_impl.c and f_impl.h

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/5105)
This commit is contained in:
Matt Caswell 2018-02-16 16:54:53 +00:00
parent 8e32ec7a56
commit 18985129eb

View File

@ -52,7 +52,7 @@ void gf_weak_reduce(gf a)
unsigned int i;
a->limb[NLIMBS / 2] += tmp;
for (i = 15; i > 0; i--)
for (i = NLIMBS - 1; i > 0; i--)
a->limb[i] = (a->limb[i] & mask) + (a->limb[i - 1] >> 28);
a->limb[0] = (a->limb[0] & mask) + tmp;
}