projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c4f90a
)
The atalla functionality doesn't work with the "word" version of
author
Geoff Thorpe
<geoff@openssl.org>
Tue, 13 Jun 2000 13:18:51 +0000
(13:18 +0000)
committer
Geoff Thorpe
<geoff@openssl.org>
Tue, 13 Jun 2000 13:18:51 +0000
(13:18 +0000)
BN_mod_exp. Call the regular atalla mod_exp operation instead.
crypto/bn/bn_exp.c
patch
|
blob
|
history
diff --git
a/crypto/bn/bn_exp.c
b/crypto/bn/bn_exp.c
index 11540c6f7b0dfcad04fb48713655a8413b055651..470946e53693a163e7d986cd10eb0a2728d79de1 100644
(file)
--- 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 */