提交 18985129 编写于 作者: M Matt Caswell

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

Reviewed-by: NBernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/5105)
上级 8e32ec7a
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册