diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-08-24 00:34:06 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-08-24 00:34:06 +0700 |
commit | 756e117e5442f78ec41645e6c976422a763f49ce (patch) | |
tree | 7092ce59efa9100d8eb495b2dbccbacba84f7ed8 | |
parent | Span-based variant for ISigner.BlockUpdate (diff) | |
download | BouncyCastle.NET-ed25519-756e117e5442f78ec41645e6c976422a763f49ce.tar.xz |
Cleanup
-rw-r--r-- | crypto/src/crypto/IDigest.cs | 2 | ||||
-rw-r--r-- | crypto/test/src/crypto/test/DigestTest.cs | 2 | ||||
-rw-r--r-- | crypto/test/src/crypto/test/Haraka256DigestTest.cs | 2 | ||||
-rw-r--r-- | crypto/test/src/crypto/test/Haraka512DigestTest.cs | 2 | ||||
-rw-r--r-- | crypto/test/src/crypto/test/TupleHashTest.cs | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/crypto/src/crypto/IDigest.cs b/crypto/src/crypto/IDigest.cs index 2ba1705c7..36caf3728 100644 --- a/crypto/src/crypto/IDigest.cs +++ b/crypto/src/crypto/IDigest.cs @@ -5,7 +5,7 @@ namespace Org.BouncyCastle.Crypto /// <remarks>Base interface for a message digest.</remarks> public interface IDigest { - /// <summary>the algorithm name</summary> + /// <summary>The algorithm name.</summary> string AlgorithmName { get; } /// <summary>Return the size, in bytes, of the digest produced by this message digest.</summary> 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(); |