summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2014-01-26 11:30:11 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2014-01-26 11:30:11 +0700
commitd0e078badfa162038a962e5af02e2cd5a71d4b0c (patch)
treeeb9530f2592b4cab681511ea3402322899f43dc1
parentAdjust first-digit optimization to not be so conservative (diff)
downloadBouncyCastle.NET-ed25519-d0e078badfa162038a962e5af02e2cd5a71d4b0c.tar.xz
Increase number of rounds
-rw-r--r--crypto/test/src/math/ec/test/ECPointPerformanceTest.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/test/src/math/ec/test/ECPointPerformanceTest.cs b/crypto/test/src/math/ec/test/ECPointPerformanceTest.cs
index a077d1f92..69d6823e1 100644
--- a/crypto/test/src/math/ec/test/ECPointPerformanceTest.cs
+++ b/crypto/test/src/math/ec/test/ECPointPerformanceTest.cs
@@ -24,8 +24,8 @@ namespace Org.BouncyCastle.Math.EC.Tests
     [TestFixture, Explicit]
     public class ECPointPerformanceTest
     {
-        public const int PRE_ROUNDS = 10;
-        public const int NUM_ROUNDS = 100;
+        public const int PRE_ROUNDS = 100;
+        public const int NUM_ROUNDS = 1000;
 
         private static string[] COORD_NAMES = new string[]{ "AFFINE", "HOMOGENEOUS", "JACOBIAN", "JACOBIAN-CHUDNOVSKY",
             "JACOBIAN-MODIFIED", "LAMBDA-AFFINE", "LAMBDA-PROJECTIVE", "SKEWED" };
@@ -57,7 +57,6 @@ namespace Org.BouncyCastle.Math.EC.Tests
             Console.WriteLine(label);
 
             int[] coords = ECCurve.GetAllCoordinateSystems();
-            //int[] coords = new int[] { ECCurve.COORD_HOMOGENEOUS };
             for (int i = 0; i < coords.Length; ++i)
             {
                 int coord = coords[i];