/openthread-latest/third_party/mbedtls/repo/library/ |
D | sha1.c | 70 } local; in mbedtls_internal_sha1_process() local 72 local.W[0] = MBEDTLS_GET_UINT32_BE(data, 0); in mbedtls_internal_sha1_process() 73 local.W[1] = MBEDTLS_GET_UINT32_BE(data, 4); in mbedtls_internal_sha1_process() 74 local.W[2] = MBEDTLS_GET_UINT32_BE(data, 8); in mbedtls_internal_sha1_process() 75 local.W[3] = MBEDTLS_GET_UINT32_BE(data, 12); in mbedtls_internal_sha1_process() 76 local.W[4] = MBEDTLS_GET_UINT32_BE(data, 16); in mbedtls_internal_sha1_process() 77 local.W[5] = MBEDTLS_GET_UINT32_BE(data, 20); in mbedtls_internal_sha1_process() 78 local.W[6] = MBEDTLS_GET_UINT32_BE(data, 24); in mbedtls_internal_sha1_process() 79 local.W[7] = MBEDTLS_GET_UINT32_BE(data, 28); in mbedtls_internal_sha1_process() 80 local.W[8] = MBEDTLS_GET_UINT32_BE(data, 32); in mbedtls_internal_sha1_process() [all …]
|
D | ripemd160.c | 74 } local; in mbedtls_internal_ripemd160_process() local 76 local.X[0] = MBEDTLS_GET_UINT32_LE(data, 0); in mbedtls_internal_ripemd160_process() 77 local.X[1] = MBEDTLS_GET_UINT32_LE(data, 4); in mbedtls_internal_ripemd160_process() 78 local.X[2] = MBEDTLS_GET_UINT32_LE(data, 8); in mbedtls_internal_ripemd160_process() 79 local.X[3] = MBEDTLS_GET_UINT32_LE(data, 12); in mbedtls_internal_ripemd160_process() 80 local.X[4] = MBEDTLS_GET_UINT32_LE(data, 16); in mbedtls_internal_ripemd160_process() 81 local.X[5] = MBEDTLS_GET_UINT32_LE(data, 20); in mbedtls_internal_ripemd160_process() 82 local.X[6] = MBEDTLS_GET_UINT32_LE(data, 24); in mbedtls_internal_ripemd160_process() 83 local.X[7] = MBEDTLS_GET_UINT32_LE(data, 28); in mbedtls_internal_ripemd160_process() 84 local.X[8] = MBEDTLS_GET_UINT32_LE(data, 32); in mbedtls_internal_ripemd160_process() [all …]
|
D | md5.c | 69 } local; in mbedtls_internal_md5_process() local 71 local.X[0] = MBEDTLS_GET_UINT32_LE(data, 0); in mbedtls_internal_md5_process() 72 local.X[1] = MBEDTLS_GET_UINT32_LE(data, 4); in mbedtls_internal_md5_process() 73 local.X[2] = MBEDTLS_GET_UINT32_LE(data, 8); in mbedtls_internal_md5_process() 74 local.X[3] = MBEDTLS_GET_UINT32_LE(data, 12); in mbedtls_internal_md5_process() 75 local.X[4] = MBEDTLS_GET_UINT32_LE(data, 16); in mbedtls_internal_md5_process() 76 local.X[5] = MBEDTLS_GET_UINT32_LE(data, 20); in mbedtls_internal_md5_process() 77 local.X[6] = MBEDTLS_GET_UINT32_LE(data, 24); in mbedtls_internal_md5_process() 78 local.X[7] = MBEDTLS_GET_UINT32_LE(data, 28); in mbedtls_internal_md5_process() 79 local.X[8] = MBEDTLS_GET_UINT32_LE(data, 32); in mbedtls_internal_md5_process() [all …]
|
D | sha256.c | 469 local.W[t] = S1(local.W[(t) - 2]) + local.W[(t) - 7] + \ 470 S0(local.W[(t) - 15]) + local.W[(t) - 16] \ 476 local.temp1 = (h) + S3(e) + F1((e), (f), (g)) + (K) + (x); \ 477 local.temp2 = S2(a) + F0((a), (b), (c)); \ 478 (d) += local.temp1; (h) = local.temp1 + local.temp2; \ 494 } local; in mbedtls_internal_sha256_process_c() local 499 local.A[i] = ctx->state[i]; in mbedtls_internal_sha256_process_c() 505 local.W[i] = MBEDTLS_GET_UINT32_BE(data, 4 * i); in mbedtls_internal_sha256_process_c() 510 P(local.A[0], local.A[1], local.A[2], local.A[3], local.A[4], in mbedtls_internal_sha256_process_c() 511 local.A[5], local.A[6], local.A[7], local.W[i], K[i]); in mbedtls_internal_sha256_process_c() [all …]
|
D | sha512.c | 608 } local; in mbedtls_internal_sha512_process_c() local 625 local.temp1 = (h) + S3(e) + F1((e), (f), (g)) + (K) + (x); \ in mbedtls_internal_sha512_process_c() 626 local.temp2 = S2(a) + F0((a), (b), (c)); \ in mbedtls_internal_sha512_process_c() 627 (d) += local.temp1; (h) = local.temp1 + local.temp2; \ in mbedtls_internal_sha512_process_c() 631 local.A[i] = ctx->state[i]; in mbedtls_internal_sha512_process_c() 637 local.W[i] = MBEDTLS_GET_UINT64_BE(data, i << 3); in mbedtls_internal_sha512_process_c() 639 local.W[i] = S1(local.W[i - 2]) + local.W[i - 7] + in mbedtls_internal_sha512_process_c() 640 S0(local.W[i - 15]) + local.W[i - 16]; in mbedtls_internal_sha512_process_c() 643 P(local.A[0], local.A[1], local.A[2], local.A[3], local.A[4], in mbedtls_internal_sha512_process_c() 644 local.A[5], local.A[6], local.A[7], local.W[i], K[i]); in mbedtls_internal_sha512_process_c() [all …]
|
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_psa_crypto_memory.data | 31 PSA crypto local input alloc 34 PSA crypto local input alloc, NULL buffer 37 PSA crypto local input free 40 PSA crypto local input free, NULL buffer 43 PSA crypto local input round-trip 46 PSA crypto local output alloc 49 PSA crypto local output alloc, NULL buffer 52 PSA crypto local output free 55 PSA crypto local output free, NULL buffer 58 PSA crypto local output free, NULL original buffer [all …]
|
/openthread-latest/tests/toranj/cli/ |
D | test-008-multicast-traffic.py | 46 # - r2 =>> link-local all-nodes. Expected response from [r1, r3, fed]. 47 # - r3 =>> mesh-local all-nodes. Expected response from [r1, r2, r4, fed]. 48 # - r3 =>> link-local all-routers. Expected response from [r2, r4]. 49 # - r3 =>> mesh-local all-routers. Expected response from all routers. 50 # - r1 =>> link-local all-thread. Expected response from [r1, r2]. 51 # - fed =>> mesh-local all-thread. Expected response from all nodes. 52 # - r1 =>> mesh-local all-thread (one hop). Expected response from [r2]. 53 # - r1 =>> mesh-local all-thread (two hops). Expected response from [r2, r3, fed]. 54 # - r1 =>> mesh-local all-thread (three hops). Expected response from [r2, r3, r4, fed]. 55 # - r1 =>> mesh-local all-thread (four hops). Expected response from [r2, r3, r4, fed, sed]. [all …]
|
/openthread-latest/include/openthread/ |
D | border_router.h | 50 * This module includes functions to manage local network data with the OpenThread Border Router. 56 * Provides a full or stable copy of the local Thread Network Data. 67 * Add a border router configuration to the local network data. 72 * @retval OT_ERROR_NONE Successfully added the configuration to the local network data. 74 …RROR_NO_BUFS Not enough room is available to add the configuration to the local network data. 82 * Remove a border router configuration from the local network data. 87 * @retval OT_ERROR_NONE Successfully removed the configuration from the local network data. 96 * Gets the next On Mesh Prefix in the local Network Data. 111 * Add an external route configuration to the local network data. 116 * @retval OT_ERROR_NONE Successfully added the configuration to the local network data. [all …]
|
D | server.h | 48 * This module includes functions to manage local network data with the OpenThread Server. 54 * Provides a full or stable copy of the local Thread Network Data. 65 * Add a service configuration to the local network data. 70 * @retval OT_ERROR_NONE Successfully added the configuration to the local network data. 72 …RROR_NO_BUFS Not enough room is available to add the configuration to the local network data. 80 * Remove a service configuration from the local network data. 87 * @retval OT_ERROR_NONE Successfully removed the configuration from the local network data. 99 * Gets the next service in the local Network Data. 112 * Immediately register the local network data with the Leader.
|
/openthread-latest/src/core/backbone_router/ |
D | bbr_local.cpp | 31 * This file implements local Backbone Router service. 46 Local::Local(Instance &aInstance) in Local() function in ot::BackboneRouter::Local 77 void Local::SetEnabled(bool aEnable) in SetEnabled() 98 void Local::Reset(void) in Reset() 116 void Local::GetConfig(Config &aConfig) const in GetConfig() 123 Error Local::SetConfig(const Config &aConfig) in SetConfig() 169 Error Local::AddService(RegisterMode aMode) in AddService() 196 void Local::RemoveService(void) in RemoveService() 208 void Local::SetState(State aState) in SetState() 240 void Local::HandleBackboneRouterPrimaryUpdate(Leader::State aState, const Config &aConfig) in HandleBackboneRouterPrimaryUpdate() [all …]
|
D | bbr_local.hpp | 31 * This file includes definitions for local Backbone Router service. 71 * Implements the definitions for local Backbone Router service. 73 class Local : public InstanceLocator, private NonCopyable class 100 * Initializes the local Backbone Router. 104 explicit Local(Instance &aInstance); 122 * Resets the local Thread Network Data. 127 * Gets local Backbone Router configuration. 129 * @param[out] aConfig The local Backbone Router configuration. 134 * Sets local Backbone Router configuration. 203 * Removes the local Domain Prefix configuration. [all …]
|
/openthread-latest/script/ |
D | check-size | 86 local ot_ftd=ON 87 local ot_mtd=OFF 88 local ot_rcp=ON 91 local ot_ftd=OFF 92 local ot_mtd=ON 93 local ot_rcp=ON 96 local ot_ftd=ON 97 local ot_mtd=OFF 98 local ot_rcp=OFF 107 local sha=${OT_SHA_NEW} [all …]
|
D | gcda-tool | 40 local profile_current="$1" 41 local profile_merged="$2" 45 local profile_temporary="${profile_merged}.tmp" 64 local profile_current="${node_gcda}/$PWD/build/${build_name}" 65 local profile_merged="${OT_MERGED_PROFILES}/build/${build_name}" 82 local profile_current="build/${build_name}" 83 local profile_merged="${OT_MERGED_PROFILES}/build/${build_name}"
|
/openthread-latest/third_party/mbedtls/repo/tests/docker/bionic/ |
D | Dockerfile | 65 && ./config --openssldir=/usr/local/openssl-1.0.1j no-shared \ 69 ENV OPENSSL_LEGACY=/usr/local/openssl-1.0.1j/bin/openssl 75 && ./config --openssldir=/usr/local/openssl-1.0.2g no-shared \ 79 ENV OPENSSL=/usr/local/openssl-1.0.2g/bin/openssl 86 …&& ./config --prefix=/usr/local/openssl-1.1.1a -Wl,--enable-new-dtags,-rpath,'${LIBRPATH}' no-shar… 90 ENV OPENSSL_NEXT=/usr/local/openssl-1.1.1a/bin/openssl 106 …&& ./configure --prefix=/usr/local/gnutls-3.3.8 --exec_prefix=/usr/local/gnutls-3.3.8 --disable-sh… 110 ENV GNUTLS_LEGACY_CLI=/usr/local/gnutls-3.3.8/bin/gnutls-cli 111 ENV GNUTLS_LEGACY_SERV=/usr/local/gnutls-3.3.8/bin/gnutls-serv 127 && ./configure --prefix=/usr/local/gnutls-3.4.10 --exec_prefix=/usr/local/gnutls-3.4.10 \ [all …]
|
/openthread-latest/src/core/net/ |
D | ip6_address.hpp | 76 … * Generates and sets the Network Prefix to a crypto-secure random Unique Local Address (ULA) based 174 * Indicates whether the prefix is a Link-Local prefix. 176 * @retval TRUE The prefix is a Link-Local prefix. 177 * @retval FALSE The prefix is not a Link-Local prefix. 190 * Indicates whether the prefix is a Unique-Local prefix. 192 * @retval TRUE The prefix is a Unique-Local prefix. 193 * @retval FALSE The prefix is not a Unique-Local prefix. 534 static constexpr uint8_t kNodeLocalScope = 0; ///< Node-Local scope 535 static constexpr uint8_t kInterfaceLocalScope = 1; ///< Interface-Local scope 536 static constexpr uint8_t kLinkLocalScope = 2; ///< Link-Local scope [all …]
|
/openthread-latest/src/core/thread/ |
D | tmf.hpp | 85 * Sets the local socket port to TMF port. 90 * Sets the local socket address to mesh-local RLOC address. 95 * Sets the local socket address to RLOC address and the peer socket address to leader ALOC. 100 * Sets the local socket address to RLOC address and the peer socket address to leader RLOC. 105 * Sets the local socket address to RLOC address and the peer socket address to realm-local all 111 …* Sets the local socket address to RLOC address and the peer socket address to a router RLOC based… 119 * Sets the local socket address to RLOC address and the peer socket address to a given address. 153 * - Both source and destination addresses are Link-Local, or 154 …* - Source is Mesh Local and then destination is Mesh Local or Link-Local Multicast or Realm-Local…
|
D | network_data_local.hpp | 31 * This file includes definitions for manipulating local Thread Network Data. 47 * @addtogroup core-netdata-local 50 * This module includes definitions for manipulating local Thread Network Data. 60 * Implements the Thread Network Data contributed by the local device. 62 class Local : public MutableNetworkData, private NonCopyable class 68 * Initializes the local Network Data. 72 explicit Local(Instance &aInstance) in Local() function in ot::NetworkData::Local 85 * @retval kErrorInvalidArgs The prefix is mesh local prefix. 133 * Adds a Service entry to the Thread Network local data. 149 * Removes a Service entry from the Thread Network local data.
|
/openthread-latest/tests/toranj/ncp/ |
D | test-022-multicast-ip6-address.py | 43 # * Link-local all nodes, realm-local all nodes, 44 # * Link-local all Thread nodes, realm-local all Thread nodes, 45 # * All MPL forwarder realm-local. 47 # * Link-local all routers, realm-local all nodes. 94 # Get the mesh-local prefix (remove the "/64" at the end of the string) 97 # Derive the link-local/realm-local all thread nodes multicast addresses 103 "ff02::1", # All nodes link-local 104 "ff03::1", # All nodes realm-local 105 "ff03::fc", # All MPL forwarder realm-local 112 "ff02::2", # All routers link-local [all …]
|
D | test-023-multicast-traffic.py | 45 # - r2 =>> link-local all-nodes. Expected to receive on [r1, r2, r3, fed]. 46 # - r3 =>> mesh-local all-nodes. Expected to receive on [r1, r2, r3, r4, fed]. 47 # - r3 =>> link-local all-routers. Expected to receive on [r2, r3, r4]. 48 # - r3 =>> mesh-local all-routers. Expected to receive on all routers. 49 # - r1 =>> link-local all-thread. Expected to receive on [r1, r2]. 50 # - fed =>> mesh-local all-thread. Expected to receive on all nodes. 186 # r2 =>> link-local all-nodes. 189 # r3 =>> mesh-local all-nodes. 192 # r3 =>> link-local all-routers. 195 # r3 =>> mesh-local all-routers. [all …]
|
/openthread-latest/src/core/api/ |
D | backbone_router_ftd_api.cpp | 48 return AsCoreType(aInstance).Get<BackboneRouter::Local>().SetEnabled(aEnabled); in otBackboneRouterSetEnabled() 53 return MapEnum(AsCoreType(aInstance).Get<BackboneRouter::Local>().GetState()); in otBackboneRouterGetState() 60 AsCoreType(aInstance).Get<BackboneRouter::Local>().GetConfig(*aConfig); in otBackboneRouterGetConfig() 67 return AsCoreType(aInstance).Get<BackboneRouter::Local>().SetConfig(*aConfig); in otBackboneRouterSetConfig() 72 …return AsCoreType(aInstance).Get<BackboneRouter::Local>().AddService(BackboneRouter::Local::kForce… in otBackboneRouterRegister() 77 return AsCoreType(aInstance).Get<BackboneRouter::Local>().GetRegistrationJitter(); in otBackboneRouterGetRegistrationJitter() 82 return AsCoreType(aInstance).Get<BackboneRouter::Local>().SetRegistrationJitter(aJitter); in otBackboneRouterSetRegistrationJitter() 87 return AsCoreType(aInstance).Get<BackboneRouter::Local>().GetDomainPrefix(AsCoreType(aConfig)); in otBackboneRouterGetDomainPrefix() 94 …return AsCoreType(aInstance).Get<BackboneRouter::Local>().SetDomainPrefixCallback(aCallback, aCont… in otBackboneRouterSetDomainPrefixCallback() 165 AsCoreType(aInstance).Get<BackboneRouter::Local>().GetConfig(config); in otBackboneRouterMulticastListenerAdd()
|
D | border_router_api.cpp | 46 return AsCoreType(aInstance).Get<NetworkData::Local>().CopyNetworkData( in otBorderRouterGetNetData() 57 … error = AsCoreType(aInstance).Get<BackboneRouter::Local>().SetDomainPrefix(AsCoreType(aConfig)); in otBorderRouterAddOnMeshPrefix() 62 … error = AsCoreType(aInstance).Get<NetworkData::Local>().AddOnMeshPrefix(AsCoreType(aConfig)); in otBorderRouterAddOnMeshPrefix() 73 …error = AsCoreType(aInstance).Get<BackboneRouter::Local>().RemoveDomainPrefix(AsCoreType(aPrefix)); in otBorderRouterRemoveOnMeshPrefix() 78 … error = AsCoreType(aInstance).Get<NetworkData::Local>().RemoveOnMeshPrefix(AsCoreType(aPrefix)); in otBorderRouterRemoveOnMeshPrefix() 90 …return AsCoreType(aInstance).Get<NetworkData::Local>().GetNextOnMeshPrefix(*aIterator, AsCoreType(… in otBorderRouterGetNextOnMeshPrefix() 95 return AsCoreType(aInstance).Get<NetworkData::Local>().AddHasRoutePrefix(AsCoreType(aConfig)); in otBorderRouterAddRoute() 100 … return AsCoreType(aInstance).Get<NetworkData::Local>().RemoveHasRoutePrefix(AsCoreType(aPrefix)); in otBorderRouterRemoveRoute() 109 …return AsCoreType(aInstance).Get<NetworkData::Local>().GetNextExternalRoute(*aIterator, AsCoreType… in otBorderRouterGetNextRoute()
|
/openthread-latest/third_party/mbedtls/repo/tests/ |
D | compat-in-docker.sh | 30 "legacy") export OPENSSL="/usr/local/openssl-1.0.1j/bin/openssl";; 31 "next") export OPENSSL="/usr/local/openssl-1.1.1a/bin/openssl";; 36 "legacy") export GNUTLS_CLI="/usr/local/gnutls-3.3.8/bin/gnutls-cli";; 37 "next") export GNUTLS_CLI="/usr/local/gnutls-3.7.2/bin/gnutls-cli";; 42 "legacy") export GNUTLS_SERV="/usr/local/gnutls-3.3.8/bin/gnutls-serv";; 43 "next") export GNUTLS_SERV="/usr/local/gnutls-3.7.2/bin/gnutls-serv";;
|
D | ssl-opt-in-docker.sh | 30 "legacy") export OPENSSL="/usr/local/openssl-1.0.1j/bin/openssl";; 31 "next") export OPENSSL="/usr/local/openssl-1.1.1a/bin/openssl";; 36 "legacy") export GNUTLS_CLI="/usr/local/gnutls-3.3.8/bin/gnutls-cli";; 37 "next") export GNUTLS_CLI="/usr/local/gnutls-3.7.2/bin/gnutls-cli";; 42 "legacy") export GNUTLS_SERV="/usr/local/gnutls-3.3.8/bin/gnutls-serv";; 43 "next") export GNUTLS_SERV="/usr/local/gnutls-3.7.2/bin/gnutls-serv";;
|
/openthread-latest/src/cli/ |
D | cli_br.cpp | 158 if (aArgs[0] == "local") in ParsePrefixTypeArgs() 181 * Local: fdfc:1ff5:1512:5622::/64 186 * Outputs both local and favored OMR prefix. 198 * @cli br omrprefix local in Process() 200 * br omrprefix local in Process() 209 otIp6Prefix local; in Process() local 211 SuccessOrExit(error = otBorderRoutingGetOmrPrefix(GetInstancePtr(), &local)); in Process() 213 OutputFormat("%s", outputPrefixTypes == kPrefixTypeLocal ? "" : "Local: "); in Process() 214 OutputIp6PrefixLine(local); in Process() 247 * Local: fd41:2650:a6f5:0::/64 [all …]
|
/openthread-latest/tests/scripts/thread-cert/ |
D | Cert_5_3_11_AddressQueryTimeoutIntervals.py | 102 # mesh-local address X 107 # 3 MED1: MED1 sends an ICMPv6 Echo Request to a non-existent mesh-local address X before 113 # 4 MED1: MED1 sends an ICMPv6 Echo Request to a non-existent mesh-local address X after 132 # Step 2: MED sends an ICMPv6 Echo Request to a nonexistent mesh-local 135 # The Address Query Request MUST be sent to the Realm-Local 140 # - Target EID TLV – non-existent mesh-local 156 # Step 3: MED sends an ICMPv6 Echo Request to a nonexistent mesh-local 171 # Step 4: MED sends an ICMPv6 Echo Request to a nonexistent mesh-local 175 # The Address Query Request MUST be sent to the Realm-Local 180 # - Target EID TLV – non-existent mesh-local
|