Raven Core  3.0.0
P2P Digital Currency
Public Attributes | List of all members
sph_cubehash_context Struct Reference

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

#include <sph_cubehash.h>

Public Attributes

unsigned char buf [32]
 
size_t ptr
 
sph_u32 state [32]
 

Detailed Description

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

Once a CubeHash computation has been performed, the context can be reused for another computation.

The contents of this structure are private. A running CubeHash computation can be cloned by copying the context (e.g. with a simple memcpy()).

Definition at line 77 of file sph_cubehash.h.

Member Data Documentation

◆ buf

unsigned char sph_cubehash_context::buf[32]

Definition at line 79 of file sph_cubehash.h.

◆ ptr

size_t sph_cubehash_context::ptr

Definition at line 80 of file sph_cubehash.h.

◆ state

sph_u32 sph_cubehash_context::state[32]

Definition at line 81 of file sph_cubehash.h.


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