Monero
Loading...
Searching...
No Matches
test_multiexp< algorithm, npoints, c > Class Template Reference

#include <multiexp.h>

Collaboration diagram for test_multiexp< algorithm, npoints, c >:

Public Member Functions

bool init ()
bool test ()

Static Public Attributes

static const size_t loop_count = npoints >= 1024 ? 10 : npoints < 256 ? 1000 : 100

Private Attributes

std::vector< rct::MultiexpDatadata
std::shared_ptr< rct::straus_cached_datastraus_cache
std::shared_ptr< rct::pippenger_cached_datapippenger_cache
rct::key res

Member Function Documentation

◆ init()

template<test_multiexp_algorithm algorithm, size_t npoints, size_t c = 0>
bool test_multiexp< algorithm, npoints, c >::init ( )
inline

◆ test()

template<test_multiexp_algorithm algorithm, size_t npoints, size_t c = 0>
bool test_multiexp< algorithm, npoints, c >::test ( )
inline

Member Data Documentation

◆ data

template<test_multiexp_algorithm algorithm, size_t npoints, size_t c = 0>
std::vector<rct::MultiexpData> test_multiexp< algorithm, npoints, c >::data
private

◆ loop_count

template<test_multiexp_algorithm algorithm, size_t npoints, size_t c = 0>
const size_t test_multiexp< algorithm, npoints, c >::loop_count = npoints >= 1024 ? 10 : npoints < 256 ? 1000 : 100
static

◆ pippenger_cache

template<test_multiexp_algorithm algorithm, size_t npoints, size_t c = 0>
std::shared_ptr<rct::pippenger_cached_data> test_multiexp< algorithm, npoints, c >::pippenger_cache
private

◆ res

template<test_multiexp_algorithm algorithm, size_t npoints, size_t c = 0>
rct::key test_multiexp< algorithm, npoints, c >::res
private

◆ straus_cache

template<test_multiexp_algorithm algorithm, size_t npoints, size_t c = 0>
std::shared_ptr<rct::straus_cached_data> test_multiexp< algorithm, npoints, c >::straus_cache
private

The documentation for this class was generated from the following file: