Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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_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()

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()

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()

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()

int secp256k1_ecdsa_sig_verify ( 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: