提交 dd83d0f4 编写于 作者: A Andy Polyakov

crypto/bn/bn_gf2m.c: make it work with BN_DEBUG.

上级 ea17b0fe
......@@ -541,7 +541,7 @@ int BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
if (BN_is_zero(u)) goto err;
if (!BN_copy(v, p)) goto err;
#if 1
#if 0
if (!BN_one(b)) goto err;
while (1)
......@@ -630,11 +630,11 @@ int BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
}
if (ubits==vbits)
{
bn_fix_top(u);
bn_correct_top(u);
ubits = BN_num_bits(u);
}
}
bn_fix_top(b);
bn_correct_top(b);
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册