Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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_sha256_clear (secp256k1_sha256 *hash)
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_hmac_sha256_clear (secp256k1_hmac_sha256 *hash)
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)
static void secp256k1_rfc6979_hmac_sha256_clear (secp256k1_rfc6979_hmac_sha256 *rng)

Function Documentation

◆ secp256k1_hmac_sha256_clear()

void secp256k1_hmac_sha256_clear ( secp256k1_hmac_sha256 * hash)
static

◆ secp256k1_hmac_sha256_finalize()

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

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

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

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

◆ secp256k1_rfc6979_hmac_sha256_finalize()

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

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

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

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

◆ secp256k1_sha256_finalize()

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

◆ secp256k1_sha256_initialize()

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

◆ secp256k1_sha256_write()

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