mbedTLS
mbedtls_sha512_context
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
mbedTLS
mbedtls_sha512_context
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
from
sha512.h:57
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
Location
Referrer
Scope
Text
sha512.h:57
typedef
struct
mbedtls_sha512_context
sha512.h:65
mbedtls_sha512_context
;
entropy.h:127
mbedtls_entropy_context::accumulator
mbedtls_entropy_context
mbedtls_sha512_context
accumulator
;
md_wrap.c:493
sha384_starts_wrap()
return
(
mbedtls_sha512_starts_ret
(
(
mbedtls_sha512_context
*
)
ctx
,
1
)
)
;
md_wrap.c:499
sha384_update_wrap()
return
(
mbedtls_sha512_update_ret
(
(
mbedtls_sha512_context
*
)
ctx
,
md_wrap.c:505
sha384_finish_wrap()
return
(
mbedtls_sha512_finish_ret
(
(
mbedtls_sha512_context
*
)
ctx
,
md_wrap.c:517
sha384_ctx_alloc()
void
*
ctx
=
mbedtls_calloc
(
1
,
sizeof
(
mbedtls_sha512_context
)
)
;
md_wrap.c:520
sha384_ctx_alloc()
mbedtls_sha512_init
(
(
mbedtls_sha512_context
*
)
ctx
)
;
md_wrap.c:527
sha384_ctx_free()
mbedtls_sha512_free
(
(
mbedtls_sha512_context
*
)
ctx
)
;
md_wrap.c:533
sha384_clone_wrap()
mbedtls_sha512_clone
(
(
mbedtls_sha512_context
*
)
dst
,
md_wrap.c:534
sha384_clone_wrap()
(
const
mbedtls_sha512_context
*
)
src
)
;
md_wrap.c:539
sha384_process_wrap()
return
(
mbedtls_internal_sha512_process
(
(
mbedtls_sha512_context
*
)
ctx
,
md_wrap.c:560
sha512_starts_wrap()
return
(
mbedtls_sha512_starts_ret
(
(
mbedtls_sha512_context
*
)
ctx
,
0
)
)
;
sha512.c:95
mbedtls_sha512_init()::ctx
mbedtls_sha512_init()
void
mbedtls_sha512_init
(
mbedtls_sha512_context
*
ctx
)
sha512.c:99
mbedtls_sha512_init()
memset
(
ctx
,
0
,
sizeof
(
mbedtls_sha512_context
)
)
;
sha512.c:102
mbedtls_sha512_free()::ctx
mbedtls_sha512_free()
void
mbedtls_sha512_free
(
mbedtls_sha512_context
*
ctx
)
sha512.c:107
mbedtls_sha512_free()
mbedtls_platform_zeroize
(
ctx
,
sizeof
(
mbedtls_sha512_context
)
)
;
sha512.c:110
mbedtls_sha512_clone()::dst
mbedtls_sha512_clone()
void
mbedtls_sha512_clone
(
mbedtls_sha512_context
*
dst
,
sha512.c:111
mbedtls_sha512_clone()::src
mbedtls_sha512_clone()
const
mbedtls_sha512_context
*
src
)
sha512.c:122
mbedtls_sha512_starts_ret()::ctx
mbedtls_sha512_starts_ret()
int
mbedtls_sha512_starts_ret
(
mbedtls_sha512_context
*
ctx
,
int
is384
)
sha512.c:161
mbedtls_sha512_starts()::ctx
mbedtls_sha512_starts()
void
mbedtls_sha512_starts
(
mbedtls_sha512_context
*
ctx
,
sha512.c:217
mbedtls_internal_sha512_process()::ctx
mbedtls_internal_sha512_process()
int
mbedtls_internal_sha512_process
(
mbedtls_sha512_context
*
ctx
,
sha512.c:294
mbedtls_sha512_process()::ctx
mbedtls_sha512_process()
void
mbedtls_sha512_process
(
mbedtls_sha512_context
*
ctx
,
sha512.c:305
mbedtls_sha512_update_ret()::ctx
mbedtls_sha512_update_ret()
int
mbedtls_sha512_update_ret
(
mbedtls_sha512_context
*
ctx
,
sha512.c:355
mbedtls_sha512_update()::ctx
mbedtls_sha512_update()
void
mbedtls_sha512_update
(
mbedtls_sha512_context
*
ctx
,
sha512.c:366
mbedtls_sha512_finish_ret()::ctx
mbedtls_sha512_finish_ret()
int
mbedtls_sha512_finish_ret
(
mbedtls_sha512_context
*
ctx
,
sha512.c:432
mbedtls_sha512_finish()::ctx
mbedtls_sha512_finish()
void
mbedtls_sha512_finish
(
mbedtls_sha512_context
*
ctx
,
sha512.c:450
mbedtls_sha512_ret()::ctx
mbedtls_sha512_ret()
mbedtls_sha512_context
ctx
;
sha512.h:65
mbedtls_sha512_context
mbedtls_sha512_context
;
sha512.h:77
mbedtls_sha512_init()::ctx
mbedtls_sha512_init()
void
mbedtls_sha512_init
(
mbedtls_sha512_context
*
ctx
)
;
sha512.h:87
mbedtls_sha512_free()::ctx
mbedtls_sha512_free()
void
mbedtls_sha512_free
(
mbedtls_sha512_context
*
ctx
)
;
sha512.h:95
mbedtls_sha512_clone()::dst
mbedtls_sha512_clone()
void
mbedtls_sha512_clone
(
mbedtls_sha512_context
*
dst
,
sha512.h:96
mbedtls_sha512_clone()::src
mbedtls_sha512_clone()
const
mbedtls_sha512_context
*
src
)
;
sha512.h:109
mbedtls_sha512_starts_ret()::ctx
mbedtls_sha512_starts_ret()
int
mbedtls_sha512_starts_ret
(
mbedtls_sha512_context
*
ctx
,
int
is384
)
;
sha512.h:124
mbedtls_sha512_update_ret()::ctx
mbedtls_sha512_update_ret()
int
mbedtls_sha512_update_ret
(
mbedtls_sha512_context
*
ctx
,
sha512.h:141
mbedtls_sha512_finish_ret()::ctx
mbedtls_sha512_finish_ret()
int
mbedtls_sha512_finish_ret
(
mbedtls_sha512_context
*
ctx
,
sha512.h:155
mbedtls_internal_sha512_process()::ctx
mbedtls_internal_sha512_process()
int
mbedtls_internal_sha512_process
(
mbedtls_sha512_context
*
ctx
,
sha512.h:173
mbedtls_sha512_starts()::ctx
mbedtls_sha512_starts()
MBEDTLS_DEPRECATED
void
mbedtls_sha512_starts
(
mbedtls_sha512_context
*
ctx
,
sha512.h:188
mbedtls_sha512_update()::ctx
mbedtls_sha512_update()
MBEDTLS_DEPRECATED
void
mbedtls_sha512_update
(
mbedtls_sha512_context
*
ctx
,
sha512.h:203
mbedtls_sha512_finish()::ctx
mbedtls_sha512_finish()
MBEDTLS_DEPRECATED
void
mbedtls_sha512_finish
(
mbedtls_sha512_context
*
ctx
,
sha512.h:218
mbedtls_sha512_process()::ctx
mbedtls_sha512_process()
mbedtls_sha512_context
*
ctx
,
ssl_internal.h:379
mbedtls_ssl_handshake_params::fin_sha512
mbedtls_ssl_handshake_params
mbedtls_sha512_context
fin_sha512
;
ssl_tls.c:1223
ssl_calc_verify_tls_sha384()::sha512
ssl_calc_verify_tls_sha384()
mbedtls_sha512_context
sha512
;
ssl_tls.c:6264
ssl_calc_finished_tls_sha384()::sha512
ssl_calc_finished_tls_sha384()
mbedtls_sha512_context
sha512
;
Type Use
Variables of
mbedtls_sha512_context
type
mbedtls_sha512_init()::ctx
mbedtls_sha512_free()::ctx
mbedtls_sha512_clone()::dst
mbedtls_sha512_clone()::src
mbedtls_sha512_starts_ret()::ctx
mbedtls_sha512_update_ret()::ctx
mbedtls_sha512_finish_ret()::ctx
mbedtls_internal_sha512_process()::ctx
mbedtls_sha512_starts()::ctx
mbedtls_sha512_update()::ctx
mbedtls_sha512_finish()::ctx
mbedtls_sha512_process()::ctx
mbedtls_entropy_context::accumulator
mbedtls_sha512_ret()::ctx
mbedtls_sha512_ret()
mbedtls_ssl_handshake_params::fin_sha512
ssl_calc_verify_tls_sha384()::sha512
ssl_calc_verify_tls_sha384()
ssl_calc_finished_tls_sha384()::sha512
ssl_calc_finished_tls_sha384()
all items filtered out
mbedtls_sha512_context
mbedtls_sha512_context
all items filtered out
mbedtls_sha512_context
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