nRF5 SDK for Thread and Zigbee v1.0.0
Choose documentation:
mbedtls_sha512_context Struct Reference

The SHA-512 context structure. More...

#include <sha512.h>

Data Fields

uint64_t total [2]
 
uint64_t state [8]
 
unsigned char buffer [128]
 
int is384
 

Detailed Description

The SHA-512 context structure.

The structure is used both for SHA-384 and for SHA-512 checksum calculations. The choice between these two is made in the call to mbedtls_sha512_starts_ret().

Field Documentation

unsigned char mbedtls_sha512_context::buffer[128]

The data block being processed.

int mbedtls_sha512_context::is384

Determines which function to use: 0: Use SHA-512, or 1: Use SHA-384.

uint64_t mbedtls_sha512_context::state[8]

The intermediate digest state.

uint64_t mbedtls_sha512_context::total[2]

The number of Bytes processed.


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