![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
#include <stdlib.h>#include <string.h>#include "../../../include/secp256k1.h"#include "../../../include/secp256k1_extrakeys.h"#include "../../../include/secp256k1_musig.h"#include "session.h"#include "keyagg.h"#include "../../scalar.h"#include "../../field.h"#include "../../group.h"#include "../../hash.h"#include "../../util.h"#include "../../unit_test.h"#include "vectors.h"Go to the source code of this file.
Variables | |
| static const struct tf_test_entry | tests_musig [] |
|
static |
Definition at line 27 of file tests_impl.h.
Definition at line 112 of file tests_impl.h.
setup
main test body
Key aggregation
Tweaking
Session creation with nonce_gen
Session creation with nonce_gen_counter
Serialize and parse public nonces
Receive nonces and aggregate
Serialize and parse aggregate nonces
Process nonces
Partial signature verification
Signature aggregation and verification
Definition at line 122 of file tests_impl.h.
Definition at line 508 of file tests_impl.h.
|
static |
Definition at line 875 of file tests_impl.h.
|
static |
Definition at line 611 of file tests_impl.h.
| int musig_vectors_keyagg_and_tweak | ( | enum MUSIG_ERROR * | error, |
| secp256k1_musig_keyagg_cache * | keyagg_cache, | ||
| unsigned char * | agg_pk_ser, | ||
| const unsigned char | pubkeys33[][33], | ||
| const unsigned char | tweaks32[][32], | ||
| size_t | key_indices_len, | ||
| const size_t * | key_indices, | ||
| size_t | tweak_indices_len, | ||
| const size_t * | tweak_indices, | ||
| const int * | is_xonly ) |
Definition at line 707 of file tests_impl.h.
|
static |
Definition at line 91 of file tests_impl.h.
|
static |
Definition at line 1144 of file tests_impl.h.