![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <sph_shavite.h>
Public Attributes | |
unsigned char | buf [64] |
size_t | ptr |
sph_u32 | h [8] |
sph_u32 | count0 |
sph_u32 | count1 |
This structure is a context for SHAvite-224 and SHAvite-256 computations: it contains the intermediate values and some data from the last entered block. Once a SHAvite computation has been performed, the context can be reused for another computation.
The contents of this structure are private. A running SHAvite computation can be cloned by copying the context (e.g. with a simple memcpy()
).
Definition at line 78 of file sph_shavite.h.
unsigned char sph_shavite_small_context::buf[64] |
Definition at line 80 of file sph_shavite.h.
Referenced by shavite_small_close(), and shavite_small_core().
sph_u32 sph_shavite_small_context::count0 |
Definition at line 83 of file sph_shavite.h.
Referenced by c256(), shavite_small_close(), shavite_small_core(), and shavite_small_init().
sph_u32 sph_shavite_small_context::count1 |
Definition at line 83 of file sph_shavite.h.
Referenced by c256(), shavite_small_close(), shavite_small_core(), and shavite_small_init().
sph_u32 sph_shavite_small_context::h[8] |
Definition at line 82 of file sph_shavite.h.
Referenced by c256(), shavite_small_close(), and shavite_small_init().
size_t sph_shavite_small_context::ptr |
Definition at line 81 of file sph_shavite.h.
Referenced by shavite_small_close(), shavite_small_core(), and shavite_small_init().