ESP-IDF
TAG
is only used within ESP-IDF.
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
ESP-IDF
TAG
TAG variable
Syntax
Show:
Summary
Declaration
from
security1.c:43
static
const
char
*
TAG
=
"security1"
;
Examples
References
from
examples
Code
Location
Referrer
static
const
char
*
TAG
=
"security1"
;
security1.c:43
ESP_LOGD
(
TAG
,
"%s:"
,
msg
)
;
security1.c:86
hexdump()
ESP_LOG_BUFFER_HEX_LEVEL
(
TAG
,
buf
,
len
,
ESP_LOG_DEBUG
)
;
security1.c:87
hexdump()
ESP_LOGD
(
TAG
,
"Request to handle setup1_command"
)
;
security1.c:94
handle_session_command1()
ESP_LOGE
(
TAG
,
"Invalid state of session %d (expected %d)"
,
SESSION_STATE_CMD1
,
cur_session
->
state
)
;
security1.c:100
handle_session_command1()
ESP_LOGE
(
TAG
,
"Failure at mbedtls_aes_setkey_enc with error code : -0x%x"
,
-
mbed_err
)
;
security1.c:115
handle_session_command1()
ESP_LOGE
(
TAG
,
"Failure at mbedtls_aes_crypt_ctr with error code : -0x%x"
,
-
mbed_err
)
;
security1.c:125
handle_session_command1()
ESP_LOGE
(
TAG
,
"Key mismatch. Close connection"
)
;
security1.c:135
handle_session_command1()
ESP_LOGE
(
TAG
,
"Failed to post credential mismatch event"
)
;
security1.c:138
handle_session_command1()
ESP_LOGE
(
TAG
,
"Error allocating memory for response1"
)
;
security1.c:146
handle_session_command1()
ESP_LOGE
(
TAG
,
"Error allocating ciphertext buffer"
)
;
security1.c:159
handle_session_command1()
ESP_LOGE
(
TAG
,
"Failure at mbedtls_aes_crypt_ctr with error code : -0x%x"
,
-
mbed_err
)
;
security1.c:171
handle_session_command1()
ESP_LOGE
(
TAG
,
"Failed to post secure session setup success event"
)
;
security1.c:192
handle_session_command1()
ESP_LOGD
(
TAG
,
"Secure session established successfully"
)
;
security1.c:195
handle_session_command1()
ESP_LOGD
(
TAG
,
"Request to handle setup0_command"
)
;
security1.c:206
handle_session_command0()
ESP_LOGW
(
TAG
,
"Invalid state of session %d (expected %d). Restarting session."
,
security1.c:212
handle_session_command0()
ESP_LOGE
(
TAG
,
"Invalid public key length"
)
;
security1.c:218
handle_session_command0()
ESP_LOGE
(
TAG
,
"Failed to post secure session invalid security params event"
)
;
security1.c:220
handle_session_command0()
ESP_LOGE
(
TAG
,
"Failed to allocate memory for mbedtls context"
)
;
security1.c:229
handle_session_command0()
ESP_LOGE
(
TAG
,
"Failed at mbedtls_ctr_drbg_seed with error code : -0x%x"
,
-
mbed_err
)
;
security1.c:244
handle_session_command0()
ESP_LOGE
(
TAG
,
"Failed at mbedtls_ecp_group_load with error code : -0x%x"
,
-
mbed_err
)
;
security1.c:251
handle_session_command0()
ESP_LOGE
(
TAG
,
"Failed at mbedtls_ecdh_gen_public with error code : -0x%x"
,
-
mbed_err
)
;
security1.c:259
handle_session_command0()
ESP_LOGE
(
TAG
,
"Failed at mbedtls_mpi_write_binary with error code : -0x%x"
,
-
mbed_err
)
;
security1.c:268
handle_session_command0()
ESP_LOGE
(
TAG
,
"Failed at mbedtls_mpi_lset with error code : -0x%x"
,
-
mbed_err
)
;
security1.c:283
handle_session_command0()
ESP_LOGE
(
TAG
,
"Failed at mbedtls_mpi_read_binary with error code : -0x%x"
,
-
mbed_err
)
;
security1.c:292
handle_session_command0()
ESP_LOGE
(
TAG
,
"Failed at mbedtls_ecdh_compute_shared with error code : -0x%x"
,
-
mbed_err
)
;
security1.c:300
handle_session_command0()
ESP_LOGE
(
TAG
,
"Failed at mbedtls_mpi_write_binary with error code : -0x%x"
,
-
mbed_err
)
;
security1.c:307
handle_session_command0()
ESP_LOGD
(
TAG
,
"Adding proof of possession"
)
;
security1.c:314
handle_session_command0()
ESP_LOGE
(
TAG
,
"Failed at mbedtls_sha256_ret with error code : -0x%x"
,
-
mbed_err
)
;
security1.c:319
handle_session_command0()
ESP_LOGE
(
TAG
,
"Failed at mbedtls_ctr_drbg_random with error code : -0x%x"
,
-
mbed_err
)
;
security1.c:333
handle_session_command0()
ESP_LOGE
(
TAG
,
"Error allocating memory for response0"
)
;
security1.c:343
handle_session_command0()
ESP_LOGD
(
TAG
,
"Session setup phase1 done"
)
;
security1.c:370
handle_session_command0()
ESP_LOGE
(
TAG
,
"Empty session data"
)
;
security1.c:395
sec1_session_setup()
ESP_LOGE
(
TAG
,
"Invalid security message type"
)
;
security1.c:407
sec1_session_setup()
ESP_LOGE
(
TAG
,
"Attempt to close invalid session"
)
;
security1.c:457
sec1_close_session()
ESP_LOGE
(
TAG
,
"Closing old session with id %"
PRIu32
,
cur_session
->
id
)
;
security1.c:480
sec1_new_session()
ESP_LOGE
(
TAG
,
"Error allocating new session"
)
;
security1.c:495
sec1_init()
ESP_LOGE
(
TAG
,
"Session with ID %"
PRId32
"not found"
,
session_id
)
;
security1.c:524
sec1_decrypt()
ESP_LOGE
(
TAG
,
"Secure session not established"
)
;
security1.c:529
sec1_decrypt()
ESP_LOGE
(
TAG
,
"Failed to allocate encrypt/decrypt buf len %d"
,
*
outlen
)
;
security1.c:536
sec1_decrypt()
ESP_LOGE
(
TAG
,
"Failed at mbedtls_aes_crypt_ctr with error code : %d"
,
ret
)
;
security1.c:543
sec1_decrypt()
ESP_LOGE
(
TAG
,
"Invalid session context data"
)
;
security1.c:558
sec1_req_handler()
ESP_LOGE
(
TAG
,
"Invalid session ID:%"
PRId32
"(expected %"
PRId32
")"
,
session_id
,
cur_session
->
id
)
;
security1.c:563
sec1_req_handler()
ESP_LOGE
(
TAG
,
"Unable to unpack setup_req"
)
;
security1.c:573
sec1_req_handler()
ESP_LOGE
(
TAG
,
"Security version mismatch. Closing connection"
)
;
security1.c:577
sec1_req_handler()
ESP_LOGE
(
TAG
,
"Session setup error %d"
,
ret
)
;
security1.c:585
sec1_req_handler()
ESP_LOGE
(
TAG
,
"System out of memory"
)
;
security1.c:596
sec1_req_handler()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
TAG
is read by 9 functions:
All items filtered out
TAG
hexdump()
handle_session_command1()
handle_session_command0()
sec1_session_setup()
sec1_close_session()
sec1_new_session()
sec1_init()
sec1_decrypt()
sec1_req_handler()
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