Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

sph_blake_small_context Struct Reference

This structure is a context for BLAKE-224 and BLAKE-256 computations: it contains the intermediate values and some data from the last entered block. More...

#include <sph_blake.h>

Public Attributes

unsigned char buf [64]
 
size_t ptr
 
sph_u32 H [8]
 
sph_u32 S [4]
 
sph_u32 T0
 
sph_u32 T1
 

Detailed Description

This structure is a context for BLAKE-224 and BLAKE-256 computations: it contains the intermediate values and some data from the last entered block.

Once a BLAKE computation has been performed, the context can be reused for another computation.

The contents of this structure are private. A running BLAKE computation can be cloned by copying the context (e.g. with a simple memcpy()).

Definition at line 81 of file sph_blake.h.

Member Data Documentation

◆ buf

unsigned char sph_blake_small_context::buf[64]

Definition at line 83 of file sph_blake.h.

Referenced by blake32(), and blake32_close().

◆ H

sph_u32 sph_blake_small_context::H[8]

Definition at line 85 of file sph_blake.h.

Referenced by blake32_close(), and blake32_init().

◆ ptr

size_t sph_blake_small_context::ptr

Definition at line 84 of file sph_blake.h.

Referenced by blake32(), blake32_close(), and blake32_init().

◆ S

sph_u32 sph_blake_small_context::S[4]

Definition at line 86 of file sph_blake.h.

Referenced by blake32_init().

◆ T0

sph_u32 sph_blake_small_context::T0

Definition at line 87 of file sph_blake.h.

Referenced by blake32_close(), and blake32_init().

◆ T1

sph_u32 sph_blake_small_context::T1

Definition at line 87 of file sph_blake.h.

Referenced by blake32_close(), and blake32_init().


The documentation for this struct was generated from the following file:
Released under the MIT license