[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / Mono.Security / Mono.Math / ChangeLog
1 2007-07-30  Sebastien Pouliot  <sebastien@ximian.com> 
2
3         * BigInteger.cs: Applied Miguel's r82915 patch for Equals.
4
5 2007-07-05  Sebastien Pouliot  <sebastien@ximian.com> 
6
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.
11
12 2007-07-05  Sebastien Pouliot  <sebastien@ximian.com>
13
14         * BigInteger.cs: Reduce modulo steps in Multiply. Add #if/#else around
15         older, and commented, [Odd|Even]Pow methods.
16
17 2007-07-04  Sebastien Pouliot  <sebastien@ximian.com>
18
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 
22         tests pass).
23
24 2007-07-03  Sebastien Pouliot  <sebastien@ximian.com>
25
26         * BigInteger.cs: Avoid Miller-Rabin test for small primes (we have a 
27         complete list of them) in IsProbablePrime.
28
29 2007-07-03  Sebastien Pouliot  <sebastien@ximian.com> 
30
31         * BigInteger.cs: Fix possible IndexOutOfRangeException inside method
32         IsProbablePrime for small values.
33
34 2007-07-03  Sebastien Pouliot  <sebastien@ximian.com>
35
36         * BigInteger.cs: Fix check on IsProbablePrime not to exclude the last
37         element of the small primes. Patch by Kazuki (#81857).
38
39 2004-12-03  Sebastien Pouliot  <sebastien@ximian.com>
40
41         * BigInteger.cs: Fix issue #70169 in ModPow when modulus is a power of
42         two.
43
44 2004-10-19  Sebastien Pouliot  <sebastien@ximian.com>
45
46         * BigInteger.cs: Fix issue #68452 when Randomize was being called on a
47         0 BigInteger (i.e. BitCount == 0).
48
49 2004-09-17  Sebastien Pouliot  <sebastien@ximian.com>
50
51         * BigInteger.cs: In sync with corlib. This fix level 4 warnings about
52         CLSCompliant.
53
54 2004-05-07  Sebastien Pouliot  <sebastien@ximian.com>
55
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). 
59         
60 2004-04-22  Sebastien Pouliot  <sebastien@ximian.com>
61
62         * BigInteger.cs: FxCop-ized. CLS compliance.
63
64 2004-02-23  Sebastien Pouliot  <sebastien@ximian.com>
65
66         * BigInteger.cs: Corrected isProbablePrime by removing the redundant 
67         loop. Fix #54750.
68
69 2004-02-13  Sebastien Pouliot  <sebastien@ximian.com>
70
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
74         isProbablePrime(int).
75
76 2004-02-09  Sebastien Pouliot  <sebastien@ximian.com>
77
78         * BigInteger.cs: New. Copied from corlib. Required for PKCS1 and
79         RSAManaged (which are required for TLS).