summary refs log tree commit diff
path: root/crypto/src/math/ec/ECCurve.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2014-01-24 18:56:01 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2014-01-24 18:56:01 +0700
commitc4bf2ce8fb149f77e2410ae09c750ed44bf20ce6 (patch)
treecf29fb93b5de7584cda8c51e4051b484c44ec0b4 /crypto/src/math/ec/ECCurve.cs
parentImplement very basic Barrett reduction as alternative to very slow BigInteger... (diff)
downloadBouncyCastle.NET-ed25519-c4bf2ce8fb149f77e2410ae09c750ed44bf20ce6.tar.xz
Default to COORD_HOMOGENEOUS for Fp
Diffstat (limited to '')
-rw-r--r--crypto/src/math/ec/ECCurve.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/math/ec/ECCurve.cs b/crypto/src/math/ec/ECCurve.cs
index d369cb2b7..02c676994 100644
--- a/crypto/src/math/ec/ECCurve.cs
+++ b/crypto/src/math/ec/ECCurve.cs
@@ -343,7 +343,7 @@ namespace Org.BouncyCastle.Math.EC
     public class FpCurve
         : ECCurve
     {
-        private const int FP_DEFAULT_COORDS = COORD_AFFINE;
+        private const int FP_DEFAULT_COORDS = COORD_HOMOGENEOUS;
 
         protected readonly BigInteger m_q, m_r;
         protected readonly FpPoint m_infinity;