OPTIGA Trust M  1.1.0
C++ library for Optiga Trust M Chip Security Controller
mbedtls_sha1_context Struct Reference

The SHA-1 context structure. More...

#include <sha1.h>

Public Attributes

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.

Member Data Documentation

◆ buffer

unsigned char mbedtls_sha1_context::buffer[64]

The data block being processed.

◆ state

uint32_t mbedtls_sha1_context::state[5]

The intermediate digest state.

◆ total

uint32_t mbedtls_sha1_context::total[2]

The number of Bytes processed.


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