mbedTLS
mbedtls_md_context_t::md_info
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
mbedTLS
mbedtls_md_context_t::md_info
mbedtls_md_context_t::md_info field
Information about the associated message digest.
Syntax
from
md.h:88
const
mbedtls_md_info_t
*
md_info
;
References
Location
Referrer
Text
md.h:88
const
mbedtls_md_info_t
*
md_info
;
md.c:184
mbedtls_md_free()
if
(
ctx
==
NULL
||
ctx
->
md_info
==
NULL
)
md.c:188
mbedtls_md_free()
ctx
->
md_info
->
ctx_free_func
(
ctx
->
md_ctx
)
;
md.c:193
mbedtls_md_free()
2
*
ctx
->
md_info
->
block_size
)
;
md.c:203
mbedtls_md_clone()
if
(
dst
==
NULL
||
dst
->
md_info
==
NULL
||
md.c:204
mbedtls_md_clone()
src
==
NULL
||
src
->
md_info
==
NULL
||
md.c:205
mbedtls_md_clone()
dst
->
md_info
!=
src
->
md_info
)
md.c:210
mbedtls_md_clone()
dst
->
md_info
->
clone_func
(
dst
->
md_ctx
,
src
->
md_ctx
)
;
md.c:240
mbedtls_md_setup()
ctx
->
md_info
=
md_info
;
md.c:247
mbedtls_md_starts()
if
(
ctx
==
NULL
||
ctx
->
md_info
==
NULL
)
md.c:250
mbedtls_md_starts()
return
(
ctx
->
md_info
->
starts_func
(
ctx
->
md_ctx
)
)
;
md.c:255
mbedtls_md_update()
if
(
ctx
==
NULL
||
ctx
->
md_info
==
NULL
)
md.c:258
mbedtls_md_update()
return
(
ctx
->
md_info
->
update_func
(
ctx
->
md_ctx
,
input
,
ilen
)
)
;
md.c:263
mbedtls_md_finish()
if
(
ctx
==
NULL
||
ctx
->
md_info
==
NULL
)
md.c:266
mbedtls_md_finish()
return
(
ctx
->
md_info
->
finish_func
(
ctx
->
md_ctx
,
output
)
)
;
md.c:326
mbedtls_md_hmac_starts()
if
(
ctx
==
NULL
||
ctx
->
md_info
==
NULL
||
ctx
->
hmac_ctx
==
NULL
)
md.c:329
mbedtls_md_hmac_starts()
if
(
keylen
>
(
size_t
)
ctx
->
md_info
->
block_size
)
md.c:331
mbedtls_md_hmac_starts()
if
(
(
ret
=
ctx
->
md_info
->
starts_func
(
ctx
->
md_ctx
)
)
!=
0
)
md.c:333
mbedtls_md_hmac_starts()
if
(
(
ret
=
ctx
->
md_info
->
update_func
(
ctx
->
md_ctx
,
key
,
keylen
)
)
!=
0
)
md.c:335
mbedtls_md_hmac_starts()
if
(
(
ret
=
ctx
->
md_info
->
finish_func
(
ctx
->
md_ctx
,
sum
)
)
!=
0
)
md.c:338
mbedtls_md_hmac_starts()
keylen
=
ctx
->
md_info
->
size
;
md.c:343
mbedtls_md_hmac_starts()
opad
=
(
unsigned
char
*
)
ctx
->
hmac_ctx
+
ctx
->
md_info
->
block_size
;
md.c:345
mbedtls_md_hmac_starts()
memset
(
ipad
,
0x36
,
ctx
->
md_info
->
block_size
)
;
md.c:346
mbedtls_md_hmac_starts()
memset
(
opad
,
0x5C
,
ctx
->
md_info
->
block_size
)
;
md.c:354
mbedtls_md_hmac_starts()
if
(
(
ret
=
ctx
->
md_info
->
starts_func
(
ctx
->
md_ctx
)
)
!=
0
)
md.c:356
mbedtls_md_hmac_starts()
if
(
(
ret
=
ctx
->
md_info
->
update_func
(
ctx
->
md_ctx
,
ipad
,
md.c:357
mbedtls_md_hmac_starts()
ctx
->
md_info
->
block_size
)
)
!=
0
)
md.c:368
mbedtls_md_hmac_update()
if
(
ctx
==
NULL
||
ctx
->
md_info
==
NULL
||
ctx
->
hmac_ctx
==
NULL
)
md.c:371
mbedtls_md_hmac_update()
return
(
ctx
->
md_info
->
update_func
(
ctx
->
md_ctx
,
input
,
ilen
)
)
;
md.c:380
mbedtls_md_hmac_finish()
if
(
ctx
==
NULL
||
ctx
->
md_info
==
NULL
||
ctx
->
hmac_ctx
==
NULL
)
md.c:383
mbedtls_md_hmac_finish()
opad
=
(
unsigned
char
*
)
ctx
->
hmac_ctx
+
ctx
->
md_info
->
block_size
;
md.c:385
mbedtls_md_hmac_finish()
if
(
(
ret
=
ctx
->
md_info
->
finish_func
(
ctx
->
md_ctx
,
tmp
)
)
!=
0
)
md.c:387
mbedtls_md_hmac_finish()
if
(
(
ret
=
ctx
->
md_info
->
starts_func
(
ctx
->
md_ctx
)
)
!=
0
)
md.c:389
mbedtls_md_hmac_finish()
if
(
(
ret
=
ctx
->
md_info
->
update_func
(
ctx
->
md_ctx
,
opad
,
md.c:390
mbedtls_md_hmac_finish()
ctx
->
md_info
->
block_size
)
)
!=
0
)
md.c:392
mbedtls_md_hmac_finish()
if
(
(
ret
=
ctx
->
md_info
->
update_func
(
ctx
->
md_ctx
,
tmp
,
md.c:393
mbedtls_md_hmac_finish()
ctx
->
md_info
->
size
)
)
!=
0
)
md.c:395
mbedtls_md_hmac_finish()
return
(
ctx
->
md_info
->
finish_func
(
ctx
->
md_ctx
,
output
)
)
;
md.c:403
mbedtls_md_hmac_reset()
if
(
ctx
==
NULL
||
ctx
->
md_info
==
NULL
||
ctx
->
hmac_ctx
==
NULL
)
md.c:408
mbedtls_md_hmac_reset()
if
(
(
ret
=
ctx
->
md_info
->
starts_func
(
ctx
->
md_ctx
)
)
!=
0
)
md.c:410
mbedtls_md_hmac_reset()
return
(
ctx
->
md_info
->
update_func
(
ctx
->
md_ctx
,
ipad
,
md.c:411
mbedtls_md_hmac_reset()
ctx
->
md_info
->
block_size
)
)
;
md.c:445
mbedtls_md_process()
if
(
ctx
==
NULL
||
ctx
->
md_info
==
NULL
)
md.c:448
mbedtls_md_process()
return
(
ctx
->
md_info
->
process_func
(
ctx
->
md_ctx
,
data
)
)
;
Data Use
Functions writing
mbedtls_md_context_t::md_info
Functions reading
mbedtls_md_context_t::md_info
mbedtls_md_setup()
all items filtered out
mbedtls_md_context_t::md_info
mbedtls_md_free()
mbedtls_md_clone()
mbedtls_md_starts()
mbedtls_md_update()
mbedtls_md_finish()
mbedtls_md_hmac_starts()
mbedtls_md_hmac_update()
mbedtls_md_hmac_finish()
mbedtls_md_hmac_reset()
mbedtls_md_process()
all items filtered out
Type of
mbedtls_md_context_t::md_info
mbedtls_md_context_t::md_info
mbedtls_md_info_t
all items filtered out