esp_flash_write_encrypted() is only used within ESP-IDF.
 
Symbols
loading...
Files
loading (2/5)...
SummarySyntaxArgumentsRelatedReferencesCall TreeData Use

Return value

- ESP_OK: on success - ESP_FAIL: bad write, this will be detected only when CONFIG_SPI_FLASH_VERIFY_WRITE is enabled - ESP_ERR_NOT_SUPPORTED: encrypted write not supported for this chip. - ESP_ERR_INVALID_ARG: Either the address, buffer or length is invalid. - ESP_ERR_NOT_ALLOWED if the address range (address -- address + length) overlaps with a read-only partition address space

Notes

Both address & length must be 16 byte aligned, as this is the encryption block size

References