diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2020-10-30 23:51:14 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2020-10-30 23:51:14 +0700 |
commit | fe8e8c3931ddca9b9b536f2d98084600557a44b3 (patch) | |
tree | f533333370c852fe8d9639886c4982f18816ac38 | |
parent | safegcd: more conservative final reduction (diff) | |
download | BouncyCastle.NET-ed25519-fe8e8c3931ddca9b9b536f2d98084600557a44b3.tar.xz |
Cleanup
-rw-r--r-- | crypto/src/math/raw/Mod.cs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/crypto/src/math/raw/Mod.cs b/crypto/src/math/raw/Mod.cs index d9465aab6..a3435ea80 100644 --- a/crypto/src/math/raw/Mod.cs +++ b/crypto/src/math/raw/Mod.cs @@ -486,24 +486,6 @@ namespace Org.BouncyCastle.Math.Raw return true; } - //private static void Negate30(int len, int[] D) - //{ - // Debug.Assert(len > 0); - // Debug.Assert(D.Length >= len); - - // int last = len - 1; - // long cd = 0L; - - // for (int i = 0; i < last; ++i) - // { - // cd -= D[i]; - // D[i] = (int)cd & M30; cd >>= 30; - // } - - // cd -= D[last]; - // D[last] = (int)cd; - //} - private static int Negate30(int len30, int[] D) { Debug.Assert(len30 > 0); |