| /openthread-latest/src/core/thread/ |
| D | network_data_local.cpp | 98 prefixTlv = As<PrefixTlv>(AppendTlv(sizeof(PrefixTlv) + aPrefix.GetBytesSize() + subTlvLength)); in AddPrefix() 106 BorderRouterTlv *brTlv = As<BorderRouterTlv>(prefixTlv->GetSubTlvs()); in AddPrefix() 114 HasRouteTlv *hasRouteTlv = As<HasRouteTlv>(prefixTlv->GetSubTlvs()); in AddPrefix() 162 As<HasRouteTlv>(cur)->GetEntry(0)->SetRloc(rloc16); in UpdateRloc() 166 As<BorderRouterTlv>(cur)->GetEntry(0)->SetRloc(rloc16); in UpdateRloc() 193 serviceTlv = As<ServiceTlv>(AppendTlv(serviceTlvSize)); in AddService() 199 serverTlv = As<ServerTlv>(serviceTlv->GetSubTlvs()); in AddService() 247 As<ServerTlv>(cur)->SetServer16(rloc16); in UpdateRloc() 266 UpdateRloc(*As<PrefixTlv>(cur)); in UpdateRloc() 273 UpdateRloc(*As<ServiceTlv>(cur)); in UpdateRloc()
|
| D | network_data_tlvs.hpp | 72 template <class TlvType> TlvType *As(NetworkDataTlv *aTlv) { return static_cast<TlvType *>(aTlv); } in As() function 83 template <class TlvType> const TlvType *As(const NetworkDataTlv *aTlv) { return static_cast<const T… in As() function 94 template <class TlvType> TlvType &As(NetworkDataTlv &aTlv) { return static_cast<TlvType &>(aTlv); } in As() function 105 template <class TlvType> const TlvType &As(const NetworkDataTlv &aTlv) { return static_cast<const T… in As() function 276 return As<TlvType>(Find(aStart, aEnd, TlvType::kType)); in Find() 291 return As<TlvType>(Find(aStart, aEnd, TlvType::kType)); in Find() 340 return As<TlvType>(Find(aStart, aEnd, TlvType::kType, aStable)); in Find() 358 return As<TlvType>(Find(aStart, aEnd, TlvType::kType, aStable)); in Find() 732 return As<SubTlvType>(FindSubTlv(SubTlvType::kType)); in FindSubTlv() 744 return As<SubTlvType>(FindSubTlv(SubTlvType::kType)); in FindSubTlv() [all …]
|
| D | network_data.cpp | 166 subTlvs = As<PrefixTlv>(cur)->GetSubTlvs(); in Iterate() 172 subTlvs = As<ServiceTlv>(cur)->GetSubTlvs(); in Iterate() 190 const PrefixTlv *prefixTlv = As<PrefixTlv>(cur); in Iterate() 196 const BorderRouterTlv *borderRouter = As<BorderRouterTlv>(subCur); in Iterate() 223 const HasRouteTlv *hasRoute = As<HasRouteTlv>(subCur); in Iterate() 250 const ContextTlv *contextTlv = As<ContextTlv>(subCur); in Iterate() 277 const ServiceTlv *service = As<ServiceTlv>(cur); in Iterate() 286 const ServerTlv *server = As<ServerTlv>(subCur); in Iterate() 613 shouldRemove = RemoveTemporaryDataIn(*As<PrefixTlv>(cur)); in RemoveTemporaryData() 617 shouldRemove = RemoveTemporaryDataIn(*As<ServiceTlv>(cur)); in RemoveTemporaryData() [all …]
|
| D | network_data_leader_ftd.cpp | 376 const PrefixTlv *prefix = As<PrefixTlv>(cur); in Validate() 390 const ServiceTlv *service = As<ServiceTlv>(cur); in Validate() 437 const BorderRouterTlv *borderRouter = As<BorderRouterTlv>(subCur); in ValidatePrefix() 461 const HasRouteTlv *hasRoute = As<HasRouteTlv>(subCur); in ValidatePrefix() 514 const ServerTlv *server = As<ServerTlv>(subCur); in ValidateService() 720 SuccessOrExit(error = AddPrefix(*As<PrefixTlv>(cur), flags)); in RegisterNetworkData() 724 SuccessOrExit(error = AddService(*As<ServiceTlv>(cur), flags)); in RegisterNetworkData() 757 dstPrefix = As<PrefixTlv>(AppendTlv(PrefixTlv::CalculateSize(aPrefix.GetPrefixLength()))); in AddPrefix() 768 SuccessOrExit(error = AddHasRoute(*As<HasRouteTlv>(subCur), *dstPrefix, aChangedFlags)); in AddPrefix() 772 … SuccessOrExit(error = AddBorderRouter(*As<BorderRouterTlv>(subCur), *dstPrefix, aChangedFlags)); in AddPrefix() [all …]
|
| D | network_data_leader.hpp | 196 return As<SubTlvType>(FindCommissioningDataSubTlv(SubTlvType::kType)); in FindInCommissioningData() 208 return As<SubTlvType>(FindCommissioningDataSubTlv(SubTlvType::kType)); in FindInCommissioningData()
|
| D | network_data_leader.cpp | 512 subTlv = As<MeshCoP::Tlv>(Tlv::FindTlv(dataTlv->GetValue(), dataTlv->GetLength(), aType)); in FindCommissioningDataSubTlv()
|
| /openthread-latest/src/core/meshcop/ |
| D | dataset.cpp | 166 isValid = As<NetworkNameTlv>(aTlv).IsValid(); in IsTlvValid() 170 isValid = As<SecurityPolicyTlv>(aTlv).IsValid(); in IsTlvValid() 174 isValid = As<ChannelMaskTlv>(aTlv).IsValid(); in IsTlvValid() 234 const Tlv *Dataset::FindTlv(Tlv::Type aType) const { return As<Tlv>(Tlv::FindTlv(mTlvs, mLength, aT… in FindTlv() 260 if (As<ChannelMaskTlv>(cur)->ReadChannelMask(mask) == kErrorNone) in ConvertTo() 285 … IgnoreError(aDatasetInfo.Update<kNetworkName>().Set(As<NetworkNameTlv>(cur)->GetNetworkName())); in ConvertTo() 301 aDatasetInfo.Set<kSecurityPolicy>(As<SecurityPolicyTlv>(cur)->GetSecurityPolicy()); in ConvertTo()
|
| D | dataset_manager.cpp | 218 … IgnoreError(Get<NetworkNameManager>().SetNetworkName(As<NetworkNameTlv>(cur)->GetNetworkName())); in ApplyConfiguration() 236 Get<KeyManager>().SetSecurityPolicy(As<SecurityPolicyTlv>(cur)->GetSecurityPolicy()); in ApplyConfiguration() 410 channelMaskTlv = As<ChannelMaskTlv>(dataset.FindTlv(Tlv::kChannelMask)); in GetChannelMask()
|
| D | meshcop_tlvs.hpp | 149 Tlv *GetNext(void) { return As<Tlv>(ot::Tlv::GetNext()); } in GetNext() 156 const Tlv *GetNext(void) const { return As<Tlv>(ot::Tlv::GetNext()); } in GetNext()
|
| /openthread-latest/src/core/common/ |
| D | tlvs.hpp | 743 template <class TlvType> TlvType *As(Tlv *aTlv) { return static_cast<TlvType *>(aTlv); } in As() function 754 template <class TlvType> const TlvType *As(const Tlv *aTlv) { return static_cast<const TlvType *>(a… in As() function 765 template <class TlvType> TlvType &As(Tlv &aTlv) { return static_cast<TlvType &>(aTlv); } in As() function 776 template <class TlvType> const TlvType &As(const Tlv &aTlv) { return static_cast<const TlvType &>(a… in As() function
|
| D | tlvs.cpp | 44 …return IsExtended() ? sizeof(ExtendedTlv) + As<ExtendedTlv>(this)->GetLength() : sizeof(Tlv) + Get… in GetSize() 309 VerifyOrExit((As<ExtendedTlv>(tlv) + 1) <= As<ExtendedTlv>(end), tlv = nullptr); in FindTlv()
|
| /openthread-latest/third_party/mbedtls/repo/3rdparty/p256-m/ |
| D | README.md | 4 …eliberately does not supply its own cryptographically secure RNG function. As a result, the PSA RN…
|
| /openthread-latest/third_party/mbedtls/repo/tests/suites/ |
| D | test_suite_platform_util.function | 47 * As per #7301: on some platforms, including modern Linux, Clang with Msan
|
| /openthread-latest/src/core/net/ |
| D | mdns.cpp | 4917 shouldStart = As<ServiceCache>().ShouldStartInitialQueries(); in Add() 4921 shouldStart = As<AddrCache>().ShouldStartInitialQueries(); in Add() 4940 As<BrowseCache>().ReportResultsTo(*callback); in Add() 4943 As<SrvCache>().ReportResultTo(*callback); in Add() 4946 As<TxtCache>().ReportResultTo(*callback); in Add() 4950 As<AddrCache>().ReportResultsTo(*callback); in Add() 4994 As<BrowseCache>().ClearCompressOffsets(); in HandleTimer() 4999 As<ServiceCache>().ClearCompressOffsets(); in HandleTimer() 5028 As<BrowseCache>().ProcessExpiredRecords(aContext.GetNow()); in HandleTimer() 5031 As<SrvCache>().ProcessExpiredRecords(aContext.GetNow()); in HandleTimer() [all …]
|
| /openthread-latest/third_party/mbedtls/repo/doxygen/ |
| D | mbedtls.doxyfile | 42 # As a workaround, you can write something like
|
| /openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-migration/ |
| D | md-cipher-dispatch.md | 20 As a developer of an application that uses Mbed TLS's interfaces (including legacy crypto), 26 As a developer of library code that uses Mbed TLS to perform cryptographic operations, 34 As a vendor of a platform with hardware acceleration for some crypto, 38 As a vendor of a platform with hardware acceleration for some crypto, 44 As a maintainer of Mbed TLS, 48 As a maintainer of Mbed TLS, 252 Here we try to answer the question: As a caller of RSA-PSS via `rsa.h`, how do I know whether it ca… 255 … RSA module, though, so it doesn't have any implication on the RSA module. As far as `rsa.c` is co… 497 As a starting point, return 1 if PSA crypto's driver subsystem has been initialized. 521 As discussed in [“Implications between legacy availability and PSA availability”](#implications-bet… [all …]
|
| D | psa-limitations.md | 85 As of early 2023, the plan is to go with option 2 in Mbed TLS 4.0, which has 95 As standardized, the signature scheme takes several parameters, in addition to
|
| /openthread-latest/third_party/mbedtls/repo/docs/ |
| D | psa-driver-example-and-guide.md | 3 As of Mbed TLS 3.4.0, the PSA Driver Interface has only been partially implemented. As a result, th… 5 …in the future, as well as driver types, operation types, and entry points. As many key terms and c… 46 …ed-TLS/mbedtls/blob/development/tests/include/test/drivers/test_driver.h). As Mbed TLS tests are b…
|
| D | 3.0-migration-guide.md | 74 As a last resort, you can access the field `foo` of a structure `bar` by writing `bar.MBEDTLS_PRIVA… 240 …* As long as the input remains block-aligned, the output length is exactly the input length, as be… 291 vice versa. As a consequence, RSA operation functions no longer have a mode 640 As a consequence of removing TLS 1.0, support for CBC record splitting was 644 As a consequence of currently supporting only one version of (D)TLS (and in the 649 As a consequence of currently supporting only one version of (D)TLS (and in the
|
| /openthread-latest/ |
| D | CONTRIBUTING.md | 3 We would love for you to contribute to OpenThread and help make it even better than it is today! As… 114 As part of the cleanup process, you should also run `script/make-pretty check` to ensure that your …
|
| /openthread-latest/third_party/mbedtls/repo/ |
| D | CONTRIBUTING.md | 25 …GitHub](https://github.com/Mbed-TLS/mbedtls) to start making your changes. As a general rule, you … 58 As mentioned, tests that show the correctness of the feature or bug fix should be added to the pull…
|
| D | SECURITY.md | 63 As attacks keep improving, so does Mbed TLS's protection. Mbed TLS is moving
|
| /openthread-latest/third_party/mbedtls/repo/docs/architecture/ |
| D | psa-storage-resilience.md | 17 …n a function returns, the data has been written to the persistent storage. As a consequence, if th… 40 As a consequence, apart from the listed cases, the API calls inherit directly from the [resilience … 65 As a consequence, the content of the storage cannot remain the same between the end of step 1 and t… 82 * Before step 3: the system state has not changed at all. As far as the world is concerned, the key… 95 * Before step 1: the system state has not changed at all. As far as the world is concerned, the key… 119 … a stateful element, the transaction consists of a single write operation. As discussed previously… 258 …n-atomic processes that must implement an atomic and committing interface. As discussed in [“Overv… 301 As discussed in the section [“Recovery strategies”](#recovery-strategies), the information about ac…
|
| /openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-thread-safety/ |
| D | psa-thread-safety.md | 5 As of Mbed TLS 3.6, an MVP for making the [PSA Crypto key management API](https://arm-software.gith… 69 > As an example of this rule: suppose two calls are executed concurrently which both attempt to cre… 121 Applications may need careful handling of resource management errors. As explained in ([PSA Concurr… 213 As described above, persistent keys can be kicked out of the key slot array provided they are not c… 292 As explained previously, we eventually aim to make the entirety of the PSA API thread-safe. This wi…
|
| /openthread-latest/third_party/mbedtls/repo/tests/ |
| D | CMakeLists.txt | 140 # Without this command, cmake will generate rules in each sub-makefile. As a result,
|