aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-07 16:48:41 +0000
committerlloyd <[email protected]>2008-09-07 16:48:41 +0000
commit86e1b32898032ec55b483c54e8b7463a4ff17e84 (patch)
treeed40d8cf037e233ac9f83f4c4a29867b5d3a3578
parent26661fa5d2ecda183441a1506c6ab457da2849a2 (diff)
Comment cleanup
-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);