ESP-IDF
+
0
/2 examples
SourceVu will show references to
HASH_LEN
from the following samples and libraries:
native_ota_example sample
simple_ota_example sample
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
HASH_LEN
HASH_LEN macro
Syntax
Show:
Summary
Declaration
from
esp_image_format.c:49
#define
HASH_LEN
ESP_IMAGE_HASH_LEN
Examples
HASH_LEN
is referenced by 2 libraries and example projects:
native_ota_example sample
simple_ota_example sample
References
from
0/2
examples
Code
Location
#define
HASH_LEN
ESP_IMAGE_HASH_LEN
esp_image_format.c:49
#define
HASH_LEN
32
/* SHA-256 digest length */
partition_target.c:24
CHECK_ERR
(
bootloader_flash_read
(
data
->
start_addr
+
data
->
image_len
,
&
data
->
image_digest
,
HASH_LEN
,
true
)
)
;
esp_image_format.c:891
data
->
image_len
+=
HASH_LEN
;
esp_image_format.c:893
uint8_t
image_hash
[
HASH_LEN
]
=
{
0
}
;
esp_image_format.c:1046
bootloader_debug_buffer
(
image_hash
,
HASH_LEN
,
"Calculated hash"
)
;
esp_image_format.c:1050
if
(
memcmp
(
data
->
image_digest
,
image_hash
,
HASH_LEN
)
!=
0
)
{
esp_image_format.c:1053
bootloader_debug_buffer
(
data
->
image_digest
,
HASH_LEN
,
"Expected hash"
)
;
esp_image_format.c:1055
uint8_t
sha_256
[
2
]
[
HASH_LEN
]
=
{
0
}
;
partition_target.c:192
if
(
memcmp
(
sha_256
[
0
]
,
sha_256
[
1
]
,
HASH_LEN
)
==
0
)
{
partition_target.c:197
Call Tree
from
0/2
examples
All items filtered out
All items filtered out
Data Use
from
0/2
examples
All items filtered out
All items filtered out
Class Tree
from
0/2
examples
All items filtered out
All items filtered out
Override Tree
from
0/2
examples
All items filtered out
All items filtered out
Implementations
from
0/2
examples
All items filtered out
All items filtered out
Instances
from
0/2
examples
Lifecycle
from
0/2
examples
All items filtered out
All items filtered out