diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-01-24 18:56:01 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-01-24 18:56:01 +0700 |
commit | c4bf2ce8fb149f77e2410ae09c750ed44bf20ce6 (patch) | |
tree | cf29fb93b5de7584cda8c51e4051b484c44ec0b4 /crypto/src/math/ec/ECCurve.cs | |
parent | Implement very basic Barrett reduction as alternative to very slow BigInteger... (diff) | |
download | BouncyCastle.NET-ed25519-c4bf2ce8fb149f77e2410ae09c750ed44bf20ce6.tar.xz |
Default to COORD_HOMOGENEOUS for Fp
Diffstat (limited to '')
-rw-r--r-- | crypto/src/math/ec/ECCurve.cs | 2 |
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; |