summary refs log tree commit diff
path: root/crypto/src/math/ec
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/math/ec')
-rw-r--r--crypto/src/math/ec/custom/sec/SecP192K1FieldElement.cs2
-rw-r--r--crypto/src/math/ec/custom/sec/SecP192R1FieldElement.cs2
-rw-r--r--crypto/src/math/ec/custom/sec/SecP256K1FieldElement.cs2
3 files changed, 0 insertions, 6 deletions
diff --git a/crypto/src/math/ec/custom/sec/SecP192K1FieldElement.cs b/crypto/src/math/ec/custom/sec/SecP192K1FieldElement.cs

index 2d1f79367..ba2897ae4 100644 --- a/crypto/src/math/ec/custom/sec/SecP192K1FieldElement.cs +++ b/crypto/src/math/ec/custom/sec/SecP192K1FieldElement.cs
@@ -137,9 +137,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec uint[] x1 = this.x; if (Nat192.IsZero(x1) || Nat192.IsOne(x1)) - { return this; - } uint[] x2 = Nat192.Create(); SecP192K1Field.Square(x1, x2); diff --git a/crypto/src/math/ec/custom/sec/SecP192R1FieldElement.cs b/crypto/src/math/ec/custom/sec/SecP192R1FieldElement.cs
index d129ff1ed..5bcff10d2 100644 --- a/crypto/src/math/ec/custom/sec/SecP192R1FieldElement.cs +++ b/crypto/src/math/ec/custom/sec/SecP192R1FieldElement.cs
@@ -128,9 +128,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec uint[] x1 = this.x; if (Nat192.IsZero(x1) || Nat192.IsOne(x1)) - { return this; - } uint[] t1 = Nat192.Create(); uint[] t2 = Nat192.Create(); diff --git a/crypto/src/math/ec/custom/sec/SecP256K1FieldElement.cs b/crypto/src/math/ec/custom/sec/SecP256K1FieldElement.cs
index 2c3499caa..28c883e06 100644 --- a/crypto/src/math/ec/custom/sec/SecP256K1FieldElement.cs +++ b/crypto/src/math/ec/custom/sec/SecP256K1FieldElement.cs
@@ -137,9 +137,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec uint[] x1 = this.x; if (Nat256.IsZero(x1) || Nat256.IsOne(x1)) - { return this; - } uint[] x2 = Nat256.Create(); SecP256K1Field.Square(x1, x2);