Raven Core
3.0.0
P2P Digital Currency
|
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 |
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.
unsigned char sph_groestl_small_context::buf[64] |
Definition at line 77 of file sph_groestl.h.
sph_u32 sph_groestl_small_context::count_high |
Definition at line 88 of file sph_groestl.h.
sph_u32 sph_groestl_small_context::count_low |
Definition at line 88 of file sph_groestl.h.
sph_u32 sph_groestl_small_context::narrow[16] |
Definition at line 83 of file sph_groestl.h.
size_t sph_groestl_small_context::ptr |
Definition at line 78 of file sph_groestl.h.
union { ... } sph_groestl_small_context::state |