Searched refs:sec_start (Results 1 – 1 of 1) sorted by relevance
463 uint32_t sec_start = i + src_addr; in esp_flash_encrypt_region() local464 err = bootloader_flash_read(sec_start, buf, FLASH_SECTOR_SIZE, true); in esp_flash_encrypt_region()468 err = bootloader_flash_erase_sector(sec_start / FLASH_SECTOR_SIZE); in esp_flash_encrypt_region()472 err = bootloader_flash_write(sec_start, buf, FLASH_SECTOR_SIZE, true); in esp_flash_encrypt_region()