Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

sph_keccak_context Struct Reference

This structure is a context for Keccak computations: it contains the intermediate values and some data from the last entered block. More...

#include <sph_keccak.h>

Public Attributes

unsigned char buf [144]
 
size_t ptr
 
size_t lim
 
union {
   sph_u32   narrow [50]
 
u
 

Detailed Description

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.

Member Data Documentation

◆ buf

unsigned char sph_keccak_context::buf[144]

Definition at line 78 of file sph_keccak.h.

Referenced by keccak_core().

◆ lim

size_t sph_keccak_context::lim

Definition at line 79 of file sph_keccak.h.

Referenced by keccak_init().

◆ narrow

sph_u32 sph_keccak_context::narrow[50]

Definition at line 84 of file sph_keccak.h.

Referenced by keccak_init().

◆ ptr

size_t sph_keccak_context::ptr

Definition at line 79 of file sph_keccak.h.

Referenced by keccak_core(), and keccak_init().

◆ u

union { ... } sph_keccak_context::u

Referenced by keccak_init().


The documentation for this struct was generated from the following file:
Released under the MIT license