Bitcoin Core  22.99.0
P2P Digital Currency
Macros | Functions
tests_impl.h File Reference
#include "../../../include/secp256k1_extrakeys.h"
Include dependency graph for tests_impl.h:

Go to the source code of this file.

Macros

#define N_PUBKEYS   32
 

Functions

static secp256k1_contextapi_test_context (int flags, int *ecount)
 
void test_xonly_pubkey (void)
 
void test_xonly_pubkey_comparison (void)
 
void test_xonly_pubkey_tweak (void)
 
void test_xonly_pubkey_tweak_check (void)
 
void test_xonly_pubkey_tweak_recursive (void)
 
void test_keypair (void)
 
void test_keypair_add (void)
 
void run_extrakeys_tests (void)
 

Macro Definition Documentation

◆ N_PUBKEYS

#define N_PUBKEYS   32

Definition at line 319 of file tests_impl.h.

Function Documentation

◆ api_test_context()

static secp256k1_context* api_test_context ( int  flags,
int *  ecount 
)
static

Definition at line 12 of file tests_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ run_extrakeys_tests()

void run_extrakeys_tests ( void  )

Definition at line 574 of file tests_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_keypair()

void test_keypair ( void  )

Test keypair_xonly_pub

keypair holds the same xonly pubkey as pubkey_create

Definition at line 349 of file tests_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_keypair_add()

void test_keypair_add ( void  )

Definition at line 464 of file tests_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_xonly_pubkey()

void test_xonly_pubkey ( void  )

Definition at line 19 of file tests_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_xonly_pubkey_comparison()

void test_xonly_pubkey_comparison ( void  )

Definition at line 140 of file tests_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_xonly_pubkey_tweak()

void test_xonly_pubkey_tweak ( void  )

Definition at line 177 of file tests_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_xonly_pubkey_tweak_check()

void test_xonly_pubkey_tweak_check ( void  )

Definition at line 249 of file tests_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_xonly_pubkey_tweak_recursive()

void test_xonly_pubkey_tweak_recursive ( void  )

Definition at line 320 of file tests_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function: