summary refs log tree commit diff
path: root/crypto/src/math/raw/Interleave.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/math/raw/Interleave.cs')
-rw-r--r--crypto/src/math/raw/Interleave.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/math/raw/Interleave.cs b/crypto/src/math/raw/Interleave.cs
index c7c8eb4da..02aa79551 100644
--- a/crypto/src/math/raw/Interleave.cs
+++ b/crypto/src/math/raw/Interleave.cs
@@ -98,7 +98,7 @@ namespace Org.BouncyCastle.Math.Raw
 
         internal static void Expand64To128(ulong[] xs, int xsOff, int xsLen, ulong[] zs, int zsOff)
         {
-            int xsPos = xsLen, zsPos = zsOff + xsLen << 1;
+            int xsPos = xsLen, zsPos = zsOff + (xsLen << 1);
             while (--xsPos >= 0)
             {
                 zsPos -= 2;