mbedTLS
mbedtls_md_context_t::md_info
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mbedTLS
mbedtls_md_context_t::md_info
mbedtls_md_context_t::md_info field
Information about the associated message digest.
Syntax
Show:
Summary
Declaration
from
md.h:124
const
mbedtls_md_info_t
*
MBEDTLS_PRIVATE
(
md_info
;
Examples
References
from
examples
Code
Location
Referrer
const
mbedtls_md_info_t
*
MBEDTLS_PRIVATE
(
md_info
)
;
md.h:124
size_t
md_len
=
mbedtls_md_get_size
(
ctx
->
md_ctx
.
md_info
)
;
hmac_drbg.c:47
mbedtls_hmac_drbg_update()
size_t
md_len
=
mbedtls_md_get_size
(
ctx
->
md_ctx
.
md_info
)
;
hmac_drbg.c:312
mbedtls_hmac_drbg_random_with_add()
if
(
ctx
==
NULL
||
ctx
->
md_info
==
NULL
)
{
md.c:263
mbedtls_md_free()
switch
(
ctx
->
md_info
->
type
)
{
md.c:273
mbedtls_md_free()
2
*
ctx
->
md_info
->
block_size
)
;
md.c:327
mbedtls_md_free()
if
(
dst
==
NULL
||
dst
->
md_info
==
NULL
||
md.c:337
mbedtls_md_clone()
src
==
NULL
||
src
->
md_info
==
NULL
||
md.c:338
mbedtls_md_clone()
dst
->
md_info
!=
src
->
md_info
)
{
md.c:339
mbedtls_md_clone()
switch
(
src
->
md_info
->
type
)
{
md.c:358
mbedtls_md_clone()
ctx
->
md_info
=
md_info
;
md.c:429
mbedtls_md_setup()
if
(
ctx
==
NULL
||
ctx
->
md_info
==
NULL
)
{
md.c:513
mbedtls_md_starts()
switch
(
ctx
->
md_info
->
type
)
{
md.c:527
mbedtls_md_starts()
if
(
ctx
==
NULL
||
ctx
->
md_info
==
NULL
)
{
md.c:574
mbedtls_md_update()
switch
(
ctx
->
md_info
->
type
)
{
md.c:586
mbedtls_md_update()
if
(
ctx
==
NULL
||
ctx
->
md_info
==
NULL
)
{
md.c:630
mbedtls_md_finish()
switch
(
ctx
->
md_info
->
type
)
{
md.c:644
mbedtls_md_finish()
return
ctx
->
MBEDTLS_PRIVATE
(
md_info
)
;
md.c:915
mbedtls_md_info_from_ctx()
if
(
ctx
==
NULL
||
ctx
->
md_info
==
NULL
||
ctx
->
hmac_ctx
==
NULL
)
{
md.c:975
mbedtls_md_hmac_starts()
if
(
keylen
>
(
size_t
)
ctx
->
md_info
->
block_size
)
{
md.c:979
mbedtls_md_hmac_starts()
keylen
=
ctx
->
md_info
->
size
;
md.c:990
mbedtls_md_hmac_starts()
opad
=
(
unsigned
char
*
)
ctx
->
hmac_ctx
+
ctx
->
md_info
->
block_size
;
md.c:995
mbedtls_md_hmac_starts()
memset
(
ipad
,
0x36
,
ctx
->
md_info
->
block_size
)
;
md.c:997
mbedtls_md_hmac_starts()
memset
(
opad
,
0x5C
,
ctx
->
md_info
->
block_size
)
;
md.c:998
mbedtls_md_hmac_starts()
ctx
->
md_info
->
block_size
)
)
!=
0
)
{
md.c:1007
mbedtls_md_hmac_starts()
if
(
ctx
==
NULL
||
ctx
->
md_info
==
NULL
||
ctx
->
hmac_ctx
==
NULL
)
{
md.c:1019
mbedtls_md_hmac_update()
if
(
ctx
==
NULL
||
ctx
->
md_info
==
NULL
||
ctx
->
hmac_ctx
==
NULL
)
{
md.c:1032
mbedtls_md_hmac_finish()
opad
=
(
unsigned
char
*
)
ctx
->
hmac_ctx
+
ctx
->
md_info
->
block_size
;
md.c:1036
mbedtls_md_hmac_finish()
ctx
->
md_info
->
block_size
)
)
!=
0
)
{
md.c:1045
mbedtls_md_hmac_finish()
ctx
->
md_info
->
size
)
)
!=
0
)
{
md.c:1049
mbedtls_md_hmac_finish()
if
(
ctx
==
NULL
||
ctx
->
md_info
==
NULL
||
ctx
->
hmac_ctx
==
NULL
)
{
md.c:1060
mbedtls_md_hmac_reset()
return
mbedtls_md_update
(
ctx
,
ipad
,
ctx
->
md_info
->
block_size
)
;
md.c:1069
mbedtls_md_hmac_reset()
unsigned
char
md_size
=
mbedtls_md_get_size
(
ctx
->
md_info
)
;
pkcs5.c:278
pkcs5_pbkdf2_hmac()
const
mbedtls_md_type_t
md_alg
=
mbedtls_md_get_type
(
ctx
->
md_info
)
;
ssl_msg.c:208
mbedtls_ct_hmac()
const
size_t
hash_size
=
mbedtls_md_get_size
(
ctx
->
md_info
)
;
ssl_msg.c:214
mbedtls_ct_hmac()
MD_CHK
(
mbedtls_md_setup
(
&
aux
,
ctx
->
md_info
,
0
)
)
;
ssl_msg.c:230
mbedtls_ct_hmac()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_md_context_t::md_info
is written by 1 function and is read by 14 functions:
mbedtls_md_setup()
All items filtered out
mbedtls_md_context_t::md_info
mbedtls_hmac_drbg_update()
mbedtls_hmac_drbg_random_with_add()
mbedtls_md_free()
mbedtls_md_clone()
mbedtls_md_starts()
mbedtls_md_update()
mbedtls_md_finish()
mbedtls_md_info_from_ctx()
mbedtls_md_hmac_starts()
mbedtls_md_hmac_update()
mbedtls_md_hmac_finish()
mbedtls_md_hmac_reset()
pkcs5_pbkdf2_hmac()
mbedtls_ct_hmac()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out