mbedtls_sha512_context::buffer is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesmbedTLSmbedtls_sha512_context::buffer

mbedtls_sha512_context::buffer field

The data block being processed.

Syntax

unsigned char buffer[128];

References

LocationReferrerText
sha512.h:61
unsigned char buffer[128]; /*!< The data block being processed. */
sha512.c:329mbedtls_sha512_update_ret()
memcpy( (void *) (ctx->buffer + left), input, fill );
sha512.c:331mbedtls_sha512_update_ret()
if( ( ret = mbedtls_internal_sha512_process( ctx, ctx->buffer ) ) != 0 )
sha512.c:349mbedtls_sha512_update_ret()
memcpy( (void *) (ctx->buffer + left), input, ilen );
sha512.c:381mbedtls_sha512_finish_ret()
ctx->buffer[used++] = 0x80;
sha512.c:386mbedtls_sha512_finish_ret()
memset( ctx->buffer + used, 0, 112 - used );
sha512.c:391mbedtls_sha512_finish_ret()
memset( ctx->buffer + used, 0, 128 - used );
sha512.c:393mbedtls_sha512_finish_ret()
if( ( ret = mbedtls_internal_sha512_process( ctx, ctx->buffer ) ) != 0 )
sha512.c:396mbedtls_sha512_finish_ret()
memset( ctx->buffer, 0, 112 );
sha512.c:406mbedtls_sha512_finish_ret()
PUT_UINT64_BE( high, ctx->buffer, 112 );
sha512.c:407mbedtls_sha512_finish_ret()
PUT_UINT64_BE( low, ctx->buffer, 120 );
sha512.c:409mbedtls_sha512_finish_ret()
if( ( ret = mbedtls_internal_sha512_process( ctx, ctx->buffer ) ) != 0 )

Data Use

Functions reading mbedtls_sha512_context::buffer
mbedtls_sha512_context::buffer