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

Go to the source code of this file.

Macros

#define N_PUBKEYS   32
 

Functions

static void test_xonly_pubkey (void)
 
static void test_xonly_pubkey_comparison (void)
 
static void test_xonly_pubkey_tweak (void)
 
static void test_xonly_pubkey_tweak_check (void)
 
static void test_xonly_pubkey_tweak_recursive (void)
 
static void test_keypair (void)
 
static void test_keypair_add (void)
 

Variables

static const struct tf_test_entry tests_extrakeys []
 

Macro Definition Documentation

◆ N_PUBKEYS

#define N_PUBKEYS   32

Definition at line 252 of file tests_impl.h.

Function Documentation

◆ test_keypair()

static void test_keypair ( void  )
static

Test keypair_xonly_pub

keypair holds the same xonly pubkey as pubkey_create

Definition at line 282 of file tests_impl.h.

Here is the call graph for this function:

◆ test_keypair_add()

static void test_keypair_add ( void  )
static

Definition at line 376 of file tests_impl.h.

Here is the call graph for this function:

◆ test_xonly_pubkey()

static void test_xonly_pubkey ( void  )
static

Definition at line 13 of file tests_impl.h.

Here is the call graph for this function:

◆ test_xonly_pubkey_comparison()

static void test_xonly_pubkey_comparison ( void  )
static

Definition at line 111 of file tests_impl.h.

Here is the call graph for this function:

◆ test_xonly_pubkey_tweak()

static void test_xonly_pubkey_tweak ( void  )
static

Definition at line 144 of file tests_impl.h.

Here is the call graph for this function:

◆ test_xonly_pubkey_tweak_check()

static void test_xonly_pubkey_tweak_check ( void  )
static

Definition at line 199 of file tests_impl.h.

Here is the call graph for this function:

◆ test_xonly_pubkey_tweak_recursive()

static void test_xonly_pubkey_tweak_recursive ( void  )
static

Definition at line 253 of file tests_impl.h.

Here is the call graph for this function:

Variable Documentation

◆ tests_extrakeys

const struct tf_test_entry tests_extrakeys[]
static
Initial value:
= {
}
static void test_xonly_pubkey(void)
Definition: tests_impl.h:13
static void test_xonly_pubkey_tweak_check(void)
Definition: tests_impl.h:199
static void test_xonly_pubkey_comparison(void)
Definition: tests_impl.h:111
static void test_keypair_add(void)
Definition: tests_impl.h:376
static void test_keypair(void)
Definition: tests_impl.h:282
static void test_xonly_pubkey_tweak_recursive(void)
Definition: tests_impl.h:253
static void test_xonly_pubkey_tweak(void)
Definition: tests_impl.h:144
#define CASE1(name)
Definition: unit_test.h:25

Definition at line 472 of file tests_impl.h.