mbedTLS
mbedtls_ccm_context::state
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_ccm_context::state
mbedtls_ccm_context::state field
Syntax
Show:
Summary
Declaration
from
ccm.h:92
int
MBEDTLS_PRIVATE
(
state
;
Examples
References
from
examples
Code
Location
Referrer
int
MBEDTLS_PRIVATE
(
state
)
;
/*!< Working value holding context's
ccm.h:92
ctx
->
state
|=
CCM_STATE__ERROR
;
ccm.c:138
mbedtls_ccm_crypt()
ctx
->
state
=
CCM_STATE__CLEAR
;
ccm.c:151
mbedtls_ccm_clear_state()
if
(
!
(
ctx
->
state
&
CCM_STATE__STARTED
)
||
!
(
ctx
->
state
&
CCM_STATE__LENGTHS_SET
)
)
{
ccm.c:168
ccm_calculate_first_block_if_ready()
ctx
->
state
|=
CCM_STATE__ERROR
;
ccm.c:204
ccm_calculate_first_block_if_ready()
ctx
->
state
|=
CCM_STATE__ERROR
;
ccm.c:215
ccm_calculate_first_block_if_ready()
ctx
->
state
|=
CCM_STATE__STARTED
;
ccm.c:256
mbedtls_ccm_starts()
ctx
->
state
|=
CCM_STATE__LENGTHS_SET
;
ccm.c:285
mbedtls_ccm_set_lengths()
if
(
ctx
->
state
&
CCM_STATE__ERROR
)
{
ccm.c:299
mbedtls_ccm_update_ad()
if
(
ctx
->
state
&
CCM_STATE__AUTH_DATA_FINISHED
)
{
ccm.c:304
mbedtls_ccm_update_ad()
if
(
!
(
ctx
->
state
&
CCM_STATE__AUTH_DATA_STARTED
)
)
{
ccm.c:308
mbedtls_ccm_update_ad()
ctx
->
state
|=
CCM_STATE__AUTH_DATA_STARTED
;
ccm.c:316
mbedtls_ccm_update_ad()
ctx
->
state
|=
CCM_STATE__ERROR
;
ccm.c:343
mbedtls_ccm_update_ad()
ctx
->
state
|=
CCM_STATE__AUTH_DATA_FINISHED
;
ccm.c:350
mbedtls_ccm_update_ad()
if
(
ctx
->
state
&
CCM_STATE__ERROR
)
{
ccm.c:372
mbedtls_ccm_update()
ctx
->
state
|=
CCM_STATE__ERROR
;
ccm.c:412
mbedtls_ccm_update()
ctx
->
state
|=
CCM_STATE__ERROR
;
ccm.c:447
mbedtls_ccm_update()
if
(
ctx
->
state
&
CCM_STATE__ERROR
)
{
ccm.c:478
mbedtls_ccm_finish()
if
(
ctx
->
add_len
>
0
&&
!
(
ctx
->
state
&
CCM_STATE__AUTH_DATA_FINISHED
)
)
{
ccm.c:482
mbedtls_ccm_finish()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_ccm_context::state
is written by 7 functions and is read by 7 functions:
mbedtls_ccm_crypt()
mbedtls_ccm_clear_state()
ccm_calculate_first_block_if_ready()
mbedtls_ccm_starts()
mbedtls_ccm_set_lengths()
mbedtls_ccm_update_ad()
mbedtls_ccm_update()
All items filtered out
mbedtls_ccm_context::state
mbedtls_ccm_crypt()
ccm_calculate_first_block_if_ready()
mbedtls_ccm_starts()
mbedtls_ccm_set_lengths()
mbedtls_ccm_update_ad()
mbedtls_ccm_update()
mbedtls_ccm_finish()
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