Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

sph_bmw_small_context Struct Reference

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

#include <sph_bmw.h>

Public Attributes

unsigned char buf [64]
 
size_t ptr
 
sph_u32 H [16]
 
sph_u32 bit_count_high
 
sph_u32 bit_count_low
 

Detailed Description

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

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

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

Definition at line 80 of file sph_bmw.h.

Member Data Documentation

◆ bit_count_high

sph_u32 sph_bmw_small_context::bit_count_high

Definition at line 88 of file sph_bmw.h.

Referenced by bmw32(), bmw32_close(), and bmw32_init().

◆ bit_count_low

sph_u32 sph_bmw_small_context::bit_count_low

Definition at line 88 of file sph_bmw.h.

Referenced by bmw32(), bmw32_close(), and bmw32_init().

◆ buf

unsigned char sph_bmw_small_context::buf[64]

Definition at line 82 of file sph_bmw.h.

Referenced by bmw32(), and bmw32_close().

◆ H

sph_u32 sph_bmw_small_context::H[16]

Definition at line 84 of file sph_bmw.h.

Referenced by bmw32(), bmw32_close(), and bmw32_init().

◆ ptr

size_t sph_bmw_small_context::ptr

Definition at line 83 of file sph_bmw.h.

Referenced by bmw32(), bmw32_close(), and bmw32_init().


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