summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2020-07-17 21:13:43 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2020-07-17 21:13:43 +0700
commite2e5ddf4bac17add70fa663bb0c47f369c4212c4 (patch)
treec995e50c181682a0ccee18e0d3f3e04cbc836b61
parentUse rotates from utility class (diff)
downloadBouncyCastle.NET-ed25519-e2e5ddf4bac17add70fa663bb0c47f369c4212c4.tar.xz
Spelling
-rw-r--r--crypto/src/math/ec/ECPoint.cs4
-rw-r--r--crypto/src/math/ec/custom/sec/SecT113R1Point.cs4
-rw-r--r--crypto/src/math/ec/custom/sec/SecT113R2Point.cs4
-rw-r--r--crypto/src/math/ec/custom/sec/SecT131R1Point.cs4
-rw-r--r--crypto/src/math/ec/custom/sec/SecT131R2Point.cs4
-rw-r--r--crypto/src/math/ec/custom/sec/SecT163K1Point.cs4
-rw-r--r--crypto/src/math/ec/custom/sec/SecT163R1Point.cs4
-rw-r--r--crypto/src/math/ec/custom/sec/SecT163R2Point.cs4
-rw-r--r--crypto/src/math/ec/custom/sec/SecT193R1Point.cs4
-rw-r--r--crypto/src/math/ec/custom/sec/SecT193R2Point.cs4
-rw-r--r--crypto/src/math/ec/custom/sec/SecT233K1Point.cs4
-rw-r--r--crypto/src/math/ec/custom/sec/SecT233R1Point.cs4
-rw-r--r--crypto/src/math/ec/custom/sec/SecT239K1Point.cs4
-rw-r--r--crypto/src/math/ec/custom/sec/SecT283K1Point.cs4
-rw-r--r--crypto/src/math/ec/custom/sec/SecT283R1Point.cs4
-rw-r--r--crypto/src/math/ec/custom/sec/SecT409K1Point.cs4
-rw-r--r--crypto/src/math/ec/custom/sec/SecT409R1Point.cs4
-rw-r--r--crypto/src/math/ec/custom/sec/SecT571K1Point.cs4
-rw-r--r--crypto/src/math/ec/custom/sec/SecT571R1Point.cs4
-rw-r--r--crypto/src/math/field/FiniteFields.cs2
20 files changed, 39 insertions, 39 deletions
diff --git a/crypto/src/math/ec/ECPoint.cs b/crypto/src/math/ec/ECPoint.cs
index ad1a385ee..efec49c63 100644
--- a/crypto/src/math/ec/ECPoint.cs
+++ b/crypto/src/math/ec/ECPoint.cs
@@ -1964,7 +1964,7 @@ namespace Org.BouncyCastle.Math.EC
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own additive inverse
+                // A point with X == 0 is its own additive inverse
                 return curve.Infinity;
             }
 
@@ -2074,7 +2074,7 @@ namespace Org.BouncyCastle.Math.EC
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own additive inverse
+                // A point with X == 0 is its own additive inverse
                 return b;
             }
 
diff --git a/crypto/src/math/ec/custom/sec/SecT113R1Point.cs b/crypto/src/math/ec/custom/sec/SecT113R1Point.cs
index 6ecc8b01a..db085d005 100644
--- a/crypto/src/math/ec/custom/sec/SecT113R1Point.cs
+++ b/crypto/src/math/ec/custom/sec/SecT113R1Point.cs
@@ -182,7 +182,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero) 
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return curve.Infinity;
             }
 
@@ -220,7 +220,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero) 
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return b;
             }
 
diff --git a/crypto/src/math/ec/custom/sec/SecT113R2Point.cs b/crypto/src/math/ec/custom/sec/SecT113R2Point.cs
index 1453d78c3..45fae2d95 100644
--- a/crypto/src/math/ec/custom/sec/SecT113R2Point.cs
+++ b/crypto/src/math/ec/custom/sec/SecT113R2Point.cs
@@ -188,7 +188,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero) 
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return curve.Infinity;
             }
 
@@ -230,7 +230,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero) 
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return b;
             }
 
diff --git a/crypto/src/math/ec/custom/sec/SecT131R1Point.cs b/crypto/src/math/ec/custom/sec/SecT131R1Point.cs
index 7afdad89c..7aba4f2e0 100644
--- a/crypto/src/math/ec/custom/sec/SecT131R1Point.cs
+++ b/crypto/src/math/ec/custom/sec/SecT131R1Point.cs
@@ -184,7 +184,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return curve.Infinity;
             }
 
@@ -226,7 +226,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return b;
             }
 
diff --git a/crypto/src/math/ec/custom/sec/SecT131R2Point.cs b/crypto/src/math/ec/custom/sec/SecT131R2Point.cs
index be61561da..5d06049bc 100644
--- a/crypto/src/math/ec/custom/sec/SecT131R2Point.cs
+++ b/crypto/src/math/ec/custom/sec/SecT131R2Point.cs
@@ -184,7 +184,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return curve.Infinity;
             }
 
@@ -222,7 +222,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return b;
             }
 
diff --git a/crypto/src/math/ec/custom/sec/SecT163K1Point.cs b/crypto/src/math/ec/custom/sec/SecT163K1Point.cs
index 8693fe1c8..66e657cc6 100644
--- a/crypto/src/math/ec/custom/sec/SecT163K1Point.cs
+++ b/crypto/src/math/ec/custom/sec/SecT163K1Point.cs
@@ -184,7 +184,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return curve.Infinity;
             }
 
@@ -220,7 +220,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return b;
             }
 
diff --git a/crypto/src/math/ec/custom/sec/SecT163R1Point.cs b/crypto/src/math/ec/custom/sec/SecT163R1Point.cs
index 811a09f14..bab1f3529 100644
--- a/crypto/src/math/ec/custom/sec/SecT163R1Point.cs
+++ b/crypto/src/math/ec/custom/sec/SecT163R1Point.cs
@@ -184,7 +184,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return curve.Infinity;
             }
 
@@ -222,7 +222,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return b;
             }
 
diff --git a/crypto/src/math/ec/custom/sec/SecT163R2Point.cs b/crypto/src/math/ec/custom/sec/SecT163R2Point.cs
index 69e249739..a207e6fba 100644
--- a/crypto/src/math/ec/custom/sec/SecT163R2Point.cs
+++ b/crypto/src/math/ec/custom/sec/SecT163R2Point.cs
@@ -186,7 +186,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return curve.Infinity;
             }
 
@@ -226,7 +226,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return b;
             }
 
diff --git a/crypto/src/math/ec/custom/sec/SecT193R1Point.cs b/crypto/src/math/ec/custom/sec/SecT193R1Point.cs
index 062fce9d4..9dbdd14c2 100644
--- a/crypto/src/math/ec/custom/sec/SecT193R1Point.cs
+++ b/crypto/src/math/ec/custom/sec/SecT193R1Point.cs
@@ -184,7 +184,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return curve.Infinity;
             }
 
@@ -222,7 +222,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return b;
             }
 
diff --git a/crypto/src/math/ec/custom/sec/SecT193R2Point.cs b/crypto/src/math/ec/custom/sec/SecT193R2Point.cs
index 18d89e316..b75a7ce58 100644
--- a/crypto/src/math/ec/custom/sec/SecT193R2Point.cs
+++ b/crypto/src/math/ec/custom/sec/SecT193R2Point.cs
@@ -184,7 +184,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return curve.Infinity;
             }
 
@@ -222,7 +222,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return b;
             }
 
diff --git a/crypto/src/math/ec/custom/sec/SecT233K1Point.cs b/crypto/src/math/ec/custom/sec/SecT233K1Point.cs
index 9a357ff8f..ffb865591 100644
--- a/crypto/src/math/ec/custom/sec/SecT233K1Point.cs
+++ b/crypto/src/math/ec/custom/sec/SecT233K1Point.cs
@@ -186,7 +186,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return curve.Infinity;
             }
 
@@ -231,7 +231,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return b;
             }
 
diff --git a/crypto/src/math/ec/custom/sec/SecT233R1Point.cs b/crypto/src/math/ec/custom/sec/SecT233R1Point.cs
index 6347051d2..b9c6ce62a 100644
--- a/crypto/src/math/ec/custom/sec/SecT233R1Point.cs
+++ b/crypto/src/math/ec/custom/sec/SecT233R1Point.cs
@@ -182,7 +182,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return curve.Infinity;
             }
 
@@ -218,7 +218,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return b;
             }
 
diff --git a/crypto/src/math/ec/custom/sec/SecT239K1Point.cs b/crypto/src/math/ec/custom/sec/SecT239K1Point.cs
index fbd5117f8..36b4606d1 100644
--- a/crypto/src/math/ec/custom/sec/SecT239K1Point.cs
+++ b/crypto/src/math/ec/custom/sec/SecT239K1Point.cs
@@ -182,7 +182,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return curve.Infinity;
             }
 
@@ -228,7 +228,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return b;
             }
 
diff --git a/crypto/src/math/ec/custom/sec/SecT283K1Point.cs b/crypto/src/math/ec/custom/sec/SecT283K1Point.cs
index 9856894a1..d3d7fa107 100644
--- a/crypto/src/math/ec/custom/sec/SecT283K1Point.cs
+++ b/crypto/src/math/ec/custom/sec/SecT283K1Point.cs
@@ -182,7 +182,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return curve.Infinity;
             }
 
@@ -227,7 +227,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return b;
             }
 
diff --git a/crypto/src/math/ec/custom/sec/SecT283R1Point.cs b/crypto/src/math/ec/custom/sec/SecT283R1Point.cs
index 4c1a7801d..8c4092d63 100644
--- a/crypto/src/math/ec/custom/sec/SecT283R1Point.cs
+++ b/crypto/src/math/ec/custom/sec/SecT283R1Point.cs
@@ -182,7 +182,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return curve.Infinity;
             }
 
@@ -218,7 +218,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return b;
             }
 
diff --git a/crypto/src/math/ec/custom/sec/SecT409K1Point.cs b/crypto/src/math/ec/custom/sec/SecT409K1Point.cs
index e67ca9a72..b127aea0d 100644
--- a/crypto/src/math/ec/custom/sec/SecT409K1Point.cs
+++ b/crypto/src/math/ec/custom/sec/SecT409K1Point.cs
@@ -182,7 +182,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return curve.Infinity;
             }
 
@@ -227,7 +227,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return b;
             }
 
diff --git a/crypto/src/math/ec/custom/sec/SecT409R1Point.cs b/crypto/src/math/ec/custom/sec/SecT409R1Point.cs
index 92f6143dc..546b10795 100644
--- a/crypto/src/math/ec/custom/sec/SecT409R1Point.cs
+++ b/crypto/src/math/ec/custom/sec/SecT409R1Point.cs
@@ -182,7 +182,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return curve.Infinity;
             }
 
@@ -218,7 +218,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return b;
             }
 
diff --git a/crypto/src/math/ec/custom/sec/SecT571K1Point.cs b/crypto/src/math/ec/custom/sec/SecT571K1Point.cs
index deaaf0c74..a6a97ee5e 100644
--- a/crypto/src/math/ec/custom/sec/SecT571K1Point.cs
+++ b/crypto/src/math/ec/custom/sec/SecT571K1Point.cs
@@ -182,7 +182,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return curve.Infinity;
             }
 
@@ -227,7 +227,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return b;
             }
 
diff --git a/crypto/src/math/ec/custom/sec/SecT571R1Point.cs b/crypto/src/math/ec/custom/sec/SecT571R1Point.cs
index 0d1fc98b6..8e4d5d52f 100644
--- a/crypto/src/math/ec/custom/sec/SecT571R1Point.cs
+++ b/crypto/src/math/ec/custom/sec/SecT571R1Point.cs
@@ -182,7 +182,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return curve.Infinity;
             }
 
@@ -218,7 +218,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ECFieldElement X1 = this.RawXCoord;
             if (X1.IsZero)
             {
-                // A point with X == 0 is it's own Additive inverse
+                // A point with X == 0 is its own additive inverse
                 return b;
             }
 
diff --git a/crypto/src/math/field/FiniteFields.cs b/crypto/src/math/field/FiniteFields.cs
index 7b84569fe..4aeb10039 100644
--- a/crypto/src/math/field/FiniteFields.cs
+++ b/crypto/src/math/field/FiniteFields.cs
@@ -17,7 +17,7 @@ namespace Org.BouncyCastle.Math.Field
             {
                 if (exponents[i] <= exponents[i - 1])
                 {
-                    throw new ArgumentException("Polynomial exponents must be montonically increasing", "exponents");
+                    throw new ArgumentException("Polynomial exponents must be monotonically increasing", "exponents");
                 }
             }