summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-08-24 00:34:06 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-08-24 00:34:06 +0700
commit756e117e5442f78ec41645e6c976422a763f49ce (patch)
tree7092ce59efa9100d8eb495b2dbccbacba84f7ed8 /crypto/test
parentSpan-based variant for ISigner.BlockUpdate (diff)
downloadBouncyCastle.NET-ed25519-756e117e5442f78ec41645e6c976422a763f49ce.tar.xz
Cleanup
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/crypto/test/DigestTest.cs2
-rw-r--r--crypto/test/src/crypto/test/Haraka256DigestTest.cs2
-rw-r--r--crypto/test/src/crypto/test/Haraka512DigestTest.cs2
-rw-r--r--crypto/test/src/crypto/test/TupleHashTest.cs4
4 files changed, 5 insertions, 5 deletions
diff --git a/crypto/test/src/crypto/test/DigestTest.cs b/crypto/test/src/crypto/test/DigestTest.cs
index e2d2a47ef..1809c07fb 100644
--- a/crypto/test/src/crypto/test/DigestTest.cs
+++ b/crypto/test/src/crypto/test/DigestTest.cs
@@ -205,7 +205,7 @@ namespace Org.BouncyCastle.Crypto.Tests
 		internal static void SpanConsistencyTest(SimpleTest test, IDigest digest, byte[] buf, int off, int len)
         {
 			// NOTE: .NET Core 2.1 has Span<T>, but is tested against our .NET Standard 2.0 assembly.
-			//#if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER
+//#if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER
 #if NET6_0_OR_GREATER || NETSTANDARD2_1_OR_GREATER
 			digest.Reset();
 
diff --git a/crypto/test/src/crypto/test/Haraka256DigestTest.cs b/crypto/test/src/crypto/test/Haraka256DigestTest.cs
index e8a181169..18ff65ddc 100644
--- a/crypto/test/src/crypto/test/Haraka256DigestTest.cs
+++ b/crypto/test/src/crypto/test/Haraka256DigestTest.cs
@@ -201,7 +201,7 @@ namespace Org.BouncyCastle.Crypto.Tests
         private void SpanConsistencyTests()
         {
             // NOTE: .NET Core 2.1 has Span<T>, but is tested against our .NET Standard 2.0 assembly.
-            //#if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER
+//#if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER
 #if NET6_0_OR_GREATER || NETSTANDARD2_1_OR_GREATER
             // Span-based API consistency checks
             byte[] data = new byte[16 + 32];
diff --git a/crypto/test/src/crypto/test/Haraka512DigestTest.cs b/crypto/test/src/crypto/test/Haraka512DigestTest.cs
index 88208100e..1ef178222 100644
--- a/crypto/test/src/crypto/test/Haraka512DigestTest.cs
+++ b/crypto/test/src/crypto/test/Haraka512DigestTest.cs
@@ -203,7 +203,7 @@ namespace Org.BouncyCastle.Crypto.Tests
         private void SpanConsistencyTests()
         {
             // NOTE: .NET Core 2.1 has Span<T>, but is tested against our .NET Standard 2.0 assembly.
-            //#if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER
+//#if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER
 #if NET6_0_OR_GREATER || NETSTANDARD2_1_OR_GREATER
             // Span-based API consistency checks
             byte[] data = new byte[16 + 64];
diff --git a/crypto/test/src/crypto/test/TupleHashTest.cs b/crypto/test/src/crypto/test/TupleHashTest.cs
index ba9010e99..918fcbea4 100644
--- a/crypto/test/src/crypto/test/TupleHashTest.cs
+++ b/crypto/test/src/crypto/test/TupleHashTest.cs
@@ -119,7 +119,7 @@ namespace Org.BouncyCastle.Crypto.Tests
         internal void SpanConsistencyTests()
         {
             // NOTE: .NET Core 2.1 has Span<T>, but is tested against our .NET Standard 2.0 assembly.
-            //#if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER
+//#if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER
 #if NET6_0_OR_GREATER || NETSTANDARD2_1_OR_GREATER
             IDigest digest1 = new TupleHash(128, new byte[0]);
             IDigest digest2 = new TupleHash(128, new byte[0]);
@@ -140,7 +140,7 @@ namespace Org.BouncyCastle.Crypto.Tests
         internal void SpanConsistencyTest(IDigest digest1, IDigest digest2, byte[] buf, int off, int len)
         {
             // NOTE: .NET Core 2.1 has Span<T>, but is tested against our .NET Standard 2.0 assembly.
-            //#if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER
+//#if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER
 #if NET6_0_OR_GREATER || NETSTANDARD2_1_OR_GREATER
             digest1.Reset();
             digest2.Reset();