diff options
author | Geoff Thorpe <geoff@openssl.org> | 2000-06-13 13:18:51 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2000-06-13 13:18:51 +0000 |
commit | 8ba6d1b0cc9e2437901e5ee88fa8ac4146554105 (patch) | |
tree | ae364ee364437c25d3dfa198a4888ce5066bba92 /crypto/bn/bn_exp.c | |
parent | 1c4f90a05dffca6663f1392ed74fe51a13cc46f1 (diff) |
The atalla functionality doesn't work with the "word" version of
BN_mod_exp. Call the regular atalla mod_exp operation instead.
Diffstat (limited to 'crypto/bn/bn_exp.c')
-rw-r--r-- | crypto/bn/bn_exp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bn_exp.c b/crypto/bn/bn_exp.c index 11540c6f7b..470946e536 100644 --- a/crypto/bn/bn_exp.c +++ b/crypto/bn/bn_exp.c @@ -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 */ |