Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/src/modules/schnorr/schnorr.h
Show All 21 Lines | static int secp256k1_schnorr_compute_e( | ||||
const unsigned char *r, | const unsigned char *r, | ||||
secp256k1_ge *pubkey, | secp256k1_ge *pubkey, | ||||
const unsigned char *msg32 | const unsigned char *msg32 | ||||
); | ); | ||||
static int secp256k1_schnorr_sig_sign( | static int secp256k1_schnorr_sig_sign( | ||||
const secp256k1_ecmult_gen_context* ctx, | const secp256k1_ecmult_gen_context* ctx, | ||||
unsigned char *sig64, | unsigned char *sig64, | ||||
const unsigned char *msg32, | |||||
const secp256k1_scalar *privkey, | const secp256k1_scalar *privkey, | ||||
secp256k1_ge *pubkey, | secp256k1_ge *pubkey, | ||||
const secp256k1_scalar *nonce, | secp256k1_nonce_function noncefp, | ||||
const unsigned char *msg32 | const void *ndata | ||||
); | |||||
static int secp256k1_schnorr_compute_k_R( | |||||
const secp256k1_ecmult_gen_context* ctx, | |||||
secp256k1_scalar *k, | |||||
secp256k1_ge *R, | |||||
const unsigned char *msg32, | |||||
const secp256k1_scalar *privkey, | |||||
secp256k1_nonce_function noncefp, | |||||
const void *ndata | |||||
); | |||||
static int secp256k1_schnorr_compute_sig( | |||||
unsigned char *sig64, | |||||
const unsigned char *msg32, | |||||
secp256k1_scalar *k, | |||||
secp256k1_ge *R, | |||||
const secp256k1_scalar *privkey, | |||||
secp256k1_ge *pubkey | |||||
); | ); | ||||
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 unsigned char *seckey, | const secp256k1_scalar *privkey, | ||||
secp256k1_nonce_function noncefp, | secp256k1_nonce_function noncefp, | ||||
const void *ndata | const void *ndata | ||||
); | ); | ||||
#endif | #endif |