Raven Core  3.0.0
P2P Digital Currency
Public Attributes | List of all members
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.

◆ lim

size_t sph_keccak_context::lim

Definition at line 79 of file sph_keccak.h.

◆ narrow

sph_u32 sph_keccak_context::narrow[50]

Definition at line 84 of file sph_keccak.h.

◆ ptr

size_t sph_keccak_context::ptr

Definition at line 79 of file sph_keccak.h.

◆ u

union { ... } sph_keccak_context::u

The documentation for this struct was generated from the following file: