Raven Core
3.0.0
P2P Digital Currency
|
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 |
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.
unsigned char sph_groestl_big_context::buf[128] |
Definition at line 117 of file sph_groestl.h.
sph_u32 sph_groestl_big_context::count_high |
Definition at line 128 of file sph_groestl.h.
sph_u32 sph_groestl_big_context::count_low |
Definition at line 128 of file sph_groestl.h.
sph_u32 sph_groestl_big_context::narrow[32] |
Definition at line 123 of file sph_groestl.h.
size_t sph_groestl_big_context::ptr |
Definition at line 118 of file sph_groestl.h.
union { ... } sph_groestl_big_context::state |