Mbed OS Reference
Loading...
Searching...
No Matches
mbedtls_sha1_context Struct Reference

The SHA-1 context structure. More...

#include <sha1.h>

Data Fields

uint32_t total [2]
 
uint32_t state [5]
 
unsigned char buffer [64]
 

Detailed Description

The SHA-1 context structure.

Warning
SHA-1 is considered a weak message digest and its use constitutes a security risk. We recommend considering stronger message digests instead.

Definition at line 68 of file mbedtls/include/mbedtls/sha1.h.

Field Documentation

◆ total

uint32_t total[2]

The number of Bytes processed.

Definition at line 70 of file mbedtls/include/mbedtls/sha1.h.

◆ state

uint32_t state[5]

The intermediate digest state.

Definition at line 71 of file mbedtls/include/mbedtls/sha1.h.

◆ buffer

unsigned char buffer[64]

The data block being processed.

Definition at line 72 of file mbedtls/include/mbedtls/sha1.h.