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:
e958c5a
)
Actually comment out the parts of BN_MOD_MUL_WORD that I inteded to
author
Bodo Möller
<bodo@openssl.org>
Fri, 23 Jun 2000 08:10:28 +0000
(08:10 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Fri, 23 Jun 2000 08:10:28 +0000
(08:10 +0000)
comment out in the previous commit
crypto/bn/bn_exp.c
patch
|
blob
|
history
diff --git
a/crypto/bn/bn_exp.c
b/crypto/bn/bn_exp.c
index e3314f881750170176c91c3f38fb30719b69a221..8117323766e8093a561ccd46c483a231ee571778 100644
(file)
--- a/
crypto/bn/bn_exp.c
+++ b/
crypto/bn/bn_exp.c
@@
-664,7
+664,7
@@
int BN_mod_exp_mont_word(BIGNUM *rr, BN_ULONG a, const BIGNUM *p,
BIGNUM *swap_tmp;
#define BN_MOD_MUL_WORD(r, w, m) \
(BN_mul_word(r, (w)) && \
- (
BN_ucmp(r, (m)) < 0 ? 1 :
\
+ (
/* BN_ucmp(r, (m)) < 0 ? 1 :*/
\
(BN_mod(t, r, m, ctx) && (swap_tmp = r, r = t, t = swap_tmp, 1))))
/* BN_MOD_MUL_WORD is only used with 'w' large,
* so the BN_ucmp test is probably more overhead