/openthread-latest/tests/unit/ |
D | test_util.cpp | 41 uint16_t counter; in DumpBuffer() local 46 counter = 0; in DumpBuffer() 52 charBuff[counter] = isprint(byte) ? static_cast<char>(byte) : '.'; in DumpBuffer() 53 counter++; in DumpBuffer() 55 if (counter == kBytesPerLine) in DumpBuffer() 57 charBuff[counter] = 0; in DumpBuffer() 59 counter = 0; in DumpBuffer() 63 charBuff[counter] = 0; in DumpBuffer() 65 while (counter++ < kBytesPerLine) in DumpBuffer()
|
/openthread-latest/src/core/mac/ |
D | mac_types.cpp | 236 uint32_t counter = 0; in Get() local 242 counter = m154Counter; in Get() 248 counter = mTrelCounter; in Get() 253 return counter; in Get() 278 uint32_t counter = 0; in GetMaximum() local 281 counter = Max(counter, m154Counter); in GetMaximum() 285 counter = Max(counter, mTrelCounter); in GetMaximum() 288 return counter; in GetMaximum()
|
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_chacha20.function | 13 int counter, 29 TEST_ASSERT(mbedtls_chacha20_crypt(key_str->x, nonce_str->x, counter, src_str->len, src_str->x, 42 TEST_ASSERT(mbedtls_chacha20_starts(&ctx, nonce_str->x, counter) == 0); 56 TEST_ASSERT(mbedtls_chacha20_starts(&ctx, nonce_str->x, counter) == 0);
|
D | test_suite_ctr_drbg.data | 1109 Increment counter rollover 1112 Increment counter 00 1115 Increment counter ff00 1118 Increment counter ff0000 1121 Increment counter ff000000 1124 Increment counter ff00000000 1127 Increment counter ff0000000000 1130 Increment counter ff000000000000 1133 Increment counter 01 1136 Increment counter ff01 [all …]
|
D | test_suite_ssl.function | 1271 * 2) The record counter sometimes determines the IV. 2760 srv_pattern.counter = 0; 2761 cli_pattern.counter = 0; 2779 TEST_ASSERT(srv_pattern.counter >= 1); 2783 TEST_ASSERT(cli_pattern.counter >= 1); 3099 srv_pattern.counter = 0; 3144 TEST_EQUAL(srv_pattern.counter, 1); 3878 TEST_EQUAL(server_pattern.counter, 1); 4991 TEST_EQUAL(server_pattern.counter, 1); 4992 server_pattern.counter = 0; [all …]
|
D | test_suite_entropy.function | 53 * Just resetting the counter. New sources will overwrite existing ones.
|
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/ |
D | chacha20.h | 117 uint32_t counter); 183 uint32_t counter,
|
D | ctr_drbg.h | 171 unsigned char MBEDTLS_PRIVATE(counter)[16]; /*!< The counter (V). */
|
/openthread-latest/third_party/mbedtls/repo/library/ |
D | ctr_drbg.c | 350 mbedtls_ctr_increment_counter(ctx->counter); in ctr_drbg_update_internal() 357 ctx->counter, p)) != 0) { in ctr_drbg_update_internal() 361 status = psa_cipher_update(&ctx->psa_ctx.operation, ctx->counter, sizeof(ctx->counter), in ctr_drbg_update_internal() 391 memcpy(ctx->counter, tmp + MBEDTLS_CTR_DRBG_KEYSIZE, in ctr_drbg_update_internal() 653 mbedtls_ctr_increment_counter(ctx->counter); in mbedtls_ctr_drbg_random_with_add() 660 ctx->counter, locals.tmp)) != 0) { in mbedtls_ctr_drbg_random_with_add() 667 status = psa_cipher_update(&ctx->psa_ctx.operation, ctx->counter, sizeof(ctx->counter), in mbedtls_ctr_drbg_random_with_add()
|
D | pkcs5.c | 281 unsigned char counter[4]; in pkcs5_pbkdf2_hmac() local 283 memset(counter, 0, 4); in pkcs5_pbkdf2_hmac() 284 counter[3] = 1; in pkcs5_pbkdf2_hmac() 302 if ((ret = mbedtls_md_hmac_update(ctx, counter, 4)) != 0) { in pkcs5_pbkdf2_hmac() 343 if (++counter[i - 1] != 0) { in pkcs5_pbkdf2_hmac()
|
D | chacha20.c | 183 uint32_t counter) in mbedtls_chacha20_starts() argument 186 ctx->state[12] = counter; in mbedtls_chacha20_starts() 247 uint32_t counter, in mbedtls_chacha20_crypt() argument 262 ret = mbedtls_chacha20_starts(&ctx, nonce, counter); in mbedtls_chacha20_crypt()
|
D | rsa.c | 1620 unsigned char counter[4]; in mgf_mask() local 1643 memset(counter, 0, 4); in mgf_mask() 1660 if ((ret = mbedtls_md_update(&md_ctx, counter, 4)) != 0) { in mgf_mask() 1671 counter[3]++; in mgf_mask()
|
/openthread-latest/third_party/tcplp/bsdtcp/ |
D | tcp_fastopen.c | 494 unsigned int *counter; in tcp_fastopen_alloc_counter() 495 counter = uma_zalloc(V_counter_zone, M_NOWAIT); in tcp_fastopen_alloc_counter() 496 if (counter) in tcp_fastopen_alloc_counter() 497 *counter = 1; in tcp_fastopen_alloc_counter() 498 return (counter); in tcp_fastopen_alloc_counter() 504 tcp_fastopen_decrement_counter(unsigned int *counter) in tcp_fastopen_decrement_counter() argument 507 if (*counter == 1) in tcp_fastopen_decrement_counter() 508 uma_zfree(V_counter_zone, counter); in tcp_fastopen_decrement_counter() 510 atomic_subtract_int(counter, 1); in tcp_fastopen_decrement_counter()
|
/openthread-latest/tests/toranj/ |
D | start.sh | 56 counter=0 64 if [ "$counter" -lt 7 ]; then 65 counter=$((counter + 1)) 66 echo Attempt $counter running "$1" failed. Trying again.
|
/openthread-latest/src/cli/ |
D | cli.cpp | 697 for (const BaCounterName &counter : kBaCounterNames) in OutputBorderAgentCounters() local 699 OutputLine("%s: %lu", counter.mName, ToUlong(aCounters.*counter.mValuePtr)); in OutputBorderAgentCounters() 2172 for (const BrCounterName &counter : kCounterNames) in OutputBorderRouterCounters() local 2174 OutputFormat("%s:", counter.mName); in OutputBorderRouterCounters() 2176 … Uint64ToString((brCounters->*counter.mPacketsAndBytes).mPackets, uint64StringBuffer)); in OutputBorderRouterCounters() 2177 …OutputLine(" Bytes %s", Uint64ToString((brCounters->*counter.mPacketsAndBytes).mBytes, uint64Strin… in OutputBorderRouterCounters() 2352 for (const MacCounterName &counter : kTxCounterNames) in Process() local 2354 … OutputLine(kIndentSize, "%s: %lu", counter.mName, ToUlong(macCounters->*counter.mValuePtr)); in Process() 2359 for (const MacCounterName &counter : kRxCounterNames) in Process() local 2361 … OutputLine(kIndentSize, "%s: %lu", counter.mName, ToUlong(macCounters->*counter.mValuePtr)); in Process() [all …]
|
D | README.md | 67 - [keysequence](#keysequence-counter) 483 Get the border agent counter values. 538 Reset the message buffer counter tracking maximum number buffers in use at the same time. 899 Get the current value of supervision check timeout failure counter. 901 The counter tracks the number of supervision check failures on the child. It is incremented when th… 911 Reset the supervision check timeout failure counter to zero. 1024 Get the supported counter names. 1037 Get the counter value. 1118 Reset the counter value. 1882 ### keysequence counter [all …]
|
D | README_BR.md | 102 Get the Border Router counter.
|
/openthread-latest/src/core/net/ |
D | ip6.cpp | 1407 otPacketsAndBytes *counter = nullptr; in UpdateBorderRoutingCounters() local 1427 counter = &mBrCounters.mInboundMulticast; in UpdateBorderRoutingCounters() 1431 counter = &mBrCounters.mInboundUnicast; in UpdateBorderRoutingCounters() 1446 counter = &mBrCounters.mOutboundMulticast; in UpdateBorderRoutingCounters() 1450 counter = &mBrCounters.mOutboundUnicast; in UpdateBorderRoutingCounters() 1456 if (counter) in UpdateBorderRoutingCounters() 1458 counter->mPackets++; in UpdateBorderRoutingCounters() 1459 counter->mBytes += aMessageLength; in UpdateBorderRoutingCounters()
|
D | dns_client.cpp | 170 for (uint16_t counter = 0; counter < kMaxCnameAliasNameChanges; counter++) in CheckForHostNameAlias() local
|
/openthread-latest/src/core/thread/ |
D | mle.cpp | 659 uint16_t counter = mAttachCounter - 1; in GetAttachStartDelay() local 662 if ((counter < BitSizeOf(ratio)) && ((1UL << counter) <= ratio)) in GetAttachStartDelay() 665 delay <<= counter; in GetAttachStartDelay() 4880 uint32_t counter; in AppendLinkFrameCounterTlv() local 4887 counter = Get<KeyManager>().GetMaximumMacFrameCounter(); in AppendLinkFrameCounterTlv() 4890 Get<KeyManager>().SetAllMacFrameCounters(counter, /* aSetIfLarger */ true); in AppendLinkFrameCounterTlv() 4893 return Tlv::Append<LinkFrameCounterTlv>(*this, counter); in AppendLinkFrameCounterTlv() 4963 uint8_t counter = 0; in AppendAddressRegistrationTlv() local 4974 counter++; in AppendAddressRegistrationTlv() 4983 counter++; in AppendAddressRegistrationTlv() [all …]
|
/openthread-latest/third_party/mbedtls/repo/tests/include/test/ |
D | ssl_helpers.h | 87 size_t counter; member
|
/openthread-latest/tests/scripts/thread-cert/ |
D | node.py | 407 def _process_traffic_counters(self, counter): argument 410 'packets': counter[0], 411 'bytes': counter[1], 414 'packets': counter[2], 415 'bytes': counter[3], 419 def _process_packet_counters(self, counter): argument 420 return {'4to6': {'packets': counter[0]}, '6to4': {'packets': counter[1]}}
|
/openthread-latest/tests/toranj/cli/ |
D | cli.py | 507 counter = int(m.group(1)) 511 return counter
|
/openthread-latest/tools/otci/otci/ |
D | otci.py | 450 def set_key_sequence_counter(self, counter: int): 2331 counter = Counter() 2334 counter[k] = int(v) 2336 return counter
|
/openthread-latest/etc/cmake/ |
D | options.cmake | 207 …TER OPENTHREAD_CONFIG_DYNAMIC_STORE_FRAME_AHEAD_COUNTER_ENABLE "dynamic store frame ahead counter")
|