提交 8ba6d1b0 编写于 作者: G Geoff Thorpe

The atalla functionality doesn't work with the "word" version of

BN_mod_exp. Call the regular atalla mod_exp operation instead.
上级 1c4f90a0
......@@ -691,7 +691,7 @@ int BN_mod_exp_mont_word(BIGNUM *rr, BN_ULONG a, const BIGNUM *p,
if (!tried_atalla)
{
BN_set_word(t, a);
if (BN_mod_exp_word_atalla(rr, t, p, m))
if (BN_mod_exp_atalla(rr, t, p, m))
return 1;
}
/* If it fails, try the other methods */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册