/openthread-3.7.0/tests/unit/ |
D | test_pskc.cpp | 51 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()
|
D | CMakeLists.txt | 212 ot_unit_test(pskc)
|
/openthread-3.7.0/src/cli/ |
D | README_DATASET.md | 302 - [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
|
D | README.md | 100 - [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 …]
|
D | cli.cpp | 3865 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/ |
D | dataset_manager_ftd.cpp | 344 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()
|
D | border_agent.cpp | 628 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/ |
D | Cert_9_2_05_ActiveDataset.py | 250 p.thread_meshcop.tlv.pskc == 'd2aa9cd8dff7919122d77d37ec3c1b5f' 343 p.thread_meshcop.tlv.pskc == '08f4e9531e8efa8e852d5f4fb951b13e'
|
D | Cert_9_2_06_DatasetDissemination.py | 406 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 \
|
D | node.py | 2601 pskc=None, argument 2652 if pskc is not None: 2653 cmd = 'dataset pskc %s' % pskc
|
/openthread-3.7.0/src/ncp/ |
D | ncp_base_ftd.cpp | 505 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/ |
D | key_manager.cpp | 218 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/ |
D | dataset_entries.py | 307 pskc = args[0] 308 if (len(pskc) > self.maxlen * 2): 310 self.data = pskc
|
/openthread-3.7.0/tools/harness-thci/ |
D | OpenThread.py | 1449 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
|
D | OpenThread_WpanCtl.py | 1443 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/ |
D | check-posix-pty | 134 "${OT_CTL[@]}" -I "${NETIF_NAME}" pskc -p 123456 | grep 'Done' || die 'unable to set pskc'
|
/openthread-3.7.0/tests/scripts/thread-cert/pktverify/ |
D | test_layer_fields.py | 202 self.assertIsInstance(thread_meshcop.tlv.pskc, Bytes)
|
/openthread-3.7.0/tools/otci/tests/ |
D | test_otci.py | 738 pskc=TEST_PSKC,
|
/openthread-3.7.0/tools/otci/otci/ |
D | otci.py | 1802 pskc: Optional[str] = None, 1830 if pskc is not None:
|