Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

sph_groestl_big_context Struct Reference

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

#include <sph_groestl.h>

Public Attributes

unsigned char buf [128]
 
size_t ptr
 
union {
   sph_u32   narrow [32]
 
state
 
sph_u32 count_high
 
sph_u32 count_low
 

Detailed Description

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

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

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

Definition at line 115 of file sph_groestl.h.

Member Data Documentation

◆ buf

unsigned char sph_groestl_big_context::buf[128]

Definition at line 117 of file sph_groestl.h.

Referenced by groestl_big_close(), and groestl_big_core().

◆ count_high

sph_u32 sph_groestl_big_context::count_high

Definition at line 128 of file sph_groestl.h.

Referenced by groestl_big_close(), groestl_big_core(), and groestl_big_init().

◆ count_low

sph_u32 sph_groestl_big_context::count_low

Definition at line 128 of file sph_groestl.h.

Referenced by groestl_big_close(), groestl_big_core(), and groestl_big_init().

◆ narrow

sph_u32 sph_groestl_big_context::narrow[32]

Definition at line 123 of file sph_groestl.h.

Referenced by groestl_big_init().

◆ ptr

size_t sph_groestl_big_context::ptr

Definition at line 118 of file sph_groestl.h.

Referenced by groestl_big_close(), groestl_big_core(), and groestl_big_init().

◆ state

union { ... } sph_groestl_big_context::state

Referenced by groestl_big_init().


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