summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2014-02-01 18:51:49 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2014-02-01 18:51:49 +0700
commitce11274203b01f26da14ec72f6b9962af002b779 (patch)
treef598006871b5094db10adcc893c2b2626e6949bb /crypto/src
parentFix IncExt (diff)
downloadBouncyCastle.NET-ed25519-ce11274203b01f26da14ec72f6b9962af002b779.tar.xz
Reformat
Diffstat (limited to 'crypto/src')
-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);