/openthread-3.6.0/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-3.6.0/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, … 41 TEST_ASSERT( mbedtls_chacha20_starts( &ctx, nonce_str->x, counter ) == 0 ); 55 TEST_ASSERT( mbedtls_chacha20_starts( &ctx, nonce_str->x, counter ) == 0 ); 76 uint32_t counter = 0; 89 mbedtls_chacha20_starts( NULL, nonce, counter ) ); 91 mbedtls_chacha20_starts( &ctx, NULL, counter ) ); 101 mbedtls_chacha20_crypt( NULL, nonce, counter, 0, src, dst ) ); 103 mbedtls_chacha20_crypt( key, NULL, counter, 0, src, dst ) ); 105 mbedtls_chacha20_crypt( key, nonce, counter, len, NULL, dst ) ); [all …]
|
D | test_suite_ssl.function | 26 size_t counter; 48 p->counter++; 1039 * Write application data. Increase write counter if necessary. 1083 * Read application data and increase read counter and fragments counter if necessary. 3221 * 2) The record counter sometimes determines the IV. 4339 srv_pattern.counter = 0; 4340 cli_pattern.counter = 0; 4358 TEST_ASSERT( srv_pattern.counter >= 1 ); 4363 TEST_ASSERT( cli_pattern.counter >= 1 );
|
D | test_suite_entropy.function | 56 * Just resetting the counter. New sources will overwrite existing ones.
|
D | test_suite_psa_crypto_se_driver_hal.function | 147 /* Allocate slot numbers with a monotonic counter. */
|
/openthread-3.6.0/src/core/mac/ |
D | mac_types.cpp | 205 uint32_t counter = 0; in Get() local 211 counter = m154Counter; in Get() 217 counter = mTrelCounter; in Get() 222 return counter; in Get() 247 uint32_t counter = 0; in GetMaximum() local 250 counter = Max(counter, m154Counter); in GetMaximum() 254 counter = Max(counter, mTrelCounter); in GetMaximum() 257 return counter; in GetMaximum()
|
/openthread-3.6.0/third_party/mbedtls/repo/include/mbedtls/ |
D | chacha20.h | 143 uint32_t counter ); 209 uint32_t counter,
|
D | ctr_drbg.h | 175 unsigned char counter[16]; /*!< The counter (V). */ member
|
/openthread-3.6.0/third_party/mbedtls/repo/library/ |
D | pkcs5.c | 232 unsigned char counter[4]; in mbedtls_pkcs5_pbkdf2_hmac() local 234 memset( counter, 0, 4 ); in mbedtls_pkcs5_pbkdf2_hmac() 235 counter[3] = 1; in mbedtls_pkcs5_pbkdf2_hmac() 251 if( ( ret = mbedtls_md_hmac_update( ctx, counter, 4 ) ) != 0 ) in mbedtls_pkcs5_pbkdf2_hmac() 288 if( ++counter[i - 1] != 0 ) in mbedtls_pkcs5_pbkdf2_hmac()
|
D | chacha20.c | 219 uint32_t counter ) in mbedtls_chacha20_starts() argument 225 ctx->state[12] = counter; in mbedtls_chacha20_starts() 307 uint32_t counter, in mbedtls_chacha20_crypt() argument 326 ret = mbedtls_chacha20_starts( &ctx, nonce, counter ); in mbedtls_chacha20_crypt()
|
D | ctr_drbg.c | 269 if( ++ctx->counter[i - 1] != 0 ) in ctr_drbg_update_internal() 276 ctx->counter, p ) ) != 0 ) in ctr_drbg_update_internal() 295 memcpy( ctx->counter, tmp + MBEDTLS_CTR_DRBG_KEYSIZE, in ctr_drbg_update_internal() 558 if( ++ctx->counter[i - 1] != 0 ) in mbedtls_ctr_drbg_random_with_add() 565 ctx->counter, tmp ) ) != 0 ) in mbedtls_ctr_drbg_random_with_add()
|
D | rsa.c | 1094 unsigned char counter[4]; in mgf_mask() local 1101 memset( counter, 0, 4 ); in mgf_mask() 1118 if( ( ret = mbedtls_md_update( md_ctx, counter, 4 ) ) != 0 ) in mgf_mask() 1126 counter[3]++; in mgf_mask()
|
/openthread-3.6.0/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-3.6.0/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-3.6.0/src/cli/ |
D | cli.cpp | 1983 for (const BrCounterName &counter : kCounterNames) in OutputBorderRouterCounters() local 1985 OutputFormat("%s:", counter.mName); in OutputBorderRouterCounters() 1987 … Uint64ToString((brCounters->*counter.mPacketsAndBytes).mPackets, uint64StringBuffer)); in OutputBorderRouterCounters() 1988 …OutputLine(" Bytes %s", Uint64ToString((brCounters->*counter.mPacketsAndBytes).mBytes, uint64Strin… in OutputBorderRouterCounters() 2163 for (const MacCounterName &counter : kTxCounterNames) in Process() local 2165 … OutputLine(kIndentSize, "%s: %lu", counter.mName, ToUlong(macCounters->*counter.mValuePtr)); in Process() 2170 for (const MacCounterName &counter : kRxCounterNames) in Process() local 2172 … OutputLine(kIndentSize, "%s: %lu", counter.mName, ToUlong(macCounters->*counter.mValuePtr)); in Process() 2237 for (const MleCounterName &counter : kCounterNames) in Process() local 2239 OutputLine("%s: %u", counter.mName, mleCounters->*counter.mValuePtr); in Process() [all …]
|
D | README.md | 66 - [keysequence](#keysequence-counter) 396 Reset the message buffer counter tracking maximum number buffers in use at the same time. 757 Get the current value of supervision check timeout failure counter. 759 The counter tracks the number of supervision check failures on the child. It is incremented when th… 769 Reset the supervision check timeout failure counter to zero. 882 Get the supported counter names. 895 Get the counter value. 975 Reset the counter value. 1751 ### keysequence counter 1756 > keysequence counter [all …]
|
D | README_BR.md | 99 Get the Border Router counter.
|
/openthread-3.6.0/src/core/net/ |
D | ip6.cpp | 1460 otPacketsAndBytes *counter = nullptr; in UpdateBorderRoutingCounters() local 1478 counter = &mBorderRoutingCounters.mInboundMulticast; in UpdateBorderRoutingCounters() 1482 counter = &mBorderRoutingCounters.mInboundUnicast; in UpdateBorderRoutingCounters() 1495 counter = &mBorderRoutingCounters.mOutboundMulticast; in UpdateBorderRoutingCounters() 1499 counter = &mBorderRoutingCounters.mOutboundUnicast; in UpdateBorderRoutingCounters() 1505 if (counter) in UpdateBorderRoutingCounters() 1507 counter->mPackets += 1; in UpdateBorderRoutingCounters() 1508 counter->mBytes += aMessageLength; in UpdateBorderRoutingCounters()
|
D | dns_client.cpp | 178 for (uint16_t counter = 0; counter < kMaxCnameAliasNameChanges; counter++) in CheckForHostNameAlias() local
|
/openthread-3.6.0/src/core/thread/ |
D | mle.cpp | 656 uint16_t counter = mAttachCounter - 1; in GetAttachStartDelay() local 659 if ((counter < BitSizeOf(ratio)) && ((1UL << counter) <= ratio)) in GetAttachStartDelay() 662 delay <<= counter; in GetAttachStartDelay() 4556 uint32_t counter; in AppendLinkFrameCounterTlv() local 4563 counter = Get<KeyManager>().GetMaximumMacFrameCounter(); in AppendLinkFrameCounterTlv() 4566 Get<KeyManager>().SetAllMacFrameCounters(counter, /* aSetIfLarger */ true); in AppendLinkFrameCounterTlv() 4569 return Tlv::Append<LinkFrameCounterTlv>(*this, counter); in AppendLinkFrameCounterTlv() 4628 uint8_t counter = 0; in AppendAddressRegistrationTlv() local 4639 counter++; in AppendAddressRegistrationTlv() 4648 counter++; in AppendAddressRegistrationTlv() [all …]
|
/openthread-3.6.0/tests/toranj/cli/ |
D | cli.py | 456 counter = int(m.group(1)) 460 return counter
|
/openthread-3.6.0/tests/scripts/thread-cert/ |
D | node.py | 398 def _process_traffic_counters(self, counter): argument 401 'packets': counter[0], 402 'bytes': counter[1], 405 'packets': counter[2], 406 'bytes': counter[3], 410 def _process_packet_counters(self, counter): argument 411 return {'4to6': {'packets': counter[0]}, '6to4': {'packets': counter[1]}}
|
/openthread-3.6.0/tools/otci/otci/ |
D | otci.py | 431 def set_key_sequence_counter(self, counter: int): 2177 counter = Counter() 2180 counter[k] = int(v) 2182 return counter
|
/openthread-3.6.0/third_party/mbedtls/repo/docs/proposed/ |
D | psa-driver-interface.md | 722 …counter with a practically unbounded range in the secure element or in the driver's persistent sto…
|
/openthread-3.6.0/third_party/mbedtls/repo/ |
D | ChangeLog | 660 enclave) could bypass an existing counter-measure (base blinding) and 759 * Fix issue in Lucky 13 counter-measure that could make it ineffective when 1664 * Add a counter-measure against a vulnerability in TLS ciphersuites based 2401 would compare 64 bits of the record counter instead of 48 bits as indicated 3541 * RSA blinding on CRT operations to counter timing attacks 3723 * RSA blinding on CRT operations to counter timing attacks 3777 * Corrected GCM counter incrementation to use only 32-bits instead of
|