summary refs log tree commit diff
path: root/crypto/src/math/ec
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2018-04-17 13:36:54 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2018-04-17 13:36:54 +0700
commit6187386918735060573c90d96a9f5b8ef7bd7b2d (patch)
tree24fabaaa7d34d807539657ba32bdd90483d2daea /crypto/src/math/ec
parentPKIX: Allow a V0 TA to appear at end of the cert path. (diff)
downloadBouncyCastle.NET-ed25519-6187386918735060573c90d96a9f5b8ef7bd7b2d.tar.xz
Remove debugging code
Diffstat (limited to 'crypto/src/math/ec')
-rw-r--r--crypto/src/math/ec/rfc7748/X25519.cs12
1 files changed, 0 insertions, 12 deletions
diff --git a/crypto/src/math/ec/rfc7748/X25519.cs b/crypto/src/math/ec/rfc7748/X25519.cs
index 862b8e0d0..16f680d90 100644
--- a/crypto/src/math/ec/rfc7748/X25519.cs
+++ b/crypto/src/math/ec/rfc7748/X25519.cs
@@ -175,18 +175,6 @@ namespace Org.BouncyCastle.Math.EC.Rfc7748
             X25519Field.Encode(x2, r, rOff);
         }
 
-        private static void Dump(string label, int[] x)
-        {
-            int[] y = X25519Field.Create();
-            X25519Field.Copy(x, 0, y, 0);
-            X25519Field.Normalize(y);
-
-            byte[] r = new byte[32];
-            X25519Field.Encode(y, r, 0);
-            string val = Org.BouncyCastle.Utilities.Encoders.Hex.ToHexString(r);
-            Console.WriteLine("  " + label + ": " + val);
-        }
-
         public static void ScalarMultBase(byte[] k, int kOff, byte[] r, int rOff)
         {
             Precompute();