Home
last modified time | relevance | path

Searched refs:cs_len (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.4.0/components/espcoredump/src/
Dcore_dump_flash.c198 uint32_t cs_len = 0; in esp_core_dump_flash_write_prepare() local
201 cs_len = esp_core_dump_checksum_size(); in esp_core_dump_flash_write_prepare()
215 if ((*data_len + padding + cs_len) > s_core_flash_config.partition.size) { in esp_core_dump_flash_write_prepare()
222 *data_len += padding + cs_len; in esp_core_dump_flash_write_prepare()
256 uint32_t cs_len = 0; in esp_core_dump_flash_write_end() local
260 cs_len = esp_core_dump_checksum_size(); in esp_core_dump_flash_write_end()
285 if (cs_len < COREDUMP_CACHE_SIZE) { in esp_core_dump_flash_write_end()
287 memcpy(wr_data->cached_data, checksum, cs_len); in esp_core_dump_flash_write_end()
290 memset(wr_data->cached_data + cs_len, 0, COREDUMP_CACHE_SIZE - cs_len); in esp_core_dump_flash_write_end()
298 ESP_COREDUMP_ASSERT(cs_len % 16 == 0); in esp_core_dump_flash_write_end()
[all …]
Dcore_dump_uart.c82 size_t cs_len = esp_core_dump_checksum_finish(wr_data->checksum_ctx, &cs_addr); in esp_core_dump_uart_write_end() local
83 wr_data->off += cs_len; in esp_core_dump_uart_write_end()
84 esp_core_dump_b64_encode((const uint8_t *)cs_addr, cs_len, (uint8_t*)&buf[0]); in esp_core_dump_uart_write_end()