Bitcoin Core  0.20.99
P2P Digital Currency
Classes | Functions
hash.h File Reference
#include <stdlib.h>
#include <stdint.h>
Include dependency graph for hash.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  secp256k1_sha256
 
struct  secp256k1_hmac_sha256
 
struct  secp256k1_rfc6979_hmac_sha256
 

Functions

static void secp256k1_sha256_initialize (secp256k1_sha256 *hash)
 
static void secp256k1_sha256_write (secp256k1_sha256 *hash, const unsigned char *data, size_t size)
 
static void secp256k1_sha256_finalize (secp256k1_sha256 *hash, unsigned char *out32)
 
static void secp256k1_hmac_sha256_initialize (secp256k1_hmac_sha256 *hash, const unsigned char *key, size_t size)
 
static void secp256k1_hmac_sha256_write (secp256k1_hmac_sha256 *hash, const unsigned char *data, size_t size)
 
static void secp256k1_hmac_sha256_finalize (secp256k1_hmac_sha256 *hash, unsigned char *out32)
 
static void secp256k1_rfc6979_hmac_sha256_initialize (secp256k1_rfc6979_hmac_sha256 *rng, const unsigned char *key, size_t keylen)
 
static void secp256k1_rfc6979_hmac_sha256_generate (secp256k1_rfc6979_hmac_sha256 *rng, unsigned char *out, size_t outlen)
 
static void secp256k1_rfc6979_hmac_sha256_finalize (secp256k1_rfc6979_hmac_sha256 *rng)
 

Function Documentation

◆ secp256k1_hmac_sha256_finalize()

static void secp256k1_hmac_sha256_finalize ( secp256k1_hmac_sha256 hash,
unsigned char *  out32 
)
static
Here is the caller graph for this function:

◆ secp256k1_hmac_sha256_initialize()

static void secp256k1_hmac_sha256_initialize ( secp256k1_hmac_sha256 hash,
const unsigned char *  key,
size_t  size 
)
static
Here is the caller graph for this function:

◆ secp256k1_hmac_sha256_write()

static void secp256k1_hmac_sha256_write ( secp256k1_hmac_sha256 hash,
const unsigned char *  data,
size_t  size 
)
static
Here is the caller graph for this function:

◆ secp256k1_rfc6979_hmac_sha256_finalize()

static void secp256k1_rfc6979_hmac_sha256_finalize ( secp256k1_rfc6979_hmac_sha256 rng)
static
Here is the caller graph for this function:

◆ secp256k1_rfc6979_hmac_sha256_generate()

static void secp256k1_rfc6979_hmac_sha256_generate ( secp256k1_rfc6979_hmac_sha256 rng,
unsigned char *  out,
size_t  outlen 
)
static
Here is the caller graph for this function:

◆ secp256k1_rfc6979_hmac_sha256_initialize()

static void secp256k1_rfc6979_hmac_sha256_initialize ( secp256k1_rfc6979_hmac_sha256 rng,
const unsigned char *  key,
size_t  keylen 
)
static
Here is the caller graph for this function:

◆ secp256k1_sha256_finalize()

static void secp256k1_sha256_finalize ( secp256k1_sha256 hash,
unsigned char *  out32 
)
static
Here is the caller graph for this function:

◆ secp256k1_sha256_initialize()

static void secp256k1_sha256_initialize ( secp256k1_sha256 hash)
static
Here is the caller graph for this function:

◆ secp256k1_sha256_write()

static void secp256k1_sha256_write ( secp256k1_sha256 hash,
const unsigned char *  data,
size_t  size 
)
static
Here is the caller graph for this function: