Raven Core
3.0.0
P2P Digital Currency
|
This structure is a context for Shabal computations: it contains the intermediate values and some data from the last entered block. More...
#include <sph_shabal.h>
Public Attributes | |
unsigned char | buf [64] |
size_t | ptr |
sph_u32 | A [12] |
sph_u32 | B [16] |
sph_u32 | C [16] |
sph_u32 | Whigh |
sph_u32 | Wlow |
This structure is a context for Shabal computations: it contains the intermediate values and some data from the last entered block.
Once a Shabal computation has been performed, the context can be reused for another computation.
The contents of this structure are private. A running Shabal computation can be cloned by copying the context (e.g. with a simple memcpy()
).
Definition at line 80 of file sph_shabal.h.
sph_u32 sph_shabal_context::A[12] |
Definition at line 84 of file sph_shabal.h.
sph_u32 sph_shabal_context::B[16] |
Definition at line 84 of file sph_shabal.h.
unsigned char sph_shabal_context::buf[64] |
Definition at line 82 of file sph_shabal.h.
sph_u32 sph_shabal_context::C[16] |
Definition at line 84 of file sph_shabal.h.
size_t sph_shabal_context::ptr |
Definition at line 83 of file sph_shabal.h.
sph_u32 sph_shabal_context::Whigh |
Definition at line 85 of file sph_shabal.h.
sph_u32 sph_shabal_context::Wlow |
Definition at line 85 of file sph_shabal.h.