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

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

#include <sph_hamsi.h>

Public Attributes

unsigned char partial [8]
 
size_t partial_len
 
sph_u32 h [16]
 
sph_u32 count_high
 
sph_u32 count_low
 

Detailed Description

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

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

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

Definition at line 110 of file sph_hamsi.h.

Member Data Documentation

◆ count_high

sph_u32 sph_hamsi_big_context::count_high

Definition at line 118 of file sph_hamsi.h.

◆ count_low

sph_u32 sph_hamsi_big_context::count_low

Definition at line 118 of file sph_hamsi.h.

◆ h

sph_u32 sph_hamsi_big_context::h[16]

Definition at line 114 of file sph_hamsi.h.

◆ partial

unsigned char sph_hamsi_big_context::partial[8]

Definition at line 112 of file sph_hamsi.h.

◆ partial_len

size_t sph_hamsi_big_context::partial_len

Definition at line 113 of file sph_hamsi.h.


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