summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Hook <david.hook@keyfactor.com>2022-11-08 12:04:52 +1100
committerDavid Hook <david.hook@keyfactor.com>2022-11-08 12:04:52 +1100
commit9d74c192b90f384fc316f600a12486754bed10d1 (patch)
tree9f032c2c7984ac10f40248ebd0c323432f4025ef
parentadded raw encoding for Dilithium keys (diff)
downloadBouncyCastle.NET-ed25519-9d74c192b90f384fc316f600a12486754bed10d1.tar.xz
removed WriteLine
-rw-r--r--crypto/test/src/pqc/crypto/test/CrystalsDilithiumTest.cs3
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/test/src/pqc/crypto/test/CrystalsDilithiumTest.cs b/crypto/test/src/pqc/crypto/test/CrystalsDilithiumTest.cs
index 2b74c44d4..f4a7c338f 100644
--- a/crypto/test/src/pqc/crypto/test/CrystalsDilithiumTest.cs
+++ b/crypto/test/src/pqc/crypto/test/CrystalsDilithiumTest.cs
@@ -1,4 +1,3 @@
-using System;
 using System.Collections.Generic;
 using System.IO;
 
@@ -75,8 +74,6 @@ namespace Org.BouncyCastle.Pqc.Crypto.Tests
             AsymmetricKeyParameter pubDec = PublicKeyFactory.CreateKey(SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(pub));
             AsymmetricKeyParameter privDec = PrivateKeyFactory.CreateKey(PrivateKeyInfoFactory.CreatePrivateKeyInfo(priv));
 
-            Console.Out.WriteLine(Base64.ToBase64String(((DilithiumPublicKeyParameters)pub).GetEncoded()));
-            Console.Out.WriteLine(Base64.ToBase64String(SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(pub).GetEncoded()));
             Assert.AreEqual(((DilithiumPublicKeyParameters)pub).GetEncoded(), ((DilithiumPublicKeyParameters)pubDec).GetEncoded());
             Assert.AreEqual(((DilithiumPrivateKeyParameters)priv).GetEncoded(), ((DilithiumPrivateKeyParameters)privDec).GetEncoded());
         }