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:
38e33ce
)
Update comment from bn.h
author
Ulf Möller
<ulf@openssl.org>
Thu, 27 Jan 2000 19:36:52 +0000
(19:36 +0000)
committer
Ulf Möller
<ulf@openssl.org>
Thu, 27 Jan 2000 19:36:52 +0000
(19:36 +0000)
doc/crypto/BN_mod_mul_montgomery.pod
patch
|
blob
|
history
diff --git
a/doc/crypto/BN_mod_mul_montgomery.pod
b/doc/crypto/BN_mod_mul_montgomery.pod
index 825a29f979f0b7ea095dd4247f719ec5cc5b1615..0b8eb43459b2e6f339be3e2de9766a004dccbdf0 100644
(file)
--- a/
doc/crypto/BN_mod_mul_montgomery.pod
+++ b/
doc/crypto/BN_mod_mul_montgomery.pod
@@
-62,8
+62,9
@@
The B<BN_MONT_CTX> structure is defined as follows:
int ri; /* number of bits in R */
BIGNUM RR; /* R^2 (used to convert to Montgomery form) */
BIGNUM N; /* The modulus */
- BIGNUM Ni; /* The inverse of N (bignum form) */
- BN_ULONG n0; /* The inverse of N in word form */
+ BIGNUM Ni; /* R*(1/R mod N) - N*Ni = 1
+ * (Ni is only stored for bignum algorithm) */
+ BN_ULONG n0; /* least significant word of Ni */
int flags;
} BN_MONT_CTX;