Bitcoin Core 28.99.0
P2P Digital Currency
Macros | Functions | Variables
tests_exhaustive_impl.h File Reference
#include "../../../include/secp256k1_schnorrsig.h"
#include "main_impl.h"
Include dependency graph for tests_exhaustive_impl.h:

Go to the source code of this file.

Macros

#define NUM_INVALID_KEYS   (sizeof(invalid_pubkey_bytes) / sizeof(invalid_pubkey_bytes[0]))
 

Functions

static int secp256k1_hardened_nonce_function_smallint (unsigned char *nonce32, const unsigned char *msg, size_t msglen, const unsigned char *key32, const unsigned char *xonly_pk32, const unsigned char *algo, size_t algolen, void *data)
 
static void test_exhaustive_schnorrsig_verify (const secp256k1_context *ctx, const secp256k1_xonly_pubkey *pubkeys, unsigned char(*xonly_pubkey_bytes)[32], const int *parities)
 
static void test_exhaustive_schnorrsig_sign (const secp256k1_context *ctx, unsigned char(*xonly_pubkey_bytes)[32], const secp256k1_keypair *keypairs, const int *parities)
 
static void test_exhaustive_schnorrsig (const secp256k1_context *ctx)
 

Variables

static const unsigned char invalid_pubkey_bytes [][32]
 

Macro Definition Documentation

◆ NUM_INVALID_KEYS

#define NUM_INVALID_KEYS   (sizeof(invalid_pubkey_bytes) / sizeof(invalid_pubkey_bytes[0]))

Definition at line 59 of file tests_exhaustive_impl.h.

Function Documentation

◆ secp256k1_hardened_nonce_function_smallint()

static int secp256k1_hardened_nonce_function_smallint ( unsigned char *  nonce32,
const unsigned char *  msg,
size_t  msglen,
const unsigned char *  key32,
const unsigned char *  xonly_pk32,
const unsigned char *  algo,
size_t  algolen,
void *  data 
)
static

Definition at line 61 of file tests_exhaustive_impl.h.

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

◆ test_exhaustive_schnorrsig()

static void test_exhaustive_schnorrsig ( const secp256k1_context ctx)
static

Definition at line 186 of file tests_exhaustive_impl.h.

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

◆ test_exhaustive_schnorrsig_sign()

static void test_exhaustive_schnorrsig_sign ( const secp256k1_context ctx,
unsigned char(*)  xonly_pubkey_bytes[32],
const secp256k1_keypair keypairs,
const int *  parities 
)
static

Definition at line 141 of file tests_exhaustive_impl.h.

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

◆ test_exhaustive_schnorrsig_verify()

static void test_exhaustive_schnorrsig_verify ( const secp256k1_context ctx,
const secp256k1_xonly_pubkey pubkeys,
unsigned char(*)  xonly_pubkey_bytes[32],
const int *  parities 
)
static

Definition at line 79 of file tests_exhaustive_impl.h.

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

Variable Documentation

◆ invalid_pubkey_bytes

const unsigned char invalid_pubkey_bytes[][32]
static

Definition at line 13 of file tests_exhaustive_impl.h.