Function esp_idf_svc::sys::esp_app_get_elf_sha256
source ยท pub unsafe extern "C" fn esp_app_get_elf_sha256(
dst: *mut i8,
size: usize,
) -> i32
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. @param dst Destination buffer @param size Size of the buffer @return Number of bytes written to dst (including null terminator)