diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2018-04-17 13:36:54 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2018-04-17 13:36:54 +0700 |
commit | 6187386918735060573c90d96a9f5b8ef7bd7b2d (patch) | |
tree | 24fabaaa7d34d807539657ba32bdd90483d2daea /crypto/src/math/ec/rfc7748/X25519.cs | |
parent | PKIX: Allow a V0 TA to appear at end of the cert path. (diff) | |
download | BouncyCastle.NET-ed25519-6187386918735060573c90d96a9f5b8ef7bd7b2d.tar.xz |
Remove debugging code
Diffstat (limited to '')
-rw-r--r-- | crypto/src/math/ec/rfc7748/X25519.cs | 12 |
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(); |