Home
last modified time | relevance | path

Searched refs:pskc (Results 1 – 19 of 19) sorted by relevance

/openthread-3.7.0/tests/unit/
Dtest_pskc.cpp51 Pskc pskc; in TestMinimumPassphrase() local
53 … SuccessOrQuit(GeneratePskc(kPassphrase, AsCoreType(&kNetworkName), AsCoreType(&kExtPanId), pskc)); in TestMinimumPassphrase()
54 VerifyOrQuit(pskc == AsCoreType(&kExpectedPskc)); in TestMinimumPassphrase()
85 Pskc pskc; in TestMaximumPassphrase() local
87 … SuccessOrQuit(GeneratePskc(kPassphrase, AsCoreType(&kNetworkName), AsCoreType(&kExtPanId), pskc)); in TestMaximumPassphrase()
88 VerifyOrQuit(pskc == AsCoreType(&kExpectedPskc)); in TestMaximumPassphrase()
103 Pskc pskc; in TestExampleInSpec() local
105 … SuccessOrQuit(GeneratePskc(kPassphrase, AsCoreType(&kNetworkName), AsCoreType(&kExtPanId), pskc)); in TestExampleInSpec()
106 VerifyOrQuit(pskc == AsCoreType(&kExpectedPskc)); in TestExampleInSpec()
DCMakeLists.txt212 ot_unit_test(pskc)
/openthread-3.7.0/src/cli/
DREADME_DATASET.md302 - [pskc](#pskc)
335 pskc
483 …edential in the dataset buffer becomes stale after changing this value. Use [pskc](#pskc) to reset.
589 …edential in the dataset buffer becomes stale after changing this value. Use [pskc](#pskc) to reset.
665 ### pskc subsection
667 Usage: `pskc [-p] [<key>|<passphrase>]`
672 > dataset pskc
682 > dataset pskc 67c0c203aa0b042bfb5381c47aef4d9e
684 > dataset pskc -p 123456
DREADME.md100 - [pskc](#pskc)
1549 …commissioning credential becomes stale after changing this value. Use [pskc](#pskc--p-keypassphras…
2762 …commissioning credential becomes stale after changing this value. Use [pskc](#pskc--p-keypassphras…
2994 ### pskc subsection
2996 Get pskc in hex format.
2999 > pskc
3004 ### pskc [-p] \<key\>|\<passphrase\>
3006 …th `-p` generate pskc from \<passphrase\> (UTF-8 encoded) together with **current** network name a…
3009 > pskc 67c0c203aa0b042bfb5381c47aef4d9e
3011 > pskc -p 123456
[all …]
Dcli.cpp3865 otPskc pskc; in Process() local
3879 otThreadGetPskc(GetInstancePtr(), &pskc); in Process()
3880 OutputBytesLine(pskc.m8); in Process()
3896 SuccessOrExit(error = aArgs[0].ParseAsHexString(pskc.m8)); in Process()
3914 otThreadGetExtendedPanId(GetInstancePtr()), &pskc)); in Process()
3921 error = otThreadSetPskc(GetInstancePtr(), &pskc); in Process()
/openthread-3.7.0/src/core/meshcop/
Ddataset_manager_ftd.cpp344 Pskc pskc; in GenerateLocal() local
348 Get<KeyManager>().GetPskc(pskc); in GenerateLocal()
352 SuccessOrExit(error = pskc.GenerateRandom()); in GenerateLocal()
355 IgnoreError(dataset.Write<PskcTlv>(pskc)); in GenerateLocal()
Dborder_agent.cpp628 Pskc pskc; in Start() local
630 Get<KeyManager>().GetPskc(pskc); in Start()
631 error = Start(aUdpPort, pskc.m8, Pskc::kSize); in Start()
632 pskc.Clear(); in Start()
/openthread-3.7.0/tests/scripts/thread-cert/
DCert_9_2_05_ActiveDataset.py250 p.thread_meshcop.tlv.pskc == 'd2aa9cd8dff7919122d77d37ec3c1b5f'
343 p.thread_meshcop.tlv.pskc == '08f4e9531e8efa8e852d5f4fb951b13e'
DCert_9_2_06_DatasetDissemination.py406 p.thread_meshcop.tlv.pskc == COMM_ACTIVE_PSKC and \
504 p.thread_meshcop.tlv.pskc == COMM_ACTIVE_PSKC and \
578 p.thread_meshcop.tlv.pskc == COMM_ACTIVE_PSKC and \
Dnode.py2601 pskc=None, argument
2652 if pskc is not None:
2653 cmd = 'dataset pskc %s' % pskc
/openthread-3.7.0/src/ncp/
Dncp_base_ftd.cpp505 Pskc pskc; in HandlePropertyGet() local
507 otThreadGetPskc(mInstance, &pskc); in HandlePropertyGet()
509 return mEncoder.WriteData(pskc.m8, sizeof(spinel_net_pskc_t)); in HandlePropertyGet()
1021 otPskc pskc; in HandlePropertySet_SPINEL_PROP_MESHCOP_COMMISSIONER_GENERATE_PSKC() local
1029 … reinterpret_cast<const otExtendedPanId *>(extPanIdData), &pskc)); in HandlePropertySet_SPINEL_PROP_MESHCOP_COMMISSIONER_GENERATE_PSKC()
1033 SuccessOrExit(error = mEncoder.WriteData(pskc.m8, sizeof(pskc))); in HandlePropertySet_SPINEL_PROP_MESHCOP_COMMISSIONER_GENERATE_PSKC()
/openthread-3.7.0/src/core/thread/
Dkey_manager.cpp218 Pskc pskc; in SetPskc() local
220 GetPskc(pskc); in SetPskc()
221 VerifyOrExit(aPskc != pskc, Get<Notifier>().SignalIfFirst(kEventPskcChanged)); in SetPskc()
/openthread-3.7.0/tools/tcat_ble_client/dataset/
Ddataset_entries.py307 pskc = args[0]
308 if (len(pskc) > self.maxlen * 2):
310 self.data = pskc
/openthread-3.7.0/tools/harness-thci/
DOpenThread.py1449 self.pskc = hex(stretchedPSKc).rstrip('L').lstrip('0x')
1500 self.setPSKc(self.pskc)
2147 config.pskc = bytearray.fromhex(self.pskc)
2537 pskc = '%x' % stretchedPskc
2539 if len(pskc) < 32:
2540 pskc = pskc.zfill(32)
2542 cmd += pskc
DOpenThread_WpanCtl.py1443 self.pskc = '00000000000000000000000000000000'
1476 self.setPSKc(self.pskc)
2373 pskc = '%x' % stretchedPskc
2375 if len(pskc) < 32:
2376 pskc = pskc.zfill(32)
2378 setRawTLVCmd += pskc
/openthread-3.7.0/script/
Dcheck-posix-pty134 "${OT_CTL[@]}" -I "${NETIF_NAME}" pskc -p 123456 | grep 'Done' || die 'unable to set pskc'
/openthread-3.7.0/tests/scripts/thread-cert/pktverify/
Dtest_layer_fields.py202 self.assertIsInstance(thread_meshcop.tlv.pskc, Bytes)
/openthread-3.7.0/tools/otci/tests/
Dtest_otci.py738 pskc=TEST_PSKC,
/openthread-3.7.0/tools/otci/otci/
Dotci.py1802 pskc: Optional[str] = None,
1830 if pskc is not None: