![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <sph_keccak.h>
Public Attributes | |
unsigned char | buf [144] |
size_t | ptr |
size_t | lim |
union { | |
sph_u32 narrow [50] | |
} | u |
This structure is a context for Keccak computations: it contains the intermediate values and some data from the last entered block. Once a Keccak computation has been performed, the context can be reused for another computation.
The contents of this structure are private. A running Keccak computation can be cloned by copying the context (e.g. with a simple memcpy()
).
Definition at line 76 of file sph_keccak.h.
unsigned char sph_keccak_context::buf[144] |
Definition at line 78 of file sph_keccak.h.
Referenced by keccak_core().
size_t sph_keccak_context::lim |
Definition at line 79 of file sph_keccak.h.
Referenced by keccak_init().
sph_u32 sph_keccak_context::narrow[50] |
Definition at line 84 of file sph_keccak.h.
Referenced by keccak_init().
size_t sph_keccak_context::ptr |
Definition at line 79 of file sph_keccak.h.
Referenced by keccak_core(), and keccak_init().
union { ... } sph_keccak_context::u |
Referenced by keccak_init().