summary refs log tree commit diff
path: root/crypto/src/math/ec/custom/gm/SM2P256V1Curve.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-12-05 13:24:04 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-12-05 13:24:04 +0700
commit00721e6cd0c40535c58b734d33790245bafaba0d (patch)
treecb414158b44c89ce1e2186ec17469ce67a121208 /crypto/src/math/ec/custom/gm/SM2P256V1Curve.cs
parentAdd TODO[api] (diff)
downloadBouncyCastle.NET-ed25519-00721e6cd0c40535c58b734d33790245bafaba0d.tar.xz
Refactor ECCurve primality checks
Diffstat (limited to 'crypto/src/math/ec/custom/gm/SM2P256V1Curve.cs')
-rw-r--r--crypto/src/math/ec/custom/gm/SM2P256V1Curve.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/math/ec/custom/gm/SM2P256V1Curve.cs b/crypto/src/math/ec/custom/gm/SM2P256V1Curve.cs
index 3147ccf98..6456120a6 100644
--- a/crypto/src/math/ec/custom/gm/SM2P256V1Curve.cs
+++ b/crypto/src/math/ec/custom/gm/SM2P256V1Curve.cs
@@ -18,7 +18,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.GM
         protected readonly SM2P256V1Point m_infinity;
 
         public SM2P256V1Curve()
-            : base(q, true)
+            : base(q, isInternal: true)
         {
             this.m_infinity = new SM2P256V1Point(this, null, null);