From d0e078badfa162038a962e5af02e2cd5a71d4b0c Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sun, 26 Jan 2014 11:30:11 +0700 Subject: Increase number of rounds --- crypto/test/src/math/ec/test/ECPointPerformanceTest.cs | 5 ++--- 1 file 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]; -- cgit 1.4.1