Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/src/modules/schnorr/schnorr.h
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | |||||
static int secp256k1_schnorr_sig_generate_k( | static int secp256k1_schnorr_sig_generate_k( | ||||
secp256k1_scalar *k, | secp256k1_scalar *k, | ||||
const unsigned char *msg32, | const unsigned char *msg32, | ||||
const secp256k1_scalar *privkey, | const secp256k1_scalar *privkey, | ||||
secp256k1_nonce_function noncefp, | secp256k1_nonce_function noncefp, | ||||
const void *ndata | const void *ndata | ||||
); | ); | ||||
static int secp256k1_schnorr_multisig_compute_c( | |||||
const secp256k1_context *ctx, | |||||
unsigned char C[32], | |||||
const secp256k1_pubkey *pubkeys, | |||||
const size_t nkeys | |||||
); | |||||
static int secp256k1_schnorr_multisig_compute_pubkey( | |||||
secp256k1_ge *partial_pubkey, | |||||
const unsigned char *C, | |||||
secp256k1_ge *pubkey | |||||
); | |||||
static int secp256k1_schnorr_multisig_compute_privkey( | |||||
secp256k1_scalar *partial_privkey, | |||||
const unsigned char *C, | |||||
const secp256k1_scalar *privkey, | |||||
secp256k1_ge *pubkey | |||||
); | |||||
static int secp256k1_schnorr_multisig_combine_keys( | |||||
const secp256k1_context *ctx, | |||||
secp256k1_ge *combined_pubkey, | |||||
const unsigned char *C, | |||||
const secp256k1_pubkey *pubkeys, | |||||
const size_t nkeys | |||||
); | |||||
#endif | #endif |