From 36cf0ee10f38735f771d477368e384eae607f6d0 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sat, 10 Aug 2019 00:18:41 +0700 Subject: Fix circular dependence of statics --- crypto/src/math/ec/custom/sec/SecP521R1Curve.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crypto/src/math/ec/custom/sec/SecP521R1Curve.cs') diff --git a/crypto/src/math/ec/custom/sec/SecP521R1Curve.cs b/crypto/src/math/ec/custom/sec/SecP521R1Curve.cs index 0841fb8a5..cca86e2cb 100644 --- a/crypto/src/math/ec/custom/sec/SecP521R1Curve.cs +++ b/crypto/src/math/ec/custom/sec/SecP521R1Curve.cs @@ -8,8 +8,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec internal class SecP521R1Curve : AbstractFpCurve { - public static readonly BigInteger q = new BigInteger(1, - Hex.Decode("01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF")); + public static readonly BigInteger q = SecP521R1FieldElement.Q; private const int SECP521R1_DEFAULT_COORDS = COORD_JACOBIAN; private const int SECP521R1_FE_INTS = 17; -- cgit 1.4.1