Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Smith <brian@briansmith.org>2015-11-12 07:36:23 +0300
committerAdam Langley <agl@google.com>2015-11-12 23:04:43 +0300
commit8bde5d2e51b204e4e800137b68bb37fb3f08f18a (patch)
treefe6808377fd3f45a2b1013cb68cc4ec6190bd86f /include/openssl/bn.h
parentce7ae6fa27a5416053493d205c67fadaf5fa218d (diff)
Remove the unused |Ni| member of |BN_MONT_CTX|.
Change-Id: I0a542c48c7adae28f05778d6c34c9b6836fc3449 Reviewed-on: https://boringssl-review.googlesource.com/6480 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/bn.h')
-rw-r--r--include/openssl/bn.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/openssl/bn.h b/include/openssl/bn.h
index 01115c82..cbc1ee7a 100644
--- a/include/openssl/bn.h
+++ b/include/openssl/bn.h
@@ -836,10 +836,7 @@ struct bignum_st {
struct bn_mont_ctx_st {
BIGNUM RR; /* used to convert to montgomery form */
BIGNUM N; /* The modulus */
- BIGNUM Ni; /* R*(1/R mod N) - N*Ni = 1
- * (Ni is only stored for bignum algorithm) */
- BN_ULONG n0[2]; /* least significant word(s) of Ni;
- (type changed with 0.9.9, was "BN_ULONG n0;" before) */
+ BN_ULONG n0[2]; /* least significant words of (R*Ri-1)/N */
int ri; /* number of bits in R */
};