Function esp_idf_sys::nvs_flash_read_security_cfg_v2
source ยท pub unsafe extern "C" fn nvs_flash_read_security_cfg_v2(
scheme_cfg: *mut nvs_sec_scheme_t,
cfg: *mut nvs_sec_cfg_t,
) -> esp_err_t
Expand description
@brief Read NVS security configuration set by the specified security scheme
@param[in] scheme_cfg Security scheme specific configuration
@param[out] cfg Security configuration (encryption keys)
@return - ESP_OK, if cfg was read successfully; - ESP_ERR_INVALID_ARG, if scheme_cfg or cfg is NULL; - ESP_FAIL, if the key reading process fails