Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

sph_cubehash_context Struct Reference

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

#include <sph_cubehash.h>

Public Attributes

unsigned char buf [32]
 
size_t ptr
 
sph_u32 state [32]
 

Detailed Description

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

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

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

Definition at line 77 of file sph_cubehash.h.

Member Data Documentation

◆ buf

unsigned char sph_cubehash_context::buf[32]

Definition at line 79 of file sph_cubehash.h.

Referenced by cubehash_close(), and cubehash_core().

◆ ptr

size_t sph_cubehash_context::ptr

Definition at line 80 of file sph_cubehash.h.

Referenced by cubehash_close(), cubehash_core(), and cubehash_init().

◆ state

sph_u32 sph_cubehash_context::state[32]

Definition at line 81 of file sph_cubehash.h.

Referenced by cubehash_close(), and cubehash_init().


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