Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

sph_groestl_small_context Struct Reference

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

#include <sph_groestl.h>

Public Attributes

unsigned char buf [64]
 
size_t ptr
 
union {
   sph_u32   narrow [16]
 
state
 
sph_u32 count_high
 
sph_u32 count_low
 

Detailed Description

This structure is a context for Groestl-224 and Groestl-256 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 75 of file sph_groestl.h.

Member Data Documentation

◆ buf

unsigned char sph_groestl_small_context::buf[64]

Definition at line 77 of file sph_groestl.h.

Referenced by groestl_small_close(), and groestl_small_core().

◆ count_high

sph_u32 sph_groestl_small_context::count_high

Definition at line 88 of file sph_groestl.h.

Referenced by groestl_small_close(), groestl_small_core(), and groestl_small_init().

◆ count_low

sph_u32 sph_groestl_small_context::count_low

Definition at line 88 of file sph_groestl.h.

Referenced by groestl_small_close(), groestl_small_core(), and groestl_small_init().

◆ narrow

sph_u32 sph_groestl_small_context::narrow[16]

Definition at line 83 of file sph_groestl.h.

Referenced by groestl_small_init().

◆ ptr

size_t sph_groestl_small_context::ptr

Definition at line 78 of file sph_groestl.h.

Referenced by groestl_small_close(), groestl_small_core(), and groestl_small_init().

◆ state

union { ... } sph_groestl_small_context::state

Referenced by groestl_small_init().


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