diff options
Diffstat (limited to 'crypto/src/math/ec/custom/sec/SecP160R2Field.cs')
-rw-r--r-- | crypto/src/math/ec/custom/sec/SecP160R2Field.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/math/ec/custom/sec/SecP160R2Field.cs b/crypto/src/math/ec/custom/sec/SecP160R2Field.cs index 55f02e438..9ad594376 100644 --- a/crypto/src/math/ec/custom/sec/SecP160R2Field.cs +++ b/crypto/src/math/ec/custom/sec/SecP160R2Field.cs @@ -51,7 +51,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec public static uint[] FromBigInteger(BigInteger x) { - uint[] z = Nat160.FromBigInteger(x); + uint[] z = Nat.FromBigInteger(160, x); if (z[4] == P4 && Nat160.Gte(z, P)) { Nat160.SubFrom(P, z); |