summary refs log tree commit diff
path: root/crypto/src/math/ec/LongArray.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/math/ec/LongArray.cs')
-rw-r--r--crypto/src/math/ec/LongArray.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/math/ec/LongArray.cs b/crypto/src/math/ec/LongArray.cs
index 0cf32fd15..90ca49c77 100644
--- a/crypto/src/math/ec/LongArray.cs
+++ b/crypto/src/math/ec/LongArray.cs
@@ -1018,10 +1018,10 @@ namespace Org.BouncyCastle.Math.EC
 
             while (--n >= 0)
             {
-                Raw.Interleave.Expand64To128(r, 0, len);
+                Raw.Interleave.Expand64To128(r, 0, len, r, 0);
                 len = ReduceInPlace(r, 0, r.Length, m, ks);
             }
-    
+
             return new LongArray(r, 0, len);
         }