Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

mbedtls_sha256_context Struct Reference

mbedtls_sha256_context Struct Reference

SHA-256 context structure. More...

#include <sha256_alt.h>

Data Fields

uint32_t total [2]
uint32_t state [8]
unsigned char buffer [64]
int is224

Detailed Description

SHA-256 context structure.

The SHA-256 context structure.

The structure is used both for SHA-256 and for SHA-224 checksum calculations. The choice between these two is made in the call to mbedtls_sha256_starts_ret().

Definition at line 31 of file sha256_alt.h.


Field Documentation

unsigned char buffer[64]

The data block being processed.

Definition at line 62 of file sha256.h.

int is224

Determines which function to use: 0: Use SHA-256, or 1: Use SHA-224.

Definition at line 63 of file sha256.h.

uint32_t state[8]

The intermediate digest state.

Definition at line 61 of file sha256.h.

uint32_t total[2]

The number of Bytes processed.

Definition at line 60 of file sha256.h.