mbedTLS
esp_gcm_context::ctx_soft
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (2/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
mbedTLS
esp_gcm_context::ctx_soft
esp_gcm_context::ctx_soft field
Syntax
Show:
Summary
Declaration
from
esp_aes_gcm.h:45
void
*
ctx_soft
;
Examples
References
from
examples
Code
Location
Referrer
void
*
ctx_soft
;
esp_aes_gcm.h:45
if
(
ctx
->
ctx_soft
!=
NULL
)
{
esp_aes_gcm.c:264
esp_aes_gcm_setkey()
mbedtls_gcm_free_soft
(
ctx
->
ctx_soft
)
;
esp_aes_gcm.c:265
esp_aes_gcm_setkey()
free
(
ctx
->
ctx_soft
)
;
esp_aes_gcm.c:266
esp_aes_gcm_setkey()
ctx
->
ctx_soft
=
NULL
;
esp_aes_gcm.c:267
esp_aes_gcm_setkey()
ctx
->
ctx_soft
=
(
mbedtls_gcm_context_soft
*
)
malloc
(
sizeof
(
mbedtls_gcm_context_soft
)
)
;
esp_aes_gcm.c:271
esp_aes_gcm_setkey()
if
(
ctx
->
ctx_soft
==
NULL
)
{
esp_aes_gcm.c:272
esp_aes_gcm_setkey()
mbedtls_gcm_init_soft
(
ctx
->
ctx_soft
)
;
esp_aes_gcm.c:275
esp_aes_gcm_setkey()
return
mbedtls_gcm_setkey_soft
(
ctx
->
ctx_soft
,
cipher
,
key
,
keybits
)
;
esp_aes_gcm.c:276
esp_aes_gcm_setkey()
if
(
ctx
->
ctx_soft
!=
NULL
)
{
esp_aes_gcm.c:362
esp_aes_gcm_free()
mbedtls_gcm_free_soft
(
ctx
->
ctx_soft
)
;
esp_aes_gcm.c:363
esp_aes_gcm_free()
free
(
ctx
->
ctx_soft
)
;
esp_aes_gcm.c:364
esp_aes_gcm_free()
if
(
ctx
->
ctx_soft
!=
NULL
)
{
esp_aes_gcm.c:384
esp_aes_gcm_starts()
return
mbedtls_gcm_starts_soft
(
ctx
->
ctx_soft
,
mode
,
iv
,
iv_len
)
;
esp_aes_gcm.c:385
esp_aes_gcm_starts()
if
(
ctx
->
ctx_soft
!=
NULL
)
{
esp_aes_gcm.c:456
esp_aes_gcm_update_ad()
return
mbedtls_gcm_update_ad_soft
(
ctx
->
ctx_soft
,
aad
,
aad_len
)
;
esp_aes_gcm.c:457
esp_aes_gcm_update_ad()
if
(
ctx
->
ctx_soft
!=
NULL
)
{
esp_aes_gcm.c:497
esp_aes_gcm_update()
return
mbedtls_gcm_update_soft
(
ctx
->
ctx_soft
,
input
,
input_length
,
output
,
output_size
,
output_length
)
;
esp_aes_gcm.c:498
esp_aes_gcm_update()
if
(
ctx
->
ctx_soft
!=
NULL
)
{
esp_aes_gcm.c:569
esp_aes_gcm_finish()
return
mbedtls_gcm_finish_soft
(
ctx
->
ctx_soft
,
output
,
output_size
,
output_length
,
tag
,
tag_len
)
;
esp_aes_gcm.c:570
esp_aes_gcm_finish()
if
(
ctx
->
ctx_soft
!=
NULL
)
{
esp_aes_gcm.c:670
esp_aes_gcm_crypt_and_tag()
return
mbedtls_gcm_crypt_and_tag_soft
(
ctx
->
ctx_soft
,
mode
,
length
,
iv
,
iv_len
,
aad
,
aad_len
,
input
,
output
,
tag_len
,
tag
)
;
esp_aes_gcm.c:671
esp_aes_gcm_crypt_and_tag()
if
(
ctx
->
ctx_soft
!=
NULL
)
{
esp_aes_gcm.c:765
esp_aes_gcm_auth_decrypt()
return
mbedtls_gcm_auth_decrypt_soft
(
ctx
->
ctx_soft
,
length
,
iv
,
iv_len
,
aad
,
aad_len
,
tag
,
tag_len
,
input
,
output
)
;
esp_aes_gcm.c:766
esp_aes_gcm_auth_decrypt()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
esp_gcm_context::ctx_soft
is written by 1 function and is read by 8 functions:
esp_aes_gcm_setkey()
All items filtered out
esp_gcm_context::ctx_soft
esp_aes_gcm_setkey()
esp_aes_gcm_free()
esp_aes_gcm_starts()
esp_aes_gcm_update_ad()
esp_aes_gcm_update()
esp_aes_gcm_finish()
esp_aes_gcm_crypt_and_tag()
esp_aes_gcm_auth_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