esp_encrypted_img_decrypt_end() function
Clean-up decryption process.
Arguments
ctx
esp_decrypt_handle_t handle
Return value
- ESP_FAIL On failure - ESP_ERR_INVALID_ARG Invalid argument - ESP_OK Success
Notes
This API cleans the decrypt handle and return ESP_FAIL if the complete data has not been decrypted. Verify if complete data has been decrypted using API `esp_encrypted_img_is_complete_data_received` to prevent an early call to this API.