esp_secure_boot_cfg_verify_release_mode() function
Returns the verification status for all physical security features of secure boot in release mode If the device has secure boot feature configured in the release mode, then it is highly recommended to call this API in the application startup code. This API verifies the sanity of the eFuse configuration against the release (production) mode of the secure boot feature.