Function esp_idf_hal::sys::esp_partition_check_identity
source ยท pub unsafe extern "C" fn esp_partition_check_identity(
partition_1: *const esp_partition_t,
partition_2: *const esp_partition_t,
) -> bool
Expand description
@brief Check for the identity of two partitions by SHA-256 digest.
@param[in] partition_1 Pointer to info for partition 1 containing app or data. (fields: address, size and type, are required to be filled). @param[in] partition_2 Pointer to info for partition 2 containing app or data. (fields: address, size and type, are required to be filled).
@return - True: In case of the two firmware is equal. - False: Otherwise