Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

eckey.h File Reference
#include <stddef.h>
#include "group.h"
#include "scalar.h"
#include "ecmult.h"
#include "ecmult_gen.h"
+ Include dependency graph for eckey.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static int secp256k1_eckey_pubkey_parse (secp256k1_ge *elem, const unsigned char *pub, size_t size)
 
static int secp256k1_eckey_pubkey_serialize (secp256k1_ge *elem, unsigned char *pub, size_t *size, int compressed)
 
static int secp256k1_eckey_privkey_tweak_add (secp256k1_scalar *key, const secp256k1_scalar *tweak)
 
static int secp256k1_eckey_pubkey_tweak_add (const secp256k1_ecmult_context *ctx, secp256k1_ge *key, const secp256k1_scalar *tweak)
 
static int secp256k1_eckey_privkey_tweak_mul (secp256k1_scalar *key, const secp256k1_scalar *tweak)
 
static int secp256k1_eckey_pubkey_tweak_mul (const secp256k1_ecmult_context *ctx, secp256k1_ge *key, const secp256k1_scalar *tweak)
 

Function Documentation

◆ secp256k1_eckey_privkey_tweak_add()

static int secp256k1_eckey_privkey_tweak_add ( secp256k1_scalar key,
const secp256k1_scalar tweak 
)
static

◆ secp256k1_eckey_privkey_tweak_mul()

static int secp256k1_eckey_privkey_tweak_mul ( secp256k1_scalar key,
const secp256k1_scalar tweak 
)
static

◆ secp256k1_eckey_pubkey_parse()

static int secp256k1_eckey_pubkey_parse ( secp256k1_ge elem,
const unsigned char *  pub,
size_t  size 
)
static

◆ secp256k1_eckey_pubkey_serialize()

static int secp256k1_eckey_pubkey_serialize ( secp256k1_ge elem,
unsigned char *  pub,
size_t *  size,
int  compressed 
)
static

◆ secp256k1_eckey_pubkey_tweak_add()

static int secp256k1_eckey_pubkey_tweak_add ( const secp256k1_ecmult_context ctx,
secp256k1_ge key,
const secp256k1_scalar tweak 
)
static

◆ secp256k1_eckey_pubkey_tweak_mul()

static int secp256k1_eckey_pubkey_tweak_mul ( const secp256k1_ecmult_context ctx,
secp256k1_ge key,
const secp256k1_scalar tweak 
)
static
Released under the MIT license