Searched refs:image_length (Results 1 – 4 of 4) sorted by relevance
35 int image_length; member221 …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()
222 uint32_t image_length; in encrypt_bootloader() local224 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()
244 uint32_t image_length; in encrypt_bootloader() local246 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()
760 image_length = f.tell()763 assert ((image_length + space_after_checksum) % self.IROM_ALIGN) == 0774 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))