Function esp_idf_sys::esp_secure_boot_read_key_digests

source ·
pub unsafe extern "C" fn esp_secure_boot_read_key_digests(
    trusted_key_digests: *mut esp_secure_boot_key_digests_t,
) -> esp_err_t
Expand description

@brief Read key digests from efuse. Any revoked/missing digests will be marked as NULL

@param[out] trusted_key_digests Trusted keys digests, stored in this parameter after successfully completing this function. The number of digests depends on the SOC’s capabilities.

@return

  • ESP_OK: Successful.
  • ESP_FAIL: If trusted_keys is NULL or there is no valid digest.