The SHA-256 context structure.
More...
#include <sha256.h>
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 58 of file sha256.h.
◆ buffer
unsigned char mbedtls_sha256_context::buffer[64] |
The data block being processed.
Definition at line 62 of file sha256.h.
◆ is224
int mbedtls_sha256_context::is224 |
Determines which function to use: 0: Use SHA-256, or 1: Use SHA-224.
Definition at line 63 of file sha256.h.
◆ state
uint32_t mbedtls_sha256_context::state[8] |
The intermediate digest state.
Definition at line 61 of file sha256.h.
◆ total
uint32_t mbedtls_sha256_context::total[2] |
The number of Bytes processed.
Definition at line 60 of file sha256.h.
The documentation for this struct was generated from the following file: