Bitcoin Core 30.99.0
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 void secp256k1_eckey_pubkey_serialize33 (secp256k1_ge *elem, unsigned char *pub33)
 Serialize a group element (that is not allowed to be infinity) to a compressed public key (33 bytes). More...
 
static void secp256k1_eckey_pubkey_serialize65 (secp256k1_ge *elem, unsigned char *pub65)
 Serialize a group element (that is not allowed to be infinity) to an uncompressed public key (65 bytes). More...
 
static int secp256k1_eckey_privkey_tweak_add (secp256k1_scalar *key, const secp256k1_scalar *tweak)
 
static int secp256k1_eckey_pubkey_tweak_add (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 (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_serialize33()

static void secp256k1_eckey_pubkey_serialize33 ( secp256k1_ge elem,
unsigned char *  pub33 
)
static

Serialize a group element (that is not allowed to be infinity) to a compressed public key (33 bytes).

Here is the caller graph for this function:

◆ secp256k1_eckey_pubkey_serialize65()

static void secp256k1_eckey_pubkey_serialize65 ( secp256k1_ge elem,
unsigned char *  pub65 
)
static

Serialize a group element (that is not allowed to be infinity) to an uncompressed public key (65 bytes).

Here is the caller graph for this function:

◆ secp256k1_eckey_pubkey_tweak_add()

static int secp256k1_eckey_pubkey_tweak_add ( 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 ( secp256k1_ge key,
const secp256k1_scalar tweak 
)
static
Here is the caller graph for this function: