Raven Core
3.0.0
P2P Digital Currency
|
This structure is a context for Hamsi-384 and Hamsi-512 computations: it contains the intermediate values and some data from the last entered block. More...
#include <sph_hamsi.h>
Public Attributes | |
unsigned char | partial [8] |
size_t | partial_len |
sph_u32 | h [16] |
sph_u32 | count_high |
sph_u32 | count_low |
This structure is a context for Hamsi-384 and Hamsi-512 computations: it contains the intermediate values and some data from the last entered block.
Once a Hamsi computation has been performed, the context can be reused for another computation.
The contents of this structure are private. A running Hamsi computation can be cloned by copying the context (e.g. with a simple memcpy()
).
Definition at line 110 of file sph_hamsi.h.
sph_u32 sph_hamsi_big_context::count_high |
Definition at line 118 of file sph_hamsi.h.
sph_u32 sph_hamsi_big_context::count_low |
Definition at line 118 of file sph_hamsi.h.
sph_u32 sph_hamsi_big_context::h[16] |
Definition at line 114 of file sph_hamsi.h.
unsigned char sph_hamsi_big_context::partial[8] |
Definition at line 112 of file sph_hamsi.h.
size_t sph_hamsi_big_context::partial_len |
Definition at line 113 of file sph_hamsi.h.