[][src]Function esp_idf_bindgen::esp_image_verify

pub unsafe extern "C" fn esp_image_verify(
    mode: esp_image_load_mode_t,
    part: *const esp_partition_pos_t,
    data: *mut esp_image_metadata_t
) -> esp_err_t

@brief Verify an app image.

If encryption is enabled, data will be transparently decrypted.

@param mode Mode of operation (verify, silent verify, or load). @param part Partition to load the app from. @param[inout] data Pointer to the image metadata structure which is be filled in by this function. 'start_addr' member should be set (to the start address of the image.) Other fields will all be initialised by this function.

Image validation checks:

@return