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

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

#include <sph_jh.h>

Public Attributes

unsigned char buf [64]
 
size_t ptr
 
union {
   sph_u32   narrow [32]
 
H
 
sph_u32 block_count_high
 
sph_u32 block_count_low
 

Detailed Description

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

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

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

Definition at line 76 of file sph_jh.h.

Member Data Documentation

◆ block_count_high

sph_u32 sph_jh_context::block_count_high

Definition at line 89 of file sph_jh.h.

◆ block_count_low

sph_u32 sph_jh_context::block_count_low

Definition at line 89 of file sph_jh.h.

◆ buf

unsigned char sph_jh_context::buf[64]

Definition at line 78 of file sph_jh.h.

◆ H

union { ... } sph_jh_context::H

◆ narrow

sph_u32 sph_jh_context::narrow[32]

Definition at line 84 of file sph_jh.h.

◆ ptr

size_t sph_jh_context::ptr

Definition at line 79 of file sph_jh.h.


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