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

#include <generate_key_derivation.h>

Inheritance diagram for test_generate_key_derivation:
Collaboration diagram for test_generate_key_derivation:

Public Member Functions

bool test ()
Public Member Functions inherited from single_tx_test_base
bool init ()

Static Public Attributes

static const size_t loop_count = 1000

Additional Inherited Members

Protected Attributes inherited from single_tx_test_base
cryptonote::account_base m_bob
cryptonote::transaction m_tx
crypto::public_key m_tx_pub_key
std::vector< crypto::public_keym_additional_tx_pub_keys

Detailed Description

Definition at line 39 of file generate_key_derivation.h.

Member Function Documentation

◆ test()

bool test_generate_key_derivation::test ( )
inline

Definition at line 44 of file generate_key_derivation.h.

45 {
46 crypto::key_derivation recv_derivation;
47 crypto::generate_key_derivation(m_tx_pub_key, m_bob.get_keys().m_view_secret_key, recv_derivation);
48 return true;
49 }
crypto::public_key m_tx_pub_key
cryptonote::account_base m_bob
POD_CLASS key_derivation
Definition crypto.h:101
bool generate_key_derivation(const public_key &key1, const secret_key &key2, key_derivation &derivation)
Definition crypto.h:272
Here is the call graph for this function:

Member Data Documentation

◆ loop_count

const size_t test_generate_key_derivation::loop_count = 1000
static

Definition at line 42 of file generate_key_derivation.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/generate_key_derivation.h