Home
last modified time | relevance | path

Searched refs:networkKey (Results 1 – 7 of 7) sorted by relevance

/openthread-3.6.0/src/core/meshcop/
Ddataset_manager_ftd.cpp88 NetworkKey networkKey; in HandleSet() local
143 if (Tlv::Find<NetworkKeyTlv>(aMessage, networkKey) == kErrorNone) in HandleSet()
150 if (networkKey != localNetworkKey) in HandleSet()
340 NetworkKey networkKey; in GenerateLocal() local
342 Get<KeyManager>().GetNetworkKey(networkKey); in GenerateLocal()
343 IgnoreError(dataset.Write<NetworkKeyTlv>(networkKey)); in GenerateLocal()
Ddataset.cpp557 NetworkKey networkKey; in ApplyConfiguration() local
559 keyManager.GetNetworkKey(networkKey); in ApplyConfiguration()
561 if (aIsNetworkKeyUpdated && (cur->ReadValueAs<NetworkKeyTlv>() != networkKey)) in ApplyConfiguration()
/openthread-3.6.0/src/core/thread/
Dkey_manager.cpp183 NetworkKey networkKey; in KeyManager() local
188 IgnoreError(networkKey.GenerateRandom()); in KeyManager()
189 StoreNetworkKey(networkKey, /* aOverWriteExisting */ false); in KeyManager()
265 NetworkKey networkKey; in SetNetworkKey() local
267 GetNetworkKey(networkKey); in SetNetworkKey()
268 … VerifyOrExit(networkKey != aNetworkKey, Get<Notifier>().SignalIfFirst(kEventNetworkKeyChanged)); in SetNetworkKey()
/openthread-3.6.0/tools/harness-thci/
DOpenThread_WpanCtl.py1005 networkKey = ''
1010 networkKey = self.__convertLongToHex(key, 32)
1011 cmd = self.wpan_cmd_prefix + 'setprop Network:Key %s' % networkKey
1012 datasetCmd = self.wpan_cmd_prefix + 'setprop Dataset:NetworkKey %s' % networkKey
1014 networkKey = key
1015 cmd = self.wpan_cmd_prefix + 'setprop Network:Key %s' % networkKey
1016 datasetCmd = self.wpan_cmd_prefix + 'setprop Dataset:NetworkKey %s' % networkKey
1018 self.networkKey = networkKey
1436 self.networkKey = ModuleHelper.Default_NwkKey
1474 self.setNetworkKey(self.networkKey)
DOpenThread.py992 networkKey = self.__convertLongToHex(key, 32)
993 cmd = '%s %s' % (cmdName, networkKey)
994 datasetCmd = 'dataset %s %s' % (cmdName, networkKey)
996 networkKey = key
997 cmd = '%s %s' % (cmdName, networkKey)
998 datasetCmd = 'dataset %s %s' % (cmdName, networkKey)
1000 self.networkKey = networkKey
1441 self.networkKey = ModuleHelper.Default_NwkKey
1498 self.setNetworkKey(self.networkKey)
/openthread-3.6.0/src/cli/
Dcli.cpp4649 otNetworkKey networkKey; in Process() local
4651 otThreadGetNetworkKey(GetInstancePtr(), &networkKey); in Process()
4652 OutputBytesLine(networkKey.m8); in Process()
/openthread-3.6.0/src/ncp/
Dncp_base_mtd.cpp635 otNetworkKey networkKey; in HandlePropertyGet() local
637 otThreadGetNetworkKey(mInstance, &networkKey); in HandlePropertyGet()
639 return mEncoder.WriteData(networkKey.m8, OT_NETWORK_KEY_SIZE); in HandlePropertyGet()