1 2007-07-30 Sebastien Pouliot <sebastien@ximian.com>
3 * BigInteger.cs: Applied Miguel's r82915 patch for Equals.
5 2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
7 * BigInteger.cs: Call PrimalityTests.Test instead of the Rabin-Miller
8 test. This will select the best algorithm to use based on the prime
9 candidate. Applied #69999 optimization (even if this code is commented
10 right now) so this old issue can be closed.
12 2007-07-05 Sebastien Pouliot <sebastien@ximian.com>
14 * BigInteger.cs: Reduce modulo steps in Multiply. Add #if/#else around
15 older, and commented, [Odd|Even]Pow methods.
17 2007-07-04 Sebastien Pouliot <sebastien@ximian.com>
19 * BigInteger.cs: In some condition the optimized (4 variants) OddPow
20 expose a bug, mainly with small numbers. This simpler version, square
21 and multiply, doesn't expose as much the bug (almost all new prime
24 2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
26 * BigInteger.cs: Avoid Miller-Rabin test for small primes (we have a
27 complete list of them) in IsProbablePrime.
29 2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
31 * BigInteger.cs: Fix possible IndexOutOfRangeException inside method
32 IsProbablePrime for small values.
34 2007-07-03 Sebastien Pouliot <sebastien@ximian.com>
36 * BigInteger.cs: Fix check on IsProbablePrime not to exclude the last
37 element of the small primes. Patch by Kazuki (#81857).
39 2004-12-03 Sebastien Pouliot <sebastien@ximian.com>
41 * BigInteger.cs: Fix issue #70169 in ModPow when modulus is a power of
44 2004-10-19 Sebastien Pouliot <sebastien@ximian.com>
46 * BigInteger.cs: Fix issue #68452 when Randomize was being called on a
47 0 BigInteger (i.e. BitCount == 0).
49 2004-09-17 Sebastien Pouliot <sebastien@ximian.com>
51 * BigInteger.cs: In sync with corlib. This fix level 4 warnings about
54 2004-05-07 Sebastien Pouliot <sebastien@ximian.com>
56 * BigInteger.cs: Faster scan of smallPrimes in IsProbablePrime.
57 Commented the methods OddModTwoPow and EvenModTwoPow as they are broken
58 in some cases (well tested primes test case).
60 2004-04-22 Sebastien Pouliot <sebastien@ximian.com>
62 * BigInteger.cs: FxCop-ized. CLS compliance.
64 2004-02-23 Sebastien Pouliot <sebastien@ximian.com>
66 * BigInteger.cs: Corrected isProbablePrime by removing the redundant
69 2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
71 * BigInteger.cs: Fixed isProbablePrime() and added Parse method from
72 patch provided by Pieter (#51229). Changed SmallPrimeSppTest to
73 RabinMillerTest (#51229, #54262). Removed obsoleted method
76 2004-02-09 Sebastien Pouliot <sebastien@ximian.com>
78 * BigInteger.cs: New. Copied from corlib. Required for PKCS1 and
79 RSAManaged (which are required for TLS).