The long data type is replaced with int64_t

This commit is contained in:
WO
2018-09-01 00:57:11 +09:00
parent c1992b5834
commit 3786db4fb9
13 changed files with 26 additions and 26 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.