summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crypto/src/crypto/digests/Haraka512_X86.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/src/crypto/digests/Haraka512_X86.cs b/crypto/src/crypto/digests/Haraka512_X86.cs
index e781a6e5a..8e67228ae 100644
--- a/crypto/src/crypto/digests/Haraka512_X86.cs
+++ b/crypto/src/crypto/digests/Haraka512_X86.cs
@@ -74,8 +74,8 @@ namespace Org.BouncyCastle.Crypto.Digests
             s2 = Sse2.Xor(s2, Load128(input[32..48]));
             s3 = Sse2.Xor(s3, Load128(input[48..64]));
 
-            Store64(s0.GetUpper(), output[..8]);
-            Store64(s1.GetUpper(), output[8..16]);
+            Store64(s0.GetUpper(), output[  .. 8]);
+            Store64(s1.GetUpper(), output[ 8..16]);
             Store64(s2.GetLower(), output[16..24]);
             Store64(s3.GetLower(), output[24..32]);
         }
@@ -98,8 +98,8 @@ namespace Org.BouncyCastle.Crypto.Digests
             s2 = Sse2.Xor(s2, Load128(input[32..48]));
             s3 = Sse2.Xor(s3, Load128(input[48..64]));
 
-            Store64(s0.GetUpper(), output[..8]);
-            Store64(s1.GetUpper(), output[8..16]);
+            Store64(s0.GetUpper(), output[  .. 8]);
+            Store64(s1.GetUpper(), output[ 8..16]);
             Store64(s2.GetLower(), output[16..24]);
             Store64(s3.GetLower(), output[24..32]);
         }