fix snark for WIN

This commit is contained in:
ca333
2018-04-21 17:42:23 +02:00
parent 0ed14ad955
commit ecaa9c46bf
66 changed files with 640 additions and 472 deletions

View File

@@ -18,7 +18,7 @@ namespace libsnark {
* Find the wNAF representation of the given scalar relative to the given window size.
*/
template<mp_size_t n>
std::vector<long> find_wnaf(const size_t window_size, const bigint<n> &scalar);
std::vector<int64_t> find_wnaf(const size_t window_size, const bigint<n> &scalar);
/**
* In additive notation, use wNAF exponentiation (with the given window size) to compute scalar * base.