Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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.

Referenced by jh_close(), jh_core(), and jh_init().

◆ block_count_low

sph_u32 sph_jh_context::block_count_low

Definition at line 89 of file sph_jh.h.

Referenced by jh_close(), jh_core(), and jh_init().

◆ buf

unsigned char sph_jh_context::buf[64]

Definition at line 78 of file sph_jh.h.

Referenced by jh_core().

◆ H

union { ... } sph_jh_context::H

Referenced by jh_close(), and jh_init().

◆ narrow

sph_u32 sph_jh_context::narrow[32]

Definition at line 84 of file sph_jh.h.

Referenced by jh_close(), and jh_init().

◆ ptr

size_t sph_jh_context::ptr

Definition at line 79 of file sph_jh.h.

Referenced by jh_close(), jh_core(), and jh_init().


The documentation for this struct was generated from the following file:
Released under the MIT license