Bitcoin Core  0.20.99
P2P Digital Currency
Functions
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
Here is the caller graph for this function:

◆ secp256k1_eckey_privkey_tweak_mul()

static int secp256k1_eckey_privkey_tweak_mul ( secp256k1_scalar key,
const secp256k1_scalar tweak 
)
static
Here is the caller graph for this function:

◆ secp256k1_eckey_pubkey_parse()

static int secp256k1_eckey_pubkey_parse ( secp256k1_ge elem,
const unsigned char *  pub,
size_t  size 
)
static
Here is the caller graph for this function:

◆ secp256k1_eckey_pubkey_serialize()

static int secp256k1_eckey_pubkey_serialize ( secp256k1_ge elem,
unsigned char *  pub,
size_t *  size,
int  compressed 
)
static
Here is the caller graph for this function:

◆ 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
Here is the caller graph for this function:

◆ 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
Here is the caller graph for this function: