Bitcoin ABC  0.24.7
P2P Digital Currency
Functions
schnorr.h File Reference
#include "scalar.h"
#include "group.h"
Include dependency graph for schnorr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static int secp256k1_schnorr_sig_verify (const secp256k1_ecmult_context *ctx, const unsigned char *sig64, secp256k1_ge *pubkey, const unsigned char *msg32)
 
static int secp256k1_schnorr_compute_e (secp256k1_scalar *res, const unsigned char *r, secp256k1_ge *pubkey, const unsigned char *msg32)
 
static int secp256k1_schnorr_sig_sign (const secp256k1_context *ctx, unsigned char *sig64, const unsigned char *msg32, const secp256k1_scalar *privkey, secp256k1_ge *pubkey, secp256k1_nonce_function noncefp, const void *ndata)
 
static int secp256k1_schnorr_sig_generate_k (const secp256k1_context *ctx, secp256k1_scalar *k, const unsigned char *msg32, const secp256k1_scalar *privkey, secp256k1_nonce_function noncefp, const void *ndata)
 

Function Documentation

◆ secp256k1_schnorr_compute_e()

static int secp256k1_schnorr_compute_e ( secp256k1_scalar res,
const unsigned char *  r,
secp256k1_ge pubkey,
const unsigned char *  msg32 
)
static

◆ secp256k1_schnorr_sig_generate_k()

static int secp256k1_schnorr_sig_generate_k ( const secp256k1_context ctx,
secp256k1_scalar k,
const unsigned char *  msg32,
const secp256k1_scalar privkey,
secp256k1_nonce_function  noncefp,
const void *  ndata 
)
static

◆ secp256k1_schnorr_sig_sign()

static int secp256k1_schnorr_sig_sign ( const secp256k1_context ctx,
unsigned char *  sig64,
const unsigned char *  msg32,
const secp256k1_scalar privkey,
secp256k1_ge pubkey,
secp256k1_nonce_function  noncefp,
const void *  ndata 
)
static
Here is the caller graph for this function:

◆ secp256k1_schnorr_sig_verify()

static int secp256k1_schnorr_sig_verify ( const secp256k1_ecmult_context ctx,
const unsigned char *  sig64,
secp256k1_ge pubkey,
const unsigned char *  msg32 
)
static
Here is the caller graph for this function: