diff options
Diffstat (limited to 'crypto/src/math/raw/Nat448.cs')
-rw-r--r-- | crypto/src/math/raw/Nat448.cs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/crypto/src/math/raw/Nat448.cs b/crypto/src/math/raw/Nat448.cs index b0774b37a..8c7f3244d 100644 --- a/crypto/src/math/raw/Nat448.cs +++ b/crypto/src/math/raw/Nat448.cs @@ -51,21 +51,6 @@ namespace Org.BouncyCastle.Math.Raw return true; } - public static ulong[] FromBigInteger64(BigInteger x) - { - if (x.SignValue < 0 || x.BitLength > 448) - 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) |