mbedTLS
mbedtls_cipher_context_t::operation
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_cipher_context_t::operation
mbedtls_cipher_context_t::operation field
Operation that the key of the context has been initialized for.
Syntax
Show:
Summary
Declaration
from
cipher.h:326
mbedtls_operation_t
MBEDTLS_PRIVATE
(
operation
;
Examples
References
from
examples
Code
Location
Referrer
mbedtls_operation_t
MBEDTLS_PRIVATE
(
operation
)
;
cipher.h:326
ctx
->
operation
=
operation
;
cipher.c:384
mbedtls_cipher_setkey()
ctx
->
operation
,
cipher.c:472
mbedtls_cipher_set_iv()
if
(
ctx
->
operation
==
MBEDTLS_DECRYPT
)
{
cipher.c:489
mbedtls_cipher_set_iv()
}
else
if
(
ctx
->
operation
==
MBEDTLS_ENCRYPT
)
{
cipher.c:491
mbedtls_cipher_set_iv()
ctx
->
operation
,
input
,
cipher.c:612
mbedtls_cipher_update()
if
(
(
ctx
->
operation
==
MBEDTLS_DECRYPT
&&
NULL
!=
ctx
->
add_padding
&&
cipher.c:656
mbedtls_cipher_update()
(
ctx
->
operation
==
MBEDTLS_DECRYPT
&&
NULL
==
ctx
->
add_padding
&&
cipher.c:658
mbedtls_cipher_update()
(
ctx
->
operation
==
MBEDTLS_ENCRYPT
&&
cipher.c:660
mbedtls_cipher_update()
ctx
->
operation
,
cipher.c:679
mbedtls_cipher_update()
ctx
->
operation
==
MBEDTLS_DECRYPT
&&
cipher.c:705
mbedtls_cipher_update()
ctx
->
operation
,
cipher.c:722
mbedtls_cipher_update()
ctx
->
operation
,
ilen
,
cipher.c:739
mbedtls_cipher_update()
ctx
->
operation
,
cipher.c:793
mbedtls_cipher_update()
if
(
MBEDTLS_ENCRYPT
==
ctx
->
operation
)
{
cipher.c:1069
mbedtls_cipher_finish()
ctx
->
operation
,
cipher.c:1095
mbedtls_cipher_finish()
if
(
MBEDTLS_DECRYPT
==
ctx
->
operation
)
{
cipher.c:1105
mbedtls_cipher_finish()
if
(
MBEDTLS_ENCRYPT
!=
ctx
->
operation
)
{
cipher.c:1189
mbedtls_cipher_write_tag()
if
(
MBEDTLS_DECRYPT
!=
ctx
->
operation
)
{
cipher.c:1238
mbedtls_cipher_check_tag()
return
ctx
->
MBEDTLS_PRIVATE
(
operation
)
;
cipher.h:804
mbedtls_cipher_get_operation()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_cipher_context_t::operation
is written by 1 function and is read by 6 functions:
mbedtls_cipher_setkey()
All items filtered out
mbedtls_cipher_context_t::operation
mbedtls_cipher_get_operation()
mbedtls_cipher_set_iv()
mbedtls_cipher_update()
mbedtls_cipher_finish()
mbedtls_cipher_write_tag()
mbedtls_cipher_check_tag()
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