esp_secure_boot_verify_ecdsa_signature_block() function
Verify the ECDSA secure boot signature block for Secure Boot V1. Calculates Deterministic ECDSA w/ SHA256 based on the SHA256 hash of the image. ECDSA signature verification must be enabled in project configuration to use this function. Similar to esp_secure_boot_verify_signature(), but can be used when the digest is precalculated.
Arguments
sig_block
Pointer to ECDSA signature block data
image_digest
Pointer to 32 byte buffer holding SHA-256 hash.
verified_digest
Pointer to 32 byte buffer that will receive verified digest if verification completes. (Used during bootloader implementation only, result is invalid otherwise.)