![]() |
Raven Core
3.0.0
P2P Digital Currency
|
This structure is a context for JH computations: it contains the intermediate values and some data from the last entered block. More...
#include <sph_jh.h>
Public Attributes | |
| unsigned char | buf [64] |
| size_t | ptr |
| union { | |
| sph_u32 narrow [32] | |
| } | H |
| sph_u32 | block_count_high |
| sph_u32 | block_count_low |
This structure is a context for JH computations: it contains the intermediate values and some data from the last entered block.
Once a JH computation has been performed, the context can be reused for another computation.
The contents of this structure are private. A running JH computation can be cloned by copying the context (e.g. with a simple memcpy()).
| union { ... } sph_jh_context::H |
1.8.13