Electroneum
test_sc_check Class Reference

#include <sc_check.h>

Collaboration diagram for test_sc_check:

Public Member Functions

bool init ()
 
bool test ()
 

Static Public Attributes

static const size_t loop_count = 10000000
 

Detailed Description

Definition at line 33 of file sc_check.h.

Member Function Documentation

◆ init()

bool test_sc_check::init ( )
inline

Definition at line 38 of file sc_check.h.

39  {
40  m_scalar = crypto::rand<crypto::ec_scalar>();
41  return true;
42  }

◆ test()

bool test_sc_check::test ( )
inline

Definition at line 44 of file sc_check.h.

45  {
46  sc_check((unsigned char*)m_scalar.data);
47  return true;
48  }
int sc_check(const unsigned char *)
Here is the call graph for this function:

Member Data Documentation

◆ loop_count

const size_t test_sc_check::loop_count = 10000000
static

Definition at line 36 of file sc_check.h.


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