Raven Core  3.0.0
P2P Digital Currency
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Attributes | List of all members
sph_shavite_big_context Struct Reference

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

#include <sph_shavite.h>

Public Attributes

unsigned char buf [128]
 
size_t ptr
 
sph_u32 h [16]
 
sph_u32 count0
 
sph_u32 count1
 
sph_u32 count2
 
sph_u32 count3
 

Detailed Description

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

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

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

Definition at line 109 of file sph_shavite.h.

Member Data Documentation

◆ buf

unsigned char sph_shavite_big_context::buf[128]

Definition at line 111 of file sph_shavite.h.

◆ count0

sph_u32 sph_shavite_big_context::count0

Definition at line 114 of file sph_shavite.h.

◆ count1

sph_u32 sph_shavite_big_context::count1

Definition at line 114 of file sph_shavite.h.

◆ count2

sph_u32 sph_shavite_big_context::count2

Definition at line 114 of file sph_shavite.h.

◆ count3

sph_u32 sph_shavite_big_context::count3

Definition at line 114 of file sph_shavite.h.

◆ h

sph_u32 sph_shavite_big_context::h[16]

Definition at line 113 of file sph_shavite.h.

◆ ptr

size_t sph_shavite_big_context::ptr

Definition at line 112 of file sph_shavite.h.


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