diff options
author | Ulf Möller <ulf@openssl.org> | 2000-01-27 19:36:52 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-01-27 19:36:52 +0000 |
commit | 5d6e31dbe60e008f0d0659b759542e65c2e6a3a8 (patch) | |
tree | 9721e2c3a0060fd94f4e0991cce22fab6c46e034 /doc/crypto/BN_mod_mul_montgomery.pod | |
parent | 38e33cef15e7965ad9fd9db4b08fb2f5dc1bc573 (diff) |
Update comment from bn.h
Diffstat (limited to 'doc/crypto/BN_mod_mul_montgomery.pod')
-rw-r--r-- | doc/crypto/BN_mod_mul_montgomery.pod | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/crypto/BN_mod_mul_montgomery.pod b/doc/crypto/BN_mod_mul_montgomery.pod index 825a29f979..0b8eb43459 100644 --- 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; |