summary refs log tree commit diff
path: root/crypto/src/math/ec/custom/sec/SecP192R1Field.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/math/ec/custom/sec/SecP192R1Field.cs')
-rw-r--r--crypto/src/math/ec/custom/sec/SecP192R1Field.cs30
1 files changed, 15 insertions, 15 deletions
diff --git a/crypto/src/math/ec/custom/sec/SecP192R1Field.cs b/crypto/src/math/ec/custom/sec/SecP192R1Field.cs
index f2505e83c..fdb1fa863 100644
--- a/crypto/src/math/ec/custom/sec/SecP192R1Field.cs
+++ b/crypto/src/math/ec/custom/sec/SecP192R1Field.cs
@@ -82,39 +82,39 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             }
         }
 
-        public static void Reduce(uint[] tt, uint[] z)
+        public static void Reduce(uint[] xx, uint[] z)
         {
-            long t06 = tt[6], t07 = tt[7], t08 = tt[8];
-            long t09 = tt[9], t10 = tt[10], t11 = tt[11];
+            long xx06 = xx[6], xx07 = xx[7], xx08 = xx[8];
+            long xx09 = xx[9], xx10 = xx[10], xx11 = xx[11];
 
-            long s0 = t06 + t10;
-            long s1 = t07 + t11;
+            long t0 = xx06 + xx10;
+            long t1 = xx07 + xx11;
 
             long cc = 0;
-            cc += (long)tt[0] + s0;
+            cc += (long)xx[0] + t0;
             z[0] = (uint)cc;
             cc >>= 32;
-            cc += (long)tt[1] + s1;
+            cc += (long)xx[1] + t1;
             z[1] = (uint)cc;
             cc >>= 32;
 
-            s0 += t08;
-            s1 += t09;
+            t0 += xx08;
+            t1 += xx09;
 
-            cc += (long)tt[2] + s0;
+            cc += (long)xx[2] + t0;
             z[2] = (uint)cc;
             cc >>= 32;
-            cc += (long)tt[3] + s1;
+            cc += (long)xx[3] + t1;
             z[3] = (uint)cc;
             cc >>= 32;
 
-            s0 -= t06;
-            s1 -= t07;
+            t0 -= xx06;
+            t1 -= xx07;
 
-            cc += (long)tt[4] + s0;
+            cc += (long)xx[4] + t0;
             z[4] = (uint)cc;
             cc >>= 32;
-            cc += (long)tt[5] + s1;
+            cc += (long)xx[5] + t1;
             z[5] = (uint)cc;
             cc >>= 32;