Bitcoin Core  0.20.99
P2P Digital Currency
Functions
ecdsa.h File Reference
#include <stddef.h>
#include "scalar.h"
#include "group.h"
#include "ecmult.h"
Include dependency graph for ecdsa.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static int secp256k1_ecdsa_sig_parse (secp256k1_scalar *r, secp256k1_scalar *s, const unsigned char *sig, size_t size)
 
static int secp256k1_ecdsa_sig_serialize (unsigned char *sig, size_t *size, const secp256k1_scalar *r, const secp256k1_scalar *s)
 
static int secp256k1_ecdsa_sig_verify (const secp256k1_ecmult_context *ctx, const secp256k1_scalar *r, const secp256k1_scalar *s, const secp256k1_ge *pubkey, const secp256k1_scalar *message)
 
static int secp256k1_ecdsa_sig_sign (const secp256k1_ecmult_gen_context *ctx, secp256k1_scalar *r, secp256k1_scalar *s, const secp256k1_scalar *seckey, const secp256k1_scalar *message, const secp256k1_scalar *nonce, int *recid)
 

Function Documentation

◆ secp256k1_ecdsa_sig_parse()

static int secp256k1_ecdsa_sig_parse ( secp256k1_scalar r,
secp256k1_scalar s,
const unsigned char *  sig,
size_t  size 
)
static
Here is the caller graph for this function:

◆ secp256k1_ecdsa_sig_serialize()

static int secp256k1_ecdsa_sig_serialize ( unsigned char *  sig,
size_t *  size,
const secp256k1_scalar r,
const secp256k1_scalar s 
)
static
Here is the caller graph for this function:

◆ secp256k1_ecdsa_sig_sign()

static int secp256k1_ecdsa_sig_sign ( const secp256k1_ecmult_gen_context ctx,
secp256k1_scalar r,
secp256k1_scalar s,
const secp256k1_scalar seckey,
const secp256k1_scalar message,
const secp256k1_scalar nonce,
int *  recid 
)
static
Here is the caller graph for this function:

◆ secp256k1_ecdsa_sig_verify()

static int secp256k1_ecdsa_sig_verify ( const secp256k1_ecmult_context ctx,
const secp256k1_scalar r,
const secp256k1_scalar s,
const secp256k1_ge pubkey,
const secp256k1_scalar message 
)
static
Here is the caller graph for this function: