Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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

◆ 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

◆ 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

◆ 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
Released under the MIT license