summary refs log tree commit diff
path: root/crypto/src/math/raw/Mod.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/math/raw/Mod.cs')
-rw-r--r--crypto/src/math/raw/Mod.cs28
1 files changed, 0 insertions, 28 deletions
diff --git a/crypto/src/math/raw/Mod.cs b/crypto/src/math/raw/Mod.cs
index a1eeaa9b7..41977f9d8 100644
--- a/crypto/src/math/raw/Mod.cs
+++ b/crypto/src/math/raw/Mod.cs
@@ -19,17 +19,6 @@ namespace Org.BouncyCastle.Math.Raw
         private const int M30 = 0x3FFFFFFF;
         private const ulong M32UL = 0xFFFFFFFFUL;
 
-        [Obsolete("Will be removed")]
-        public static void Add(uint[] p, uint[] x, uint[] y, uint[] z)
-        {
-            int len = p.Length;
-            uint c = Nat.Add(len, x, y, z);
-            if (c != 0)
-            {
-                Nat.SubFrom(len, p, z);
-            }
-        }
-
         public static void CheckedModOddInverse(uint[] m, uint[] x, uint[] z)
         {
             if (0 == ModOddInverse(m, x, z))
@@ -56,12 +45,6 @@ namespace Org.BouncyCastle.Math.Raw
             return x;
         }
 
-        [Obsolete("Use 'CheckedModOddInverseVar' instead")]
-        public static void Invert(uint[] m, uint[] x, uint[] z)
-        {
-            CheckedModOddInverseVar(m, x, z);
-        }
-
         public static uint ModOddInverse(uint[] m, uint[] x, uint[] z)
         {
             int len32 = m.Length;
@@ -217,17 +200,6 @@ namespace Org.BouncyCastle.Math.Raw
             return s;
         }
 
-        [Obsolete("Will be removed")]
-        public static void Subtract(uint[] p, uint[] x, uint[] y, uint[] z)
-        {
-            int len = p.Length;
-            int c = Nat.Sub(len, x, y, z);
-            if (c != 0)
-            {
-                Nat.AddTo(len, p, z);
-            }
-        }
-
         private static void CNegate30(int len, int cond, int[] D)
         {
             Debug.Assert(len > 0);