mbedTLS
mbedtls_ccm_context::add_len
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
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::add_len
mbedtls_ccm_context::add_len field
Syntax
Show:
Summary
Declaration
from
ccm.h:73
size_t
MBEDTLS_PRIVATE
(
add_len
;
Examples
References
from
examples
Code
Location
Referrer
size_t
MBEDTLS_PRIVATE
(
add_len
)
;
/*!< Total authentication data length */
ccm.h:73
ctx
->
y
[
0
]
|=
(
ctx
->
add_len
>
0
)
<
<
6
;
ccm.c:195
ccm_calculate_first_block_if_ready()
ctx
->
add_len
=
total_ad_len
;
ccm.c:281
mbedtls_ccm_set_lengths()
if
(
add_len
>
ctx
->
add_len
)
{
ccm.c:309
mbedtls_ccm_update_ad()
ctx
->
y
[
0
]
^=
(
unsigned
char
)
(
(
ctx
->
add_len
>
>
8
)
&
0xFF
)
;
ccm.c:313
mbedtls_ccm_update_ad()
ctx
->
y
[
1
]
^=
(
unsigned
char
)
(
(
ctx
->
add_len
)
&
0xFF
)
;
ccm.c:314
mbedtls_ccm_update_ad()
}
else
if
(
ctx
->
processed
+
add_len
>
ctx
->
add_len
)
{
ccm.c:317
mbedtls_ccm_update_ad()
if
(
use_len
+
offset
==
16
||
ctx
->
processed
==
ctx
->
add_len
)
{
ccm.c:336
mbedtls_ccm_update_ad()
if
(
ctx
->
processed
==
ctx
->
add_len
)
{
ccm.c:349
mbedtls_ccm_update_ad()
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::add_len
is written by 1 function and is read by 3 functions:
mbedtls_ccm_set_lengths()
All items filtered out
mbedtls_ccm_context::add_len
ccm_calculate_first_block_if_ready()
mbedtls_ccm_update_ad()
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