Go to the source code of this file.
|
void | nonce_function_bip340_bitflip (unsigned char **args, size_t n_flip, size_t n_bytes, size_t msglen, size_t algolen) |
|
void | test_sha256_eq (const secp256k1_sha256 *sha1, const secp256k1_sha256 *sha2) |
|
void | run_nonce_function_bip340_tests (void) |
|
void | test_schnorrsig_api (void) |
|
void | test_schnorrsig_sha256_tagged (void) |
|
void | test_schnorrsig_bip_vectors_check_signing (const unsigned char *sk, const unsigned char *pk_serialized, unsigned char *aux_rand, const unsigned char *msg32, const unsigned char *expected_sig) |
|
void | test_schnorrsig_bip_vectors_check_verify (const unsigned char *pk_serialized, const unsigned char *msg32, const unsigned char *sig, int expected) |
|
void | test_schnorrsig_bip_vectors (void) |
|
static int | nonce_function_failing (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 int | nonce_function_0 (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 int | nonce_function_overflowing (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) |
|
void | test_schnorrsig_sign (void) |
|
void | test_schnorrsig_sign_verify (void) |
|
void | test_schnorrsig_taproot (void) |
|
void | run_schnorrsig_tests (void) |
|
◆ N_SIGS
◆ nonce_function_0()
static int nonce_function_0 |
( |
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 |
◆ nonce_function_bip340_bitflip()
void nonce_function_bip340_bitflip |
( |
unsigned char ** |
args, |
|
|
size_t |
n_flip, |
|
|
size_t |
n_bytes, |
|
|
size_t |
msglen, |
|
|
size_t |
algolen |
|
) |
| |
◆ nonce_function_failing()
static int nonce_function_failing |
( |
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 |
◆ nonce_function_overflowing()
static int nonce_function_overflowing |
( |
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 |
◆ run_nonce_function_bip340_tests()
void run_nonce_function_bip340_tests |
( |
void |
| ) |
|
◆ run_schnorrsig_tests()
void run_schnorrsig_tests |
( |
void |
| ) |
|
◆ test_schnorrsig_api()
void test_schnorrsig_api |
( |
void |
| ) |
|
◆ test_schnorrsig_bip_vectors()
void test_schnorrsig_bip_vectors |
( |
void |
| ) |
|
◆ test_schnorrsig_bip_vectors_check_signing()
void test_schnorrsig_bip_vectors_check_signing |
( |
const unsigned char * |
sk, |
|
|
const unsigned char * |
pk_serialized, |
|
|
unsigned char * |
aux_rand, |
|
|
const unsigned char * |
msg32, |
|
|
const unsigned char * |
expected_sig |
|
) |
| |
◆ test_schnorrsig_bip_vectors_check_verify()
void test_schnorrsig_bip_vectors_check_verify |
( |
const unsigned char * |
pk_serialized, |
|
|
const unsigned char * |
msg32, |
|
|
const unsigned char * |
sig, |
|
|
int |
expected |
|
) |
| |
◆ test_schnorrsig_sha256_tagged()
void test_schnorrsig_sha256_tagged |
( |
void |
| ) |
|
◆ test_schnorrsig_sign()
void test_schnorrsig_sign |
( |
void |
| ) |
|
◆ test_schnorrsig_sign_verify()
void test_schnorrsig_sign_verify |
( |
void |
| ) |
|
◆ test_schnorrsig_taproot()
void test_schnorrsig_taproot |
( |
void |
| ) |
|
◆ test_sha256_eq()