diff options
author | Jack Lloyd <[email protected]> | 2015-12-25 00:55:40 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-12-25 00:55:40 -0500 |
commit | f62bcf3fc89837aed451b4b07a7e795add205261 (patch) | |
tree | 9c11914bffa44236b60860d6fc78c1ba83f2516f /src/lib/math/mp/mp_core.h | |
parent | 20e7a430425f20c939e872c932c29330f8db5422 (diff) |
Remove mp_mulop.cpp
It had two functions, both only called from one place (mp_karat.cpp).
Both multiple and square ops were O(n**2), so drop square and just
call mul in mp_karat.cpp for either case
Diffstat (limited to 'src/lib/math/mp/mp_core.h')
-rw-r--r-- | src/lib/math/mp/mp_core.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib/math/mp/mp_core.h b/src/lib/math/mp/mp_core.h index b97384d18..9921f1f07 100644 --- a/src/lib/math/mp/mp_core.h +++ b/src/lib/math/mp/mp_core.h @@ -81,15 +81,6 @@ void bigint_shr2(word y[], const word x[], size_t x_size, size_t word_shift, size_t bit_shift); /* -* Simple O(N^2) Multiplication and Squaring -*/ -void bigint_simple_mul(word z[], - const word x[], size_t x_size, - const word y[], size_t y_size); - -void bigint_simple_sqr(word z[], const word x[], size_t x_size); - -/* * Linear Multiply */ void bigint_linmul2(word x[], size_t x_size, word y); |