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