summary refs log tree commit diff
path: root/crypto/src/math/ec/custom/sec/SecT163Field.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/math/ec/custom/sec/SecT163Field.cs')
-rw-r--r--crypto/src/math/ec/custom/sec/SecT163Field.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/crypto/src/math/ec/custom/sec/SecT163Field.cs b/crypto/src/math/ec/custom/sec/SecT163Field.cs
index e76e57b43..bc35ae6e8 100644
--- a/crypto/src/math/ec/custom/sec/SecT163Field.cs
+++ b/crypto/src/math/ec/custom/sec/SecT163Field.cs
@@ -329,10 +329,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
         {
             Interleave.Expand64To128(x[0], zz, 0);
             Interleave.Expand64To128(x[1], zz, 2);
-
-            ulong x2 = x[2];
-            zz[4] = Interleave.Expand32to64((uint)x2);
-            zz[5] = Interleave.Expand8to16((uint)(x2 >> 32));
+            Interleave.Expand64To128(x[2], zz, 4);
         }
     }
 }