38 template<
size_t inputs,
size_t ring_size,
bool ver>
42 static const size_t cols = ring_size;
43 static const size_t rows = inputs;
56 for (
size_t j = 0 ; j <
rows ; j++)
58 for (
size_t i = 0 ; i <
cols ; i++)
64 for (
size_t j = 0 ; j <
rows ; j++)
keyM keyMInit(size_t rows, size_t cols)
device & get_device(const std::string &device_descriptor)
bool MLSAG_Ver(const key &message, const keyM &pk, const mgSig &rv, size_t dsRows)
static const size_t loop_count
void scalarmultBase(key &aG, const key &a)
mgSig MLSAG_Gen(const key &message, const keyM &pk, const keyV &xx, const multisig_kLRki *kLRki, key *mscout, const unsigned int index, size_t dsRows, hw::device &hwdev)