Home
last modified time | relevance | path

Searched refs:image_length (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.5.0/components/esp_https_ota/src/
Desp_https_ota.c35 int image_length; member
221 …https_ota_handle->image_length = esp_http_client_get_content_length(https_ota_handle->http_client); in esp_https_ota_begin()
224 if (https_ota_handle->image_length > https_ota_handle->max_http_request_size) { in esp_https_ota_begin()
253 …https_ota_handle->image_length = esp_http_client_get_content_length(https_ota_handle->http_client); in esp_https_ota_begin()
427 …e->partial_http_download || (handle->partial_http_download && handle->image_length == handle->bina… in esp_https_ota_perform()
437 …if (handle->state == ESP_HTTPS_OTA_IN_PROGRESS && handle->image_length > handle->binary_file_len) { in esp_https_ota_perform()
440 if ((handle->image_length - handle->binary_file_len) > handle->max_http_request_size) { in esp_https_ota_perform()
468 ret = (handle->image_length == handle->binary_file_len); in esp_https_ota_is_complete_data_received()
569 return handle->image_length; in esp_https_ota_get_image_size()
/hal_espressif-3.5.0/components/bootloader_support/src/esp32h2/
Dflash_encrypt.c222 uint32_t image_length; in encrypt_bootloader() local
224 if (esp_image_verify_bootloader(&image_length) == ESP_OK) { in encrypt_bootloader()
229 if (ESP_BOOTLOADER_OFFSET + image_length > ESP_PARTITION_TABLE_OFFSET) { in encrypt_bootloader()
235 err = esp_flash_encrypt_region(ESP_BOOTLOADER_OFFSET, image_length); in encrypt_bootloader()
/hal_espressif-3.5.0/components/bootloader_support/src/flash_encryption/
Dflash_encrypt.c244 uint32_t image_length; in encrypt_bootloader() local
246 if (esp_image_verify_bootloader(&image_length) == ESP_OK) { in encrypt_bootloader()
251 if (ESP_BOOTLOADER_OFFSET + image_length > ESP_PARTITION_TABLE_OFFSET) { in encrypt_bootloader()
257 err = esp_flash_encrypt_region(ESP_BOOTLOADER_OFFSET, image_length); in encrypt_bootloader()
/hal_espressif-3.5.0/components/esptool_py/esptool/esptool/
Dbin_image.py760 image_length = f.tell()
763 assert ((image_length + space_after_checksum) % self.IROM_ALIGN) == 0
774 digest.update(f.read(image_length))
778 image_length = f.tell()
779 if image_length % self.pad_to_size != 0:
780 pad_by = self.pad_to_size - (image_length % self.pad_to_size)
929 image_length = f.tell()
940 digest.update(f.read(image_length))