Dash Core  0.12.2.1
P2P Digital Currency
tests_impl.h File Reference

Go to the source code of this file.

Functions

void test_schnorr_end_to_end (void)
 
void test_schnorr_hash (unsigned char *h32, const unsigned char *r32, const unsigned char *msg32)
 
void test_schnorr_sign_verify (void)
 
void test_schnorr_threshold (void)
 
void test_schnorr_recovery (void)
 
void run_schnorr_tests (void)
 

Function Documentation

◆ run_schnorr_tests()

void run_schnorr_tests ( void  )

Definition at line 159 of file tests_impl.h.

Referenced by main().

◆ test_schnorr_end_to_end()

void test_schnorr_end_to_end ( void  )

Definition at line 12 of file tests_impl.h.

Referenced by run_schnorr_tests().

◆ test_schnorr_hash()

void test_schnorr_hash ( unsigned char *  h32,
const unsigned char *  r32,
const unsigned char *  msg32 
)

Horribly broken hash function. Do not use for anything but tests.

Definition at line 43 of file tests_impl.h.

Referenced by test_schnorr_recovery(), and test_schnorr_sign_verify().

◆ test_schnorr_recovery()

void test_schnorr_recovery ( void  )

Definition at line 146 of file tests_impl.h.

Referenced by run_schnorr_tests().

◆ test_schnorr_sign_verify()

void test_schnorr_sign_verify ( void  )

Definition at line 50 of file tests_impl.h.

Referenced by run_schnorr_tests().

◆ test_schnorr_threshold()

void test_schnorr_threshold ( void  )

Definition at line 85 of file tests_impl.h.

Referenced by run_schnorr_tests().