mbedtls_sha512_context is only used within mbedTLS.
 
Symbols
loading...
Files
loading...

mbedtls_sha512_context struct

The SHA-512 context structure. The structure is used both for SHA-384 and for SHA-512 checksum calculations. The choice between these two is made in the call to mbedtls_sha512_starts_ret().

Syntax

typedef struct mbedtls_sha512_context {     uint64_t total[2];               uint64_t state[8];               unsigned char buffer[128];       int is384;                   } mbedtls_sha512_context;

Fields

total

The number of Bytes processed. Read more...

state

The intermediate digest state. Read more...

buffer

The data block being processed. Read more...

is384

Determines which function to use: 0: Use SHA-512, or 1: Use SHA-384. Read more...

References

LocationReferrerScopeText
sha512.h:57
typedef struct mbedtls_sha512_context
sha512.h:65
entropy.h:127mbedtls_entropy_context::accumulatormbedtls_entropy_context
md_wrap.c:493sha384_starts_wrap()
md_wrap.c:499sha384_update_wrap()
md_wrap.c:505sha384_finish_wrap()
md_wrap.c:517sha384_ctx_alloc()
void *ctx = mbedtls_calloc( 1, sizeof( mbedtls_sha512_context ) );
md_wrap.c:520sha384_ctx_alloc()
md_wrap.c:527sha384_ctx_free()
md_wrap.c:533sha384_clone_wrap()
md_wrap.c:534sha384_clone_wrap()
md_wrap.c:539sha384_process_wrap()
md_wrap.c:560sha512_starts_wrap()
sha512.c:95mbedtls_sha512_init()::ctxmbedtls_sha512_init()
sha512.c:99mbedtls_sha512_init()
memset( ctx, 0, sizeof( mbedtls_sha512_context ) );
sha512.c:102mbedtls_sha512_free()::ctxmbedtls_sha512_free()
sha512.c:107mbedtls_sha512_free()
sha512.c:110mbedtls_sha512_clone()::dstmbedtls_sha512_clone()
sha512.c:111mbedtls_sha512_clone()::srcmbedtls_sha512_clone()
sha512.c:122mbedtls_sha512_starts_ret()::ctxmbedtls_sha512_starts_ret()
sha512.c:161mbedtls_sha512_starts()::ctxmbedtls_sha512_starts()
sha512.c:217mbedtls_internal_sha512_process()::ctxmbedtls_internal_sha512_process()
sha512.c:294mbedtls_sha512_process()::ctxmbedtls_sha512_process()
sha512.c:305mbedtls_sha512_update_ret()::ctxmbedtls_sha512_update_ret()
sha512.c:355mbedtls_sha512_update()::ctxmbedtls_sha512_update()
sha512.c:366mbedtls_sha512_finish_ret()::ctxmbedtls_sha512_finish_ret()
sha512.c:432mbedtls_sha512_finish()::ctxmbedtls_sha512_finish()
sha512.c:450mbedtls_sha512_ret()::ctxmbedtls_sha512_ret()
sha512.h:65mbedtls_sha512_context
sha512.h:77mbedtls_sha512_init()::ctxmbedtls_sha512_init()
sha512.h:87mbedtls_sha512_free()::ctxmbedtls_sha512_free()
sha512.h:95mbedtls_sha512_clone()::dstmbedtls_sha512_clone()
sha512.h:96mbedtls_sha512_clone()::srcmbedtls_sha512_clone()
sha512.h:109mbedtls_sha512_starts_ret()::ctxmbedtls_sha512_starts_ret()
sha512.h:124mbedtls_sha512_update_ret()::ctxmbedtls_sha512_update_ret()
sha512.h:141mbedtls_sha512_finish_ret()::ctxmbedtls_sha512_finish_ret()
sha512.h:155mbedtls_internal_sha512_process()::ctxmbedtls_internal_sha512_process()
sha512.h:173mbedtls_sha512_starts()::ctxmbedtls_sha512_starts()
sha512.h:188mbedtls_sha512_update()::ctxmbedtls_sha512_update()
sha512.h:203mbedtls_sha512_finish()::ctxmbedtls_sha512_finish()
sha512.h:218mbedtls_sha512_process()::ctxmbedtls_sha512_process()
ssl_internal.h:379mbedtls_ssl_handshake_params::fin_sha512mbedtls_ssl_handshake_params
ssl_tls.c:1223ssl_calc_verify_tls_sha384()::sha512ssl_calc_verify_tls_sha384()
ssl_tls.c:6264ssl_calc_finished_tls_sha384()::sha512ssl_calc_finished_tls_sha384()

Type Use

all items filtered out
mbedtls_sha512_context
all items filtered out
Allocators of mbedtls_sha512_context
Deletors of mbedtls_sha512_context
mbedtls_sha512_ret()::ctx
ssl_calc_verify_tls_sha384()::sha512
ssl_calc_finished_tls_sha384()::sha512
all items filtered out
mbedtls_sha512_context
mbedtls_sha512_ret()::ctx
ssl_calc_verify_tls_sha384()::sha512
ssl_calc_finished_tls_sha384()::sha512
all items filtered out