From: Ulf Möller Date: Thu, 27 Jan 2000 19:36:52 +0000 (+0000) Subject: Update comment from bn.h X-Git-Tag: OpenSSL_0_9_5beta1~176 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=5d6e31dbe60e008f0d0659b759542e65c2e6a3a8 Update comment from bn.h --- 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 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;