mbedTLS
mbedtls_cipher_info_t::mode
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_info_t::mode
mbedtls_cipher_info_t::mode field
The cipher mode (as per mbedtls_cipher_mode_t). For example, MBEDTLS_MODE_CBC.
Syntax
Show:
Summary
Declaration
from
cipher.h:288
unsigned
int
MBEDTLS_PRIVATE
(
mode
)
:
4
;
Examples
References
from
examples
Code
Location
Referrer
unsigned
int
MBEDTLS_PRIVATE
(
mode
)
:
4
;
cipher.h:288
def
->
info
->
mode
==
mode
)
{
cipher.c:127
mbedtls_cipher_info_from_values()
MBEDTLS_MODE_CFB
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
||
cipher.c:391
mbedtls_cipher_setkey()
MBEDTLS_MODE_OFB
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
||
cipher.c:392
mbedtls_cipher_setkey()
MBEDTLS_MODE_CTR
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
)
{
cipher.c:393
mbedtls_cipher_setkey()
if
(
MBEDTLS_MODE_GCM
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
)
{
cipher.c:470
mbedtls_cipher_set_iv()
if
(
MBEDTLS_MODE_CCM_STAR_NO_TAG
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
)
{
cipher.c:478
mbedtls_cipher_set_iv()
if
(
MBEDTLS_MODE_GCM
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
)
{
cipher.c:548
mbedtls_cipher_update_ad()
if
(
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
==
MBEDTLS_MODE_ECB
)
{
cipher.c:604
mbedtls_cipher_update()
if
(
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
==
MBEDTLS_MODE_GCM
)
{
cipher.c:621
mbedtls_cipher_update()
if
(
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
==
MBEDTLS_MODE_CCM_STAR_NO_TAG
)
{
cipher.c:629
mbedtls_cipher_update()
if
(
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
==
MBEDTLS_MODE_CBC
)
{
cipher.c:650
mbedtls_cipher_update()
if
(
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
==
MBEDTLS_MODE_CFB
)
{
cipher.c:737
mbedtls_cipher_update()
if
(
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
==
MBEDTLS_MODE_OFB
)
{
cipher.c:753
mbedtls_cipher_update()
if
(
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
==
MBEDTLS_MODE_CTR
)
{
cipher.c:769
mbedtls_cipher_update()
if
(
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
==
MBEDTLS_MODE_XTS
)
{
cipher.c:786
mbedtls_cipher_update()
if
(
MBEDTLS_MODE_CBC
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
)
{
cipher.c:1035
mbedtls_cipher_finish()
if
(
MBEDTLS_MODE_CFB
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
||
cipher.c:1042
mbedtls_cipher_finish()
MBEDTLS_MODE_OFB
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
||
cipher.c:1043
mbedtls_cipher_finish()
MBEDTLS_MODE_CTR
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
||
cipher.c:1044
mbedtls_cipher_finish()
MBEDTLS_MODE_GCM
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
||
cipher.c:1045
mbedtls_cipher_finish()
MBEDTLS_MODE_CCM_STAR_NO_TAG
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
||
cipher.c:1046
mbedtls_cipher_finish()
MBEDTLS_MODE_XTS
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
||
cipher.c:1047
mbedtls_cipher_finish()
MBEDTLS_MODE_STREAM
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
)
{
cipher.c:1048
mbedtls_cipher_finish()
if
(
MBEDTLS_MODE_ECB
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
)
{
cipher.c:1057
mbedtls_cipher_finish()
if
(
MBEDTLS_MODE_CBC
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
)
{
cipher.c:1066
mbedtls_cipher_finish()
MBEDTLS_MODE_CBC
!=
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
)
{
cipher.c:1126
mbedtls_cipher_set_padding_mode()
if
(
MBEDTLS_MODE_GCM
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
)
{
cipher.c:1203
mbedtls_cipher_write_tag()
if
(
MBEDTLS_MODE_GCM
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
)
{
cipher.c:1255
mbedtls_cipher_check_tag()
if
(
MBEDTLS_MODE_GCM
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
)
{
cipher.c:1446
mbedtls_cipher_aead_encrypt()
if
(
MBEDTLS_MODE_CCM
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
)
{
cipher.c:1454
mbedtls_cipher_aead_encrypt()
if
(
MBEDTLS_MODE_GCM
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
)
{
cipher.c:1524
mbedtls_cipher_aead_decrypt()
if
(
MBEDTLS_MODE_CCM
==
(
(
mbedtls_cipher_mode_t
)
ctx
->
cipher_info
->
mode
)
)
{
cipher.c:1540
mbedtls_cipher_aead_decrypt()
return
(
mbedtls_cipher_mode_t
)
info
->
MBEDTLS_PRIVATE
(
mode
)
;
cipher.h:462
mbedtls_cipher_info_get_mode()
return
(
mbedtls_cipher_mode_t
)
ctx
->
MBEDTLS_PRIVATE
(
cipher_info
)
->
MBEDTLS_PRIVATE
(
mode
)
;
cipher.h:704
mbedtls_cipher_get_cipher_mode()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_cipher_info_t::mode
is read by 13 functions:
All items filtered out
mbedtls_cipher_info_t::mode
mbedtls_cipher_info_get_mode()
mbedtls_cipher_get_cipher_mode()
mbedtls_cipher_info_from_values()
mbedtls_cipher_setkey()
mbedtls_cipher_set_iv()
mbedtls_cipher_update_ad()
mbedtls_cipher_update()
mbedtls_cipher_finish()
mbedtls_cipher_set_padding_mode()
mbedtls_cipher_write_tag()
mbedtls_cipher_check_tag()
mbedtls_cipher_aead_encrypt()
mbedtls_cipher_aead_decrypt()
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