esp_ota_get_app_elf_sha256() function
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.
Syntax
int esp_ota_get_app_elf_sha256(char* dst,
size_t size) __attribute__((deprecated("Please use esp_app_get_elf_sha256 instead")));
Return value
Number of bytes written to dst (including null terminator)
Notes
This API is present for backward compatibility reasons. Alternative function with the same functionality is `esp_app_get_elf_sha256`