mbedtls_sha256_context Struct ReferenceCryptography Hardware Acceleration Plugins > Accelerated SHA-224/SHA-256 Hash Function

SHA-256 context structure.

Definition at line 50 of file sha256_alt.h.

#include <sha256_alt.h>

Data Fields

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

Field Documentation

unsigned char mbedtls_sha256_context::buffer[64]

data block being processed

Definition at line 54 of file sha256_alt.h.

bool mbedtls_sha256_context::is224

false => SHA-256, else SHA-224

Definition at line 55 of file sha256_alt.h.

uint32_t mbedtls_sha256_context::state[8]

intermediate digest state

Definition at line 53 of file sha256_alt.h.

uint32_t mbedtls_sha256_context::total[2]

number of bytes processed

Definition at line 52 of file sha256_alt.h.


The documentation for this struct was generated from the following file:
  • sha256_alt.h