Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

sph_simd_small_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 [64]
 
size_t ptr
 
sph_u32 state [16]
 
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-224 and SIMD-256.

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 77 of file sph_simd.h.

Member Data Documentation

◆ buf

unsigned char sph_simd_small_context::buf[64]

Definition at line 79 of file sph_simd.h.

Referenced by compress_small(), finalize_small(), and update_small().

◆ count_high

sph_u32 sph_simd_small_context::count_high

Definition at line 82 of file sph_simd.h.

Referenced by finalize_small(), init_small(), and update_small().

◆ count_low

sph_u32 sph_simd_small_context::count_low

Definition at line 82 of file sph_simd.h.

Referenced by finalize_small(), init_small(), and update_small().

◆ ptr

size_t sph_simd_small_context::ptr

Definition at line 80 of file sph_simd.h.

Referenced by finalize_small(), init_small(), and update_small().

◆ state

sph_u32 sph_simd_small_context::state[16]

Definition at line 81 of file sph_simd.h.

Referenced by compress_small(), finalize_small(), and init_small().


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