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

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

#include <sph_shabal.h>

Public Attributes

unsigned char buf [64]
 
size_t ptr
 
sph_u32 A [12]
 
sph_u32 B [16]
 
sph_u32 C [16]
 
sph_u32 Whigh
 
sph_u32 Wlow
 

Detailed Description

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

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

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

Definition at line 80 of file sph_shabal.h.

Member Data Documentation

◆ A

sph_u32 sph_shabal_context::A[12]

Definition at line 84 of file sph_shabal.h.

◆ B

sph_u32 sph_shabal_context::B[16]

Definition at line 84 of file sph_shabal.h.

◆ buf

unsigned char sph_shabal_context::buf[64]

Definition at line 82 of file sph_shabal.h.

◆ C

sph_u32 sph_shabal_context::C[16]

Definition at line 84 of file sph_shabal.h.

◆ ptr

size_t sph_shabal_context::ptr

Definition at line 83 of file sph_shabal.h.

◆ Whigh

sph_u32 sph_shabal_context::Whigh

Definition at line 85 of file sph_shabal.h.

◆ Wlow

sph_u32 sph_shabal_context::Wlow

Definition at line 85 of file sph_shabal.h.


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