From ce11274203b01f26da14ec72f6b9962af002b779 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sat, 1 Feb 2014 18:51:49 +0700 Subject: Reformat --- crypto/src/math/ec/custom/sec/SecP192K1FieldElement.cs | 2 -- crypto/src/math/ec/custom/sec/SecP192R1FieldElement.cs | 2 -- crypto/src/math/ec/custom/sec/SecP256K1FieldElement.cs | 2 -- 3 files changed, 6 deletions(-) (limited to 'crypto/src/math/ec') 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); -- cgit 1.5.1