summary refs log tree commit diff
path: root/crypto/src/math/raw/Nat320.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/math/raw/Nat320.cs')
-rw-r--r--crypto/src/math/raw/Nat320.cs15
1 files changed, 0 insertions, 15 deletions
diff --git a/crypto/src/math/raw/Nat320.cs b/crypto/src/math/raw/Nat320.cs
index 0ad677db4..0b250aa77 100644
--- a/crypto/src/math/raw/Nat320.cs
+++ b/crypto/src/math/raw/Nat320.cs
@@ -47,21 +47,6 @@ namespace Org.BouncyCastle.Math.Raw
             return true;
         }
 
-        public static ulong[] FromBigInteger64(BigInteger x)
-        {
-            if (x.SignValue < 0 || x.BitLength > 320)
-                throw new ArgumentException();
-
-            ulong[] z = Create64();
-            int i = 0;
-            while (x.SignValue != 0)
-            {
-                z[i++] = (ulong)x.LongValue;
-                x = x.ShiftRight(64);
-            }
-            return z;
-        }
-
         public static bool IsOne64(ulong[] x)
         {
             if (x[0] != 1UL)