diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-01-26 11:30:11 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-01-26 11:30:11 +0700 |
commit | d0e078badfa162038a962e5af02e2cd5a71d4b0c (patch) | |
tree | eb9530f2592b4cab681511ea3402322899f43dc1 /crypto/test | |
parent | Adjust first-digit optimization to not be so conservative (diff) | |
download | BouncyCastle.NET-ed25519-d0e078badfa162038a962e5af02e2cd5a71d4b0c.tar.xz |
Increase number of rounds
Diffstat (limited to 'crypto/test')
-rw-r--r-- | crypto/test/src/math/ec/test/ECPointPerformanceTest.cs | 5 |
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]; |