[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / Mono.Security / Mono.Math.Prime / ChangeLog
index b96866be1edb1face464f1a14c3b8ed7381fd619..077d52ff5d674b2a721063864061a6f2645e19b4 100644 (file)
@@ -1,3 +1,22 @@
+2007-07-05  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PrimalityTests.cs: Last attempt half-failed. For the time being we
+       need the initial workaround :(
+
+2007-07-05  Sebastien Pouliot  <sebastien@ximian.com> 
+
+       * PrimalityTests.cs: Added Test method that select which algorithm, 
+       SPP or RabinMillerTest, to use based on the prime-candidate size. 
+       Removed previous workaround (as this is both a workaround and a good
+       fix ;-).
+
+2007-07-05  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * PrimalityTests.cs: Rewritten RabinMillerTest to be closer to the 
+       original algorithm (easier to understand/debug). Added a workaround
+       for #81857 when the prime is small (less than 100 bits) so we can keep
+       the a (base) == 2 optimization for larger primes.
+
 2004-05-07  Sebastien Pouliot  <sebastien@ximian.com>
 
        * PrimalityTests.cs: Applying optimization from HAC section 4.50