mbedtls_sha256_context::buffer is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesmbedTLSmbedtls_sha256_context::buffer

mbedtls_sha256_context::buffer field

The data block being processed.

Syntax

unsigned char buffer[64];

References

LocationReferrerText
sha256.h:62
unsigned char buffer[64]; /*!< The data block being processed. */
sha256.c:299mbedtls_sha256_update_ret()
memcpy( (void *) (ctx->buffer + left), input, fill );
sha256.c:301mbedtls_sha256_update_ret()
if( ( ret = mbedtls_internal_sha256_process( ctx, ctx->buffer ) ) != 0 )
sha256.c:319mbedtls_sha256_update_ret()
memcpy( (void *) (ctx->buffer + left), input, ilen );
sha256.c:351mbedtls_sha256_finish_ret()
ctx->buffer[used++] = 0x80;
sha256.c:356mbedtls_sha256_finish_ret()
memset( ctx->buffer + used, 0, 56 - used );
sha256.c:361mbedtls_sha256_finish_ret()
memset( ctx->buffer + used, 0, 64 - used );
sha256.c:363mbedtls_sha256_finish_ret()
if( ( ret = mbedtls_internal_sha256_process( ctx, ctx->buffer ) ) != 0 )
sha256.c:366mbedtls_sha256_finish_ret()
memset( ctx->buffer, 0, 56 );
sha256.c:376mbedtls_sha256_finish_ret()
PUT_UINT32_BE( high, ctx->buffer, 56 );
sha256.c:377mbedtls_sha256_finish_ret()
PUT_UINT32_BE( low, ctx->buffer, 60 );
sha256.c:379mbedtls_sha256_finish_ret()
if( ( ret = mbedtls_internal_sha256_process( ctx, ctx->buffer ) ) != 0 )

Data Use

Functions reading mbedtls_sha256_context::buffer
mbedtls_sha256_context::buffer