Found 2 other functions taking a
esp_secure_boot_sig_block_t
argument:
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.
Legacy ECDSA verification function