Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
This structure is a context for ECHO computations: it contains the intermediate values and some data from the last entered block. More...
#include <sph_echo.h>
Public Attributes | |
unsigned char | buf [192] |
size_t | ptr |
union { | |
sph_u32 Vs [4][4] | |
} | u |
sph_u32 | C0 |
sph_u32 | C1 |
sph_u32 | C2 |
sph_u32 | C3 |
Detailed Description
This structure is a context for ECHO computations: it contains the intermediate values and some data from the last entered block.
Once an ECHO computation has been performed, the context can be reused for another computation. This specific structure is used for ECHO-224 and ECHO-256.
The contents of this structure are private. A running ECHO computation can be cloned by copying the context (e.g. with a simple memcpy()
).
Definition at line 77 of file sph_echo.h.
Member Data Documentation
◆ buf
unsigned char sph_echo_small_context::buf[192] |
Definition at line 79 of file sph_echo.h.
Referenced by echo_small_close(), and echo_small_core().
◆ C0
sph_u32 sph_echo_small_context::C0 |
Definition at line 87 of file sph_echo.h.
Referenced by echo_small_close(), and echo_small_init().
◆ C1
sph_u32 sph_echo_small_context::C1 |
Definition at line 87 of file sph_echo.h.
Referenced by echo_small_close(), and echo_small_init().
◆ C2
sph_u32 sph_echo_small_context::C2 |
Definition at line 87 of file sph_echo.h.
Referenced by echo_small_close(), and echo_small_init().
◆ C3
sph_u32 sph_echo_small_context::C3 |
Definition at line 87 of file sph_echo.h.
Referenced by echo_small_close(), and echo_small_init().
◆ ptr
size_t sph_echo_small_context::ptr |
Definition at line 80 of file sph_echo.h.
Referenced by echo_small_close(), echo_small_core(), and echo_small_init().
◆ u
union { ... } sph_echo_small_context::u |
Referenced by echo_small_close(), and echo_small_init().
◆ Vs
sph_u32 sph_echo_small_context::Vs[4][4] |
Definition at line 82 of file sph_echo.h.
Referenced by echo_small_close(), and echo_small_init().
The documentation for this struct was generated from the following file:
- src/crypto/sph_echo.h