summary refs log tree commit diff
path: root/crypto/src/math/ec/custom/sec/SecP256R1Point.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/math/ec/custom/sec/SecP256R1Point.cs')
-rw-r--r--crypto/src/math/ec/custom/sec/SecP256R1Point.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/math/ec/custom/sec/SecP256R1Point.cs b/crypto/src/math/ec/custom/sec/SecP256R1Point.cs
index 11e79678f..be54e0dda 100644
--- a/crypto/src/math/ec/custom/sec/SecP256R1Point.cs
+++ b/crypto/src/math/ec/custom/sec/SecP256R1Point.cs
@@ -49,6 +49,11 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
         {
         }
 
+        protected override ECPoint Detach()
+        {
+            return new SecP256R1Point(null, AffineXCoord, AffineYCoord);
+        }
+
         protected internal override bool CompressionYTilde
         {
             get { return this.AffineYCoord.TestBitZero(); }