summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crypto/test/src/math/ec/test/ECPointTest.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/crypto/test/src/math/ec/test/ECPointTest.cs b/crypto/test/src/math/ec/test/ECPointTest.cs
index f4ee07b6b..b3f9cb0e7 100644
--- a/crypto/test/src/math/ec/test/ECPointTest.cs
+++ b/crypto/test/src/math/ec/test/ECPointTest.cs
@@ -434,7 +434,13 @@ namespace Org.BouncyCastle.Math.EC.Tests
             ImplTestAddSubtract(q, infinity);
             ImplTestMultiply(q, n.BitLength);
             ImplTestMultiply(infinity, n.BitLength);
-            ImplTestEncoding(q);
+
+            ECPoint p = q;
+            for (int i = 0; i < 10; ++i)
+            {
+                ImplTestEncoding(p);
+                p = p.Twice();
+            }
         }
 
         private void ImplAddSubtractMultiplyTwiceEncodingTestAllCoords(X9ECParameters x9ECParameters)