Digi XBee(R) ANSI C Host Library
Data Fields
mbedtls_sha256_context Struct Reference

The SHA-256 context structure. More...

#include "mbedtls/sha256.h"

Data Fields

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

Detailed Description

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().

Field Documentation

unsigned char buffer[64]

The data block being processed.

int is224

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

uint32_t state[8]

The intermediate digest state.

uint32_t total[2]

The number of Bytes processed.


The documentation for this struct was generated from the following file: