summary refs log tree commit diff
path: root/crypto/test/src/math/ec
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2022-03-23 15:12:05 +1100
committerDavid Hook <dgh@cryptoworkshop.com>2022-03-23 15:12:05 +1100
commitd2c21efe437d17d375cbe81d0d2c3968cfab44c7 (patch)
tree4c0c2a2f98b66a42d3256d6936aa6fd2f5dc0214 /crypto/test/src/math/ec
parentadded RSA/EC checks (diff)
downloadBouncyCastle.NET-ed25519-d2c21efe437d17d375cbe81d0d2c3968cfab44c7.tar.xz
minor corrections, updated ECPointTest
Diffstat (limited to 'crypto/test/src/math/ec')
-rw-r--r--crypto/test/src/math/ec/test/ECPointTest.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/test/src/math/ec/test/ECPointTest.cs b/crypto/test/src/math/ec/test/ECPointTest.cs
index e1a2b8a6a..4b17d8c0a 100644
--- a/crypto/test/src/math/ec/test/ECPointTest.cs
+++ b/crypto/test/src/math/ec/test/ECPointTest.cs
@@ -32,7 +32,7 @@ namespace Org.BouncyCastle.Math.EC.Tests
          */
         public class Fp
         {
-            internal static readonly BigInteger q = new BigInteger("29");
+            internal static readonly BigInteger q = new BigInteger("1063");
 
             internal static readonly BigInteger a = new BigInteger("4");
 
@@ -46,7 +46,7 @@ namespace Org.BouncyCastle.Math.EC.Tests
 
             internal static readonly ECPoint infinity = curve.Infinity;
 
-            internal static readonly int[] pointSource = { 5, 22, 16, 27, 13, 6, 14, 6 };
+            internal static readonly int[] pointSource = { 1, 5, 4, 10, 234, 1024, 817, 912 };
 
             internal static ECPoint[] p = new ECPoint[pointSource.Length / 2];