summary refs log tree commit diff
path: root/crypto/src/math/ec/custom/sec/SecP384R1Curve.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@gmail.com>2022-06-21 21:14:47 +0700
committerPeter Dettman <peter.dettman@gmail.com>2022-06-21 21:14:47 +0700
commit7ca8774497c8e5c46fb67369909d4d9a87cbeb3f (patch)
treee7ab545ca1b51d48f3506ccbf310c34275d2f8ac /crypto/src/math/ec/custom/sec/SecP384R1Curve.cs
parentRemove legacy TLS (diff)
downloadBouncyCastle.NET-ed25519-7ca8774497c8e5c46fb67369909d4d9a87cbeb3f.tar.xz
Remove per-ECPoint compression
Diffstat (limited to 'crypto/src/math/ec/custom/sec/SecP384R1Curve.cs')
-rw-r--r--crypto/src/math/ec/custom/sec/SecP384R1Curve.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/crypto/src/math/ec/custom/sec/SecP384R1Curve.cs b/crypto/src/math/ec/custom/sec/SecP384R1Curve.cs
index b57788ea0..242b73fc6 100644
--- a/crypto/src/math/ec/custom/sec/SecP384R1Curve.cs
+++ b/crypto/src/math/ec/custom/sec/SecP384R1Curve.cs
@@ -67,14 +67,14 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             return new SecP384R1FieldElement(x);
         }
 
-        protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression)
+        protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y)
         {
-            return new SecP384R1Point(this, x, y, withCompression);
+            return new SecP384R1Point(this, x, y);
         }
 
-        protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression)
+        protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs)
         {
-            return new SecP384R1Point(this, x, y, zs, withCompression);
+            return new SecP384R1Point(this, x, y, zs);
         }
 
         public override ECLookupTable CreateCacheSafeLookupTable(ECPoint[] points, int off, int len)
@@ -163,7 +163,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
 
             private ECPoint CreatePoint(uint[] x, uint[] y)
             {
-                return m_outer.CreateRawPoint(new SecP384R1FieldElement(x), new SecP384R1FieldElement(y), SECP384R1_AFFINE_ZS, false);
+                return m_outer.CreateRawPoint(new SecP384R1FieldElement(x), new SecP384R1FieldElement(y), SECP384R1_AFFINE_ZS);
             }
         }
     }