aboutsummaryrefslogtreecommitdiffstats
path: root/src/mp_asm.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-08-19 12:42:23 +0000
committerlloyd <[email protected]>2006-08-19 12:42:23 +0000
commit70db176e715f4fc143ccd1ff75984fdf7c0845cd (patch)
tree792d75d784f60de69e0013856289630c0833a19b /src/mp_asm.cpp
parentf119968c6465a0d1b953e209f6e3db180a46883c (diff)
Move bigint_simple_mul into mp_mul.cpp, since that is the only place it
was used. Make a variant of bigint_simple_mul, bigint_simple_sqr, for mp_sqr.cpp
Diffstat (limited to 'src/mp_asm.cpp')
-rw-r--r--src/mp_asm.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mp_asm.cpp b/src/mp_asm.cpp
index 88cc8b6e1..64605bb48 100644
--- a/src/mp_asm.cpp
+++ b/src/mp_asm.cpp
@@ -172,18 +172,6 @@ void bigint_linmul3(word z[], const word x[], u32bit x_size, word y)
}
/*************************************************
-* Simple O(N^2) Multiplication *
-*************************************************/
-void bigint_simple_mul(word z[], const word x[], u32bit x_size,
- const word y[], u32bit y_size)
- {
- clear_mem(z, x_size + y_size);
-
- for(u32bit j = 0; j != x_size; ++j)
- z[j+y_size] = bigint_mul_add_words(z + j, y, y_size, x[j]);
- }
-
-/*************************************************
* Montgomery Reduction Algorithm *
*************************************************/
void bigint_monty_redc(word z[], u32bit z_size,