Function esp_idf_sys::esp_ota_get_app_elf_sha256
source ยท pub unsafe extern "C" fn esp_ota_get_app_elf_sha256(
dst: *mut c_char,
size: usize,
) -> c_int
Expand description
@brief Fill the provided buffer with SHA256 of the ELF file, formatted as hexadecimal, null-terminated. If the buffer size is not sufficient to fit the entire SHA256 in hex plus a null terminator, the largest possible number of bytes will be written followed by a null.
@note This API is present for backward compatibility reasons. Alternative function
with the same functionality is esp_app_get_elf_sha256
@param dst Destination buffer @param size Size of the buffer @return Number of bytes written to dst (including null terminator)