summary refs log tree commit diff
path: root/crypto/src/math/BigInteger.cs
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2019-02-05 22:38:28 +1100
committerDavid Hook <dgh@cryptoworkshop.com>2019-02-05 22:38:28 +1100
commit11f435eb2682f4de96f8642688868cbd7bc5870f (patch)
treebdd58fb70b3b71c3ff5e7916ff118e7df1763f4c /crypto/src/math/BigInteger.cs
parentupdate (diff)
downloadBouncyCastle.NET-ed25519-11f435eb2682f4de96f8642688868cbd7bc5870f.tar.xz
fixed ECGOST co-factors for 2012 sets
Diffstat (limited to '')
-rw-r--r--crypto/src/math/BigInteger.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/src/math/BigInteger.cs b/crypto/src/math/BigInteger.cs
index a182c43e8..997f0bbea 100644
--- a/crypto/src/math/BigInteger.cs
+++ b/crypto/src/math/BigInteger.cs
@@ -134,6 +134,7 @@ namespace Org.BouncyCastle.Math
         public static readonly BigInteger One;
         public static readonly BigInteger Two;
         public static readonly BigInteger Three;
+        public static readonly BigInteger Four;
         public static readonly BigInteger Ten;
 
         //private readonly static byte[] BitCountTable =
@@ -207,6 +208,7 @@ namespace Org.BouncyCastle.Math
             One = SMALL_CONSTANTS[1];
             Two = SMALL_CONSTANTS[2];
             Three = SMALL_CONSTANTS[3];
+            Four = SMALL_CONSTANTS[4];
             Ten = SMALL_CONSTANTS[10];
 
             radix2 = ValueOf(2);