mbedTLS
mbedtls_cmac_context_t::unprocessed_len
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_cmac_context_t::unprocessed_len
mbedtls_cmac_context_t::unprocessed_len field
The length of data pending processing.
Syntax
Show:
Summary
Declaration
from
cmac.h:68
size_t
MBEDTLS_PRIVATE
(
unprocessed_len
;
Examples
References
from
examples
Code
Location
Referrer
size_t
MBEDTLS_PRIVATE
(
unprocessed_len
)
;
cmac.h:68
if
(
cmac_ctx
->
unprocessed_len
>
0
&&
cmac.c:221
mbedtls_cipher_cmac_update()
ilen
>
block_size
-
cmac_ctx
->
unprocessed_len
)
{
cmac.c:222
mbedtls_cipher_cmac_update()
memcpy
(
&
cmac_ctx
->
unprocessed_block
[
cmac_ctx
->
unprocessed_len
]
,
cmac.c:223
mbedtls_cipher_cmac_update()
block_size
-
cmac_ctx
->
unprocessed_len
)
;
cmac.c:225
mbedtls_cipher_cmac_update()
input
+=
block_size
-
cmac_ctx
->
unprocessed_len
;
cmac.c:234
mbedtls_cipher_cmac_update()
ilen
-=
block_size
-
cmac_ctx
->
unprocessed_len
;
cmac.c:235
mbedtls_cipher_cmac_update()
cmac_ctx
->
unprocessed_len
=
0
;
cmac.c:236
mbedtls_cipher_cmac_update()
memcpy
(
&
cmac_ctx
->
unprocessed_block
[
cmac_ctx
->
unprocessed_len
]
,
cmac.c:258
mbedtls_cipher_cmac_update()
cmac_ctx
->
unprocessed_len
+=
ilen
;
cmac.c:261
mbedtls_cipher_cmac_update()
if
(
cmac_ctx
->
unprocessed_len
<
block_size
)
{
cmac.c:296
mbedtls_cipher_cmac_finish()
cmac_pad
(
M_last
,
block_size
,
last_block
,
cmac_ctx
->
unprocessed_len
)
;
cmac.c:297
mbedtls_cipher_cmac_finish()
cmac_ctx
->
unprocessed_len
=
0
;
cmac.c:319
mbedtls_cipher_cmac_finish()
cmac_ctx
->
unprocessed_len
=
0
;
cmac.c:338
mbedtls_cipher_cmac_reset()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_cmac_context_t::unprocessed_len
is written by 3 functions and is read by 2 functions:
mbedtls_cipher_cmac_update()
mbedtls_cipher_cmac_finish()
mbedtls_cipher_cmac_reset()
All items filtered out
mbedtls_cmac_context_t::unprocessed_len
mbedtls_cipher_cmac_update()
mbedtls_cipher_cmac_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