diff options
Diffstat (limited to 'crypto/src/math/ec/custom/sec/SecP192R1FieldElement.cs')
-rw-r--r-- | crypto/src/math/ec/custom/sec/SecP192R1FieldElement.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/math/ec/custom/sec/SecP192R1FieldElement.cs b/crypto/src/math/ec/custom/sec/SecP192R1FieldElement.cs index d197cb698..e61c2251b 100644 --- a/crypto/src/math/ec/custom/sec/SecP192R1FieldElement.cs +++ b/crypto/src/math/ec/custom/sec/SecP192R1FieldElement.cs @@ -94,7 +94,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec { //return Multiply(b.Invert()); uint[] z = Nat192.Create(); - Mod.Invert(SecP192R1Field.P, ((SecP192R1FieldElement)b).x, z); + SecP192R1Field.Inv(((SecP192R1FieldElement)b).x, z); SecP192R1Field.Multiply(z, x, z); return new SecP192R1FieldElement(z); } @@ -117,7 +117,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec { //return new SecP192R1FieldElement(ToBigInteger().ModInverse(Q)); uint[] z = Nat192.Create(); - Mod.Invert(SecP192R1Field.P, x, z); + SecP192R1Field.Inv(x, z); return new SecP192R1FieldElement(z); } |