Electroneum
Loading...
Searching...
No Matches
test_sc_reduce32 Class Reference

#include <sc_reduce32.h>

Public Member Functions

bool init ()
bool test ()

Static Public Attributes

static const size_t loop_count = 10000000

Detailed Description

Definition at line 34 of file sc_reduce32.h.

Member Function Documentation

◆ init()

bool test_sc_reduce32::init ( )
inline

Definition at line 39 of file sc_reduce32.h.

40 {
42 return true;
43 }
std::enable_if< std::is_pod< T >::value, T >::type rand()
Definition crypto.h:216
Here is the call graph for this function:

◆ test()

bool test_sc_reduce32::test ( )
inline

Definition at line 45 of file sc_reduce32.h.

46 {
47 crypto::hash reduced = m_hash;
48 sc_reduce32((unsigned char*)reduced.data);
49 return true;
50 }
void sc_reduce32(unsigned char *)
POD_CLASS hash
Definition hash.h:50
Here is the call graph for this function:

Member Data Documentation

◆ loop_count

const size_t test_sc_reduce32::loop_count = 10000000
static

Definition at line 37 of file sc_reduce32.h.


The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/tests/performance_tests/sc_reduce32.h