diff options
Diffstat (limited to 'crypto/src/math/ec/custom/sec/SecT239Field.cs')
-rw-r--r-- | crypto/src/math/ec/custom/sec/SecT239Field.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crypto/src/math/ec/custom/sec/SecT239Field.cs b/crypto/src/math/ec/custom/sec/SecT239Field.cs index 2e6ed2ad6..61b2ed6b7 100644 --- a/crypto/src/math/ec/custom/sec/SecT239Field.cs +++ b/crypto/src/math/ec/custom/sec/SecT239Field.cs @@ -40,9 +40,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec public static ulong[] FromBigInteger(BigInteger x) { - ulong[] z = Nat256.FromBigInteger64(x); - Reduce17(z, 0); - return z; + return Nat.FromBigInteger64(239, x); } public static void Invert(ulong[] x, ulong[] z) |