mbedTLS
mbedtls_cipher_context_t::unprocessed_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_cipher_context_t::unprocessed_len
mbedtls_cipher_context_t::unprocessed_len field
Number of Bytes that have not been processed yet.
Syntax
Show:
Summary
Declaration
from
cipher.h:340
size_t
MBEDTLS_PRIVATE
(
unprocessed_len
;
Examples
References
from
examples
Code
Location
Referrer
size_t
MBEDTLS_PRIVATE
(
unprocessed_len
)
;
cipher.h:340
ctx
->
unprocessed_len
=
0
;
cipher.c:525
mbedtls_cipher_reset()
(
ctx
->
unprocessed_len
!=
0
||
ilen
%
block_size
)
)
{
cipher.c:645
mbedtls_cipher_update()
ilen
<=
block_size
-
ctx
->
unprocessed_len
)
||
cipher.c:657
mbedtls_cipher_update()
ilen
<
block_size
-
ctx
->
unprocessed_len
)
||
cipher.c:659
mbedtls_cipher_update()
ilen
<
block_size
-
ctx
->
unprocessed_len
)
)
{
cipher.c:661
mbedtls_cipher_update()
memcpy
(
&
(
ctx
->
unprocessed_data
[
ctx
->
unprocessed_len
]
)
,
input
,
cipher.c:662
mbedtls_cipher_update()
ctx
->
unprocessed_len
+=
ilen
;
cipher.c:665
mbedtls_cipher_update()
if
(
0
!=
ctx
->
unprocessed_len
)
{
cipher.c:672
mbedtls_cipher_update()
copy_len
=
block_size
-
ctx
->
unprocessed_len
;
cipher.c:673
mbedtls_cipher_update()
memcpy
(
&
(
ctx
->
unprocessed_data
[
ctx
->
unprocessed_len
]
)
,
input
,
cipher.c:675
mbedtls_cipher_update()
ctx
->
unprocessed_len
=
0
;
cipher.c:689
mbedtls_cipher_update()
ctx
->
unprocessed_len
+=
copy_len
;
cipher.c:713
mbedtls_cipher_update()
&
ctx
->
unprocessed_len
,
cipher.c:740
mbedtls_cipher_update()
&
ctx
->
unprocessed_len
,
cipher.c:756
mbedtls_cipher_update()
&
ctx
->
unprocessed_len
,
cipher.c:772
mbedtls_cipher_update()
if
(
ctx
->
unprocessed_len
>
0
)
{
cipher.c:787
mbedtls_cipher_update()
if
(
ctx
->
unprocessed_len
!=
0
)
{
cipher.c:1058
mbedtls_cipher_finish()
if
(
0
!=
ctx
->
unprocessed_len
)
{
cipher.c:1072
mbedtls_cipher_finish()
ctx
->
unprocessed_len
)
;
cipher.c:1080
mbedtls_cipher_finish()
}
else
if
(
mbedtls_cipher_get_block_size
(
ctx
)
!=
ctx
->
unprocessed_len
)
{
cipher.c:1081
mbedtls_cipher_finish()
if
(
NULL
==
ctx
->
add_padding
&&
0
==
ctx
->
unprocessed_len
)
{
cipher.c:1086
mbedtls_cipher_finish()
if
(
ctx
->
unprocessed_len
>
0
)
{
psa_crypto_cipher.c:436
psa_cipher_update_ecb()
size_t
bytes_to_copy
=
block_size
-
ctx
->
unprocessed_len
;
psa_crypto_cipher.c:438
psa_cipher_update_ecb()
memcpy
(
&
(
ctx
->
unprocessed_data
[
ctx
->
unprocessed_len
]
)
,
psa_crypto_cipher.c:444
psa_cipher_update_ecb()
ctx
->
unprocessed_len
+=
bytes_to_copy
;
psa_crypto_cipher.c:448
psa_cipher_update_ecb()
if
(
ctx
->
unprocessed_len
==
block_size
)
{
psa_crypto_cipher.c:450
psa_cipher_update_ecb()
ctx
->
unprocessed_len
=
0
;
psa_crypto_cipher.c:463
psa_cipher_update_ecb()
memcpy
(
&
(
ctx
->
unprocessed_data
[
ctx
->
unprocessed_len
]
)
,
psa_crypto_cipher.c:487
psa_cipher_update_ecb()
ctx
->
unprocessed_len
+=
input_length
;
psa_crypto_cipher.c:489
psa_cipher_update_ecb()
(
operation
->
ctx
.
cipher
.
unprocessed_len
+
input_length
)
psa_crypto_cipher.c:513
mbedtls_psa_cipher_update()
if
(
operation
->
ctx
.
cipher
.
unprocessed_len
!=
0
)
{
psa_crypto_cipher.c:559
mbedtls_psa_cipher_finish()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_cipher_context_t::unprocessed_len
is written by 3 functions and is read by 5 functions:
mbedtls_cipher_reset()
mbedtls_cipher_update()
psa_cipher_update_ecb()
All items filtered out
mbedtls_cipher_context_t::unprocessed_len
mbedtls_cipher_update()
mbedtls_cipher_finish()
psa_cipher_update_ecb()
mbedtls_psa_cipher_update()
mbedtls_psa_cipher_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