joey shelton / LED_Demo2

Dependencies:   MAX44000 PWM_Tone_Library nexpaq_mdk

Fork of LED_Demo by joey shelton

Embed: (wiki syntax)

« Back to documentation index

sha256_temp_t Struct Reference

sha256_temp_t Struct Reference

SHA temporary buffer database for saving current hash operation or resume saved. More...

#include <shalib.h>

Data Fields

uint8_t m_Data [SHALIB_RING_BUFFER_SIZE]
 64-bytes ring buffer for SHA256 operation.
uint8_t m_Read
 Read pointer to ring buffer.
uint8_t m_Write
 Write pointer to ring buffer.
uint32_t SHALIB_pushed_bytes
 Hash total byte coun.
uint8_t SHALIB_buffered_bytes
 Ring buffer data in.
uint32_t areg_temps [8]
 Shalib operation 8 HREG.

Detailed Description

SHA temporary buffer database for saving current hash operation or resume saved.

Definition at line 83 of file shalib.h.


Field Documentation

uint32_t areg_temps[8]

Shalib operation 8 HREG.

Definition at line 89 of file shalib.h.

uint8_t m_Data[SHALIB_RING_BUFFER_SIZE]

64-bytes ring buffer for SHA256 operation.

Definition at line 84 of file shalib.h.

uint8_t m_Read

Read pointer to ring buffer.

Definition at line 85 of file shalib.h.

uint8_t m_Write

Write pointer to ring buffer.

Definition at line 86 of file shalib.h.

Ring buffer data in.

Definition at line 88 of file shalib.h.

Hash total byte coun.

t

Definition at line 87 of file shalib.h.