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

mbedtls_sha512_context::total field

The number of Bytes processed.

Syntax

uint64_t total[2];

References

LocationReferrerText
sha512.h:59
uint64_t total[2]; /*!< The number of Bytes processed. */
sha512.c:127mbedtls_sha512_starts_ret()
ctx->total[0] = 0;
sha512.c:128mbedtls_sha512_starts_ret()
ctx->total[1] = 0;
sha512.c:319mbedtls_sha512_update_ret()
left = (unsigned int) (ctx->total[0] & 0x7F);
sha512.c:322mbedtls_sha512_update_ret()
ctx->total[0] += (uint64_t) ilen;
sha512.c:324mbedtls_sha512_update_ret()
if( ctx->total[0] < (uint64_t) ilen )
sha512.c:325mbedtls_sha512_update_ret()
ctx->total[1]++;
sha512.c:379mbedtls_sha512_finish_ret()
used = ctx->total[0] & 0x7F;
sha512.c:402mbedtls_sha512_finish_ret()
high = ( ctx->total[0] >> 61 )
sha512.c:403mbedtls_sha512_finish_ret()
| ( ctx->total[1] << 3 );
sha512.c:404mbedtls_sha512_finish_ret()
low = ( ctx->total[0] << 3 );

Data Use

Functions reading mbedtls_sha512_context::total
mbedtls_sha512_context::total
Type of mbedtls_sha512_context::total
mbedtls_sha512_context::total
uint64_t
all items filtered out