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:
5d6e31d
)
comment was wrong.
author
Ulf Möller
<ulf@openssl.org>
Thu, 27 Jan 2000 19:52:58 +0000
(19:52 +0000)
committer
Ulf Möller
<ulf@openssl.org>
Thu, 27 Jan 2000 19:52:58 +0000
(19:52 +0000)
crypto/bn/bn_mont.c
patch
|
blob
|
history
diff --git
a/crypto/bn/bn_mont.c
b/crypto/bn/bn_mont.c
index aaf57da76402ad3bcec9ee874deb4e93bf9780b6..dd691112c2f77cacfc30c0ea2057dc920d53f2db 100644
(file)
--- a/
crypto/bn/bn_mont.c
+++ b/
crypto/bn/bn_mont.c
@@
-288,7
+288,7
@@
int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx)
mont->ri=(BN_num_bits(mod)+(BN_BITS2-1))/BN_BITS2*BN_BITS2;
BN_zero(R);
- BN_set_bit(R,BN_BITS2); /* R
= 2^ri
*/
+ BN_set_bit(R,BN_BITS2); /* R */
buf[0]=mod->d[0]; /* tmod = N mod word size */
buf[1]=0;