/openthread-latest/tests/toranj/cli/ |
D | test-019-netdata-context-id.py | 112 verify(any([context.startswith('fd00:1:0:0::/64') for context in contexts])) 113 verify(any([context.startswith('fd00:2:0:0::/64') for context in contexts])) 114 verify(any([context.startswith('fd00:3:0:0::/64') for context in contexts])) 115 for context in contexts: 116 verify(context.endswith('c')) 138 verify(any([context.startswith('fd00:1:0:0::/64') for context in contexts])) 139 verify(any([context.startswith('fd00:2:0:0::/64') for context in contexts])) 140 verify(any([context.startswith('fd00:3:0:0::/64') for context in contexts])) 141 for context in contexts: 142 if context.startswith('fd00:1:0:0::/64') or context.startswith('fd00:2:0:0::/64'): [all …]
|
D | test-035-context-id-change-addr-reg.py | 89 verify(any([context.startswith('fd00:1:0:0::/64 1 c') for context in contexts])) 90 verify(any([context.startswith('fd00:2:0:0::/64 2 c') for context in contexts])) 108 verify(any([context.startswith('fd00:2:0:0::/64 2 c') for context in contexts])) 125 verify(any([context.startswith('fd00:2:0:0::/64 2 c') for context in contexts])) 176 verify(any([context.startswith('fd00:2:0:0::/64 1 c') for context in contexts]))
|
/openthread-latest/tools/tcat_ble_client/cli/ |
D | dataset_commands.py | 35 def handle_dataset_entry_command(type: MeshcopTlvType, args, context): argument 36 ds: ThreadDataset = context['dataset'] 51 async def execute_default(self, args, context): argument 52 ds: ThreadDataset = context['dataset'] 62 async def execute_default(self, args, context): argument 65 commands: ThreadDataset = context['commands'] 80 async def execute_default(self, args, context): argument 81 ds: ThreadDataset = context['dataset'] 101 async def execute_default(self, args, context): argument 102 context['dataset'].set_from_bytes(initial_dataset) [all …]
|
D | base_commands.py | 53 async def execute_default(self, args, context): argument 54 commands = context['commands'] 72 def prepare_data(self, args, context): argument 75 async def execute_default(self, args, context): argument 76 if 'ble_sstream' not in context or context['ble_sstream'] is None: 79 bless: BleStreamSecure = context['ble_sstream'] 83 data = self.prepare_data(args, context) 102 def prepare_data(self, args, context): argument 114 def prepare_data(self, args, context): argument 115 dataset: ThreadDataset = context['dataset'] [all …]
|
D | command.py | 51 async def execute(self, args, context) -> CommandResult: argument 53 return await self.execute_subcommand(args, context) 55 return await self.execute_default(args, context) 57 async def execute_subcommand(self, args, context) -> CommandResult: argument 58 return await self._subcommands[args[0]].execute(args[1:], context) 61 async def execute_default(self, args, context): argument
|
D | tlv_commands.py | 39 async def execute_default(self, args, context): argument 53 def prepare_data(self, args, context): argument 72 async def execute_default(self, args, context): argument
|
/openthread-latest/src/core/crypto/ |
D | crypto_platform.cpp | 91 mbedtls_aes_context *context; in otPlatCryptoAesInit() local 96 context = static_cast<mbedtls_aes_context *>(aContext->mContext); in otPlatCryptoAesInit() 97 mbedtls_aes_init(context); in otPlatCryptoAesInit() 106 mbedtls_aes_context *context; in otPlatCryptoAesSetKey() local 112 context = static_cast<mbedtls_aes_context *>(aContext->mContext); in otPlatCryptoAesSetKey() 113 …VerifyOrExit((mbedtls_aes_setkey_enc(context, key.GetBytes(), (key.GetLength() * kBitsPerByte)) ==… in otPlatCryptoAesSetKey() 123 mbedtls_aes_context *context; in otPlatCryptoAesEncrypt() local 128 context = static_cast<mbedtls_aes_context *>(aContext->mContext); in otPlatCryptoAesEncrypt() 129 …VerifyOrExit((mbedtls_aes_crypt_ecb(context, MBEDTLS_AES_ENCRYPT, aInput, aOutput) == 0), error = … in otPlatCryptoAesEncrypt() 138 mbedtls_aes_context *context; in otPlatCryptoAesFree() local [all …]
|
/openthread-latest/third_party/mbedtls/repo/tests/data_files/ |
D | tls13_early_data.txt | 1 EarlyData context: line 0 lf 2 EarlyData context: line 1 lf 3 EarlyData context: line 2 lf 4 EarlyData context: If it appears, that means early_data received.
|
/openthread-latest/src/posix/platform/ |
D | spi_interface.cpp | 618 … otSysMainloopContext *context = reinterpret_cast<otSysMainloopContext *>(aMainloopContext); in UpdateFdSet() local 620 assert(context != nullptr); in UpdateFdSet() 631 if (context->mMaxFd < mIntGpioValueFd) in UpdateFdSet() 633 context->mMaxFd = mIntGpioValueFd; in UpdateFdSet() 647 FD_SET(mIntGpioValueFd, &context->mReadFdSet); in UpdateFdSet() 707 if (timercmp(&timeout, &context->mTimeout, <)) in UpdateFdSet() 709 context->mTimeout = timeout; in UpdateFdSet() 715 …const otSysMainloopContext *context = reinterpret_cast<const otSysMainloopContext *>(aMainloopCont… in Process() local 717 assert(context != nullptr); in Process() 719 if (FD_ISSET(mIntGpioValueFd, &context->mReadFdSet)) in Process() [all …]
|
D | hdlc_interface.cpp | 352 otSysMainloopContext *context = reinterpret_cast<otSysMainloopContext *>(aMainloopContext); in UpdateFdSet() local 354 assert(context != nullptr); in UpdateFdSet() 356 FD_SET(mSockFd, &context->mReadFdSet); in UpdateFdSet() 358 if (context->mMaxFd < mSockFd) in UpdateFdSet() 360 context->mMaxFd = mSockFd; in UpdateFdSet() 379 …const otSysMainloopContext *context = reinterpret_cast<const otSysMainloopContext *>(aMainloopCont… in Process() 381 assert(context != nullptr); in Process() 383 if (FD_ISSET(mSockFd, &context->mReadFdSet)) in Process()
|
/openthread-latest/third_party/mbedtls/repo/library/ |
D | psa_crypto_se.c | 49 psa_drv_se_context_t context; member 84 return &driver->u.context; in psa_get_se_driver_context() 96 *p_drv_context = (driver ? &driver->u.context : NULL); in psa_get_se_driver() 210 status = p_validate_slot_number(&driver->u.context, in psa_find_se_slot_for_key() 226 status = p_allocate(&driver->u.context, in psa_find_se_slot_for_key() 252 &driver->u.context, in psa_destroy_se_key() 270 &driver->u.context, in psa_init_all_se_drivers()
|
/openthread-latest/tests/scripts/thread-cert/ |
D | lowpan.py | 603 context = self._context_manager[sci] 606 prefix=context.prefix, 607 prefix_length=context.prefix_length, 612 context = self._context_manager[sci] 616 prefix=context.prefix, 617 prefix_length=context.prefix_length, 622 context = self._context_manager[sci] 625 prefix=context.prefix, 626 prefix_length=context.prefix_length, 655 context = self._context_manager[dci] [all …]
|
D | test_lowpan.py | 2633 context = any_context() 2636 context_manager[sci] = context 2647 src_addr = self._merge_prefix_and_address(context.prefix, context.prefix_length, eui64) 2661 context = any_context() 2664 context_manager[sci] = context 2677 src_addr = self._merge_prefix_and_address(context.prefix, context.prefix_length, iid) 2691 context = any_context() 2694 context_manager[sci] = context 2707 src_addr = self._merge_prefix_and_address(context.prefix, context.prefix_length, iid) 2830 context = any_context() [all …]
|
/openthread-latest/third_party/mbedtls/repo/tests/src/ |
D | fake_external_rng_for_test.c | 30 mbedtls_psa_external_random_context_t *context, in mbedtls_psa_external_get_random() argument 33 (void) context; in mbedtls_psa_external_get_random()
|
/openthread-latest/third_party/mbedtls/repo/docs/architecture/ |
D | alternative-implementations.md | 38 * Create a header file `xxx_alt.h` that defines the context type(s) used by the module. For example… 43 ### Constraints on context types 45 …context types to any C type except incomplete and array types (although they would normally be `st… 47 Where a context type needs to have a certain field, the field must have the same type and semantics… 54 …context object in memory (except during the execution of a library function that takes this contex… 64 In practice, this means that a pointer to a context or to a part of a context does not remain valid… 78 … you must use the same layout for context objects as the built-in implementation. If you want to u…
|
/openthread-latest/tools/harness-simulation/posix/sniffer_sim/ |
D | sniffer.py | 81 def Start(self, request, context): argument 141 def TransferPcapng(self, request, context): argument 172 def FilterNodes(self, request, context): argument 192 def Stop(self, request, context): argument 227 def exit_handler(signum, context): argument
|
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_psa_crypto_se_driver_hal.function | 131 psa_drv_se_context_t *context, 137 (void) context; 153 static psa_status_t counter_allocate(psa_drv_se_context_t *context, 162 if (context->persistent_data_size != sizeof(psa_key_slot_number_t)) { 176 static psa_status_t null_import(psa_drv_se_context_t *context, 183 (void) context; 196 static psa_status_t null_generate(psa_drv_se_context_t *context, 203 (void) context; 218 static psa_status_t null_destroy(psa_drv_se_context_t *context, 222 (void) context; [all …]
|
D | test_suite_psa_crypto_se_driver_hal_mocks.function | 165 psa_status_t mock_export(psa_drv_se_context_t *context, 171 (void) context; 182 psa_status_t mock_export_public(psa_drv_se_context_t *context, 188 (void) context; 199 psa_status_t mock_sign(psa_drv_se_context_t *context, 208 (void) context; 222 psa_status_t mock_verify(psa_drv_se_context_t *context, 230 (void) context; 261 psa_status_t mock_destroy(psa_drv_se_context_t *context, 265 (void) context;
|
/openthread-latest/src/core/thread/ |
D | network_data_leader_ftd.cpp | 1098 ContextTlv *context; in RemoveRlocInPrefix() local 1136 if ((context = aPrefix.FindSubTlv<ContextTlv>()) != nullptr) in RemoveRlocInPrefix() 1140 context->ClearCompress(); in RemoveRlocInPrefix() 1141 mContextIds.ScheduleToRemove(context->GetContextId()); in RemoveRlocInPrefix() 1145 context->SetCompress(); in RemoveRlocInPrefix() 1146 mContextIds.MarkAsInUse(context->GetContextId()); in RemoveRlocInPrefix() 1261 ContextTlv *context; in RemoveContext() local 1263 while ((context = NetworkDataTlv::Find<ContextTlv>(start, aPrefix.GetNext())) != nullptr) in RemoveContext() 1265 if (context->GetContextId() == aContextId) in RemoveContext() 1267 uint8_t subTlvSize = context->GetSize(); in RemoveContext() [all …]
|
/openthread-latest/.github/ISSUE_TEMPLATE/ |
D | bug_report.md | 19 **Additional context** Add any other context about the problem here.
|
D | feature_request.md | 12 **Additional context** Add any other context or screenshots about the feature request here.
|
/openthread-latest/src/core/utils/ |
D | slaac_address.cpp | 367 Lowpan::Context context; in UpdateContextIdFor() local 369 if (Get<NetworkData::Leader>().GetContext(aSlaacAddress.GetAddress(), context) != kErrorNone) in UpdateContextIdFor() 371 context.mContextId = SlaacAddress::kInvalidContextId; in UpdateContextIdFor() 374 VerifyOrExit(context.mContextId != aSlaacAddress.GetContextId()); in UpdateContextIdFor() 375 aSlaacAddress.SetContextId(context.mContextId); in UpdateContextIdFor()
|
/openthread-latest/third_party/mbedtls/repo/docs/ |
D | tls13-early-data.md | 33 where ssl is the SSL context to use, data_to_write the address of the data 35 not be completed, not even started for the SSL context ssl when the function is 73 specifically by the user of write_early_data(). A fresh SSL context (typically 159 context to use:
|
D | use-psa-crypto.md | 73 wrap a PSA key pair into a PK context. The key can be used for private-key 82 with a context set this way, while they would be available with a normal 83 context: `mbedtls_pk_check_pair()`, `mbedtls_pk_debug()`, all public key 86 **Use in X.509 and TLS:** opt-in. The application needs to construct the PK context 88 resulting context to the following existing APIs: 124 There is a new API function `mbedtls_cipher_setup_psa()` to set up a context
|
/openthread-latest/src/cli/ |
D | cli_network_data.cpp | 599 otLowpanContextInfo context; in OutputNetworkData() local 640 … while (otNetDataGetNextLowpanContextInfo(GetInstancePtr(), &iterator, &context) == OT_ERROR_NONE) in OutputNetworkData() 642 OutputIp6Prefix(context.mPrefix); in OutputNetworkData() 643 OutputLine(" %u %c", context.mContextId, context.mCompressFlag ? 'c' : '-'); in OutputNetworkData()
|