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

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

#include <sph_groestl.h>

Public Attributes

unsigned char buf [128]
 
size_t ptr
 
union {
   sph_u32   narrow [32]
 
state
 
sph_u32 count_high
 
sph_u32 count_low
 

Detailed Description

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

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

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

Definition at line 115 of file sph_groestl.h.

Member Data Documentation

◆ buf

unsigned char sph_groestl_big_context::buf[128]

Definition at line 117 of file sph_groestl.h.

◆ count_high

sph_u32 sph_groestl_big_context::count_high

Definition at line 128 of file sph_groestl.h.

◆ count_low

sph_u32 sph_groestl_big_context::count_low

Definition at line 128 of file sph_groestl.h.

◆ narrow

sph_u32 sph_groestl_big_context::narrow[32]

Definition at line 123 of file sph_groestl.h.

◆ ptr

size_t sph_groestl_big_context::ptr

Definition at line 118 of file sph_groestl.h.

◆ state

union { ... } sph_groestl_big_context::state

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