mirror of
https://github.com/espressif/openthread.git
synced 2026-08-12 05:37:46 +00:00
[settings] set sensitive keys in platform settings initialization (#7496)
This commit makes the core pass the sensitive keys to the platform settings initialization, so that the platform settings implementation can know which keys are sensitive keys during the initializing and do the migration when needed.
This commit is contained in:
@@ -57,9 +57,11 @@ struct settingsBlock
|
||||
} OT_TOOL_PACKED_END;
|
||||
|
||||
// settings API
|
||||
void otPlatSettingsInit(otInstance *aInstance)
|
||||
void otPlatSettingsInit(otInstance *aInstance, const uint16_t *aSensitiveKeys, uint16_t aSensitiveKeysLength)
|
||||
{
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
OT_UNUSED_VARIABLE(aSensitiveKeys);
|
||||
OT_UNUSED_VARIABLE(aSensitiveKeysLength);
|
||||
|
||||
sSettingsBufLength = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user