aboutsummaryrefslogtreecommitdiffstats
path: root/src/mp_monty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mp_monty.cpp')
-rw-r--r--src/mp_monty.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mp_monty.cpp b/src/mp_monty.cpp
index 5edee3e2d..90ccc648b 100644
--- a/src/mp_monty.cpp
+++ b/src/mp_monty.cpp
@@ -45,9 +45,7 @@ void bigint_monty_redc(word z[], u32bit z_size,
}
}
- /* Check if z[x_size...x_size+1] >= x[0...x_size]
- This is bigint_cmp, inlined
- */
+ // Check if z[x_size...x_size+1] >= x[0...x_size] using bigint_cmp (inlined)
if(!z[x_size + x_size])
{
for(u32bit j = x_size; j > 0; --j)
@@ -60,7 +58,7 @@ void bigint_monty_redc(word z[], u32bit z_size,
}
}
- /* If the compare above is true, subtract using bigint_sub2 (inlined) */
+ // If the compare above is true, subtract using bigint_sub2 (inlined)
word carry = 0;
const u32bit blocks = x_size - (x_size % 8);