summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-10-12 09:43:26 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-10-12 09:43:26 +0700
commita4bc34c6b625b8dfc682b5698de592751919646f (patch)
tree0eb50e25d786edc33f457930015644f961696990 /crypto/src
parentAdd barebones CryptoServicesRegistrar class (diff)
downloadBouncyCastle.NET-ed25519-a4bc34c6b625b8dfc682b5698de592751919646f.tar.xz
Formatting
Diffstat (limited to 'crypto/src')
-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]);
         }