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

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

◆ secp256k1_eckey_privkey_tweak_mul()

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

◆ secp256k1_eckey_pubkey_parse()

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

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

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

int secp256k1_eckey_pubkey_tweak_add ( secp256k1_ge * key,
const secp256k1_scalar * tweak )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ secp256k1_eckey_pubkey_tweak_mul()

int secp256k1_eckey_pubkey_tweak_mul ( secp256k1_ge * key,
const secp256k1_scalar * tweak )
static
Here is the call graph for this function:
Here is the caller graph for this function: