|
|
|
@ -33,6 +33,7 @@
|
|
|
|
|
#include <boost/thread/mutex.hpp>
|
|
|
|
|
#include "misc_log_ex.h"
|
|
|
|
|
#include "common/perf_timer.h"
|
|
|
|
|
#include "cryptonote_config.h"
|
|
|
|
|
extern "C"
|
|
|
|
|
{
|
|
|
|
|
#include "crypto/crypto-ops.h"
|
|
|
|
@ -57,7 +58,7 @@ static rct::keyV vector_dup(const rct::key &x, size_t n);
|
|
|
|
|
static rct::key inner_product(const rct::keyV &a, const rct::keyV &b);
|
|
|
|
|
|
|
|
|
|
static constexpr size_t maxN = 64;
|
|
|
|
|
static constexpr size_t maxM = 16;
|
|
|
|
|
static constexpr size_t maxM = BULLETPROOF_MAX_OUTPUTS;
|
|
|
|
|
static rct::key Hi[maxN*maxM], Gi[maxN*maxM];
|
|
|
|
|
static ge_p3 Hi_p3[maxN*maxM], Gi_p3[maxN*maxM];
|
|
|
|
|
static ge_dsmp Gprecomp[maxN*maxM], Hprecomp[maxN*maxM];
|
|
|
|
|