aboutsummaryrefslogtreecommitdiff
path: root/src/ringct/multiexp.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-25 12:17:37 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-11 13:37:35 +0000
commit126196b017cd93ff399212b7315f9053511afb07 (patch)
treeb8fa8d02e317a5e148def021ab0e44750db35688 /src/ringct/multiexp.h
parentaligned: aligned memory alloc/realloc/free (diff)
downloadmonero-126196b017cd93ff399212b7315f9053511afb07.tar.xz
multiexp: some speedups
- use a raw memory block to store cache - use aligned memory - use doubling API where appropriate - calculate straus in bands
Diffstat (limited to '')
-rw-r--r--src/ringct/multiexp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ringct/multiexp.h b/src/ringct/multiexp.h
index 44998e2e0..c08c70858 100644
--- a/src/ringct/multiexp.h
+++ b/src/ringct/multiexp.h
@@ -59,7 +59,7 @@ rct::key bos_coster_heap_conv(std::vector<MultiexpData> data);
rct::key bos_coster_heap_conv_robust(std::vector<MultiexpData> data);
std::shared_ptr<straus_cached_data> straus_init_cache(const std::vector<MultiexpData> &data);
size_t straus_get_cache_size(const std::shared_ptr<straus_cached_data> &cache);
-rct::key straus(const std::vector<MultiexpData> &data, const std::shared_ptr<straus_cached_data> &cache = NULL);
+rct::key straus(const std::vector<MultiexpData> &data, const std::shared_ptr<straus_cached_data> &cache = NULL, size_t STEP = 0);
}