Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

sph_simd_big_context Struct Reference

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

#include <sph_simd.h>

Public Attributes

unsigned char buf [128]
 
size_t ptr
 
sph_u32 state [32]
 
sph_u32 count_low
 
sph_u32 count_high
 

Detailed Description

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

Once an SIMD computation has been performed, the context can be reused for another computation. This specific structure is used for SIMD-384 and SIMD-512.

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

Definition at line 97 of file sph_simd.h.

Member Data Documentation

◆ buf

unsigned char sph_simd_big_context::buf[128]

Definition at line 99 of file sph_simd.h.

Referenced by compress_big(), finalize_big(), and update_big().

◆ count_high

sph_u32 sph_simd_big_context::count_high

Definition at line 102 of file sph_simd.h.

Referenced by finalize_big(), init_big(), and update_big().

◆ count_low

sph_u32 sph_simd_big_context::count_low

Definition at line 102 of file sph_simd.h.

Referenced by finalize_big(), init_big(), and update_big().

◆ ptr

size_t sph_simd_big_context::ptr

Definition at line 100 of file sph_simd.h.

Referenced by finalize_big(), init_big(), and update_big().

◆ state

sph_u32 sph_simd_big_context::state[32]

Definition at line 101 of file sph_simd.h.

Referenced by compress_big(), finalize_big(), and init_big().


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