Home
last modified time | relevance | path

Searched refs:As (Results 1 – 25 of 44) sorted by relevance

12

/openthread-latest/src/core/thread/
Dnetwork_data_local.cpp98 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()
Dnetwork_data_tlvs.hpp72 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 …]
Dnetwork_data.cpp166 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 …]
Dnetwork_data_leader_ftd.cpp376 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 …]
Dnetwork_data_leader.hpp196 return As<SubTlvType>(FindCommissioningDataSubTlv(SubTlvType::kType)); in FindInCommissioningData()
208 return As<SubTlvType>(FindCommissioningDataSubTlv(SubTlvType::kType)); in FindInCommissioningData()
Dnetwork_data_leader.cpp512 subTlv = As<MeshCoP::Tlv>(Tlv::FindTlv(dataTlv->GetValue(), dataTlv->GetLength(), aType)); in FindCommissioningDataSubTlv()
/openthread-latest/src/core/meshcop/
Ddataset.cpp166 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()
Ddataset_manager.cpp218 … 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()
Dmeshcop_tlvs.hpp149 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/
Dtlvs.hpp743 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
Dtlvs.cpp44 …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/
DREADME.md4 …eliberately does not supply its own cryptographically secure RNG function. As a result, the PSA RN…
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_platform_util.function47 * As per #7301: on some platforms, including modern Linux, Clang with Msan
/openthread-latest/src/core/net/
Dmdns.cpp4917 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/
Dmbedtls.doxyfile42 # As a workaround, you can write something like
/openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-migration/
Dmd-cipher-dispatch.md20 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 …]
Dpsa-limitations.md85 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/
Dpsa-driver-example-and-guide.md3 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…
D3.0-migration-guide.md74 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/
DCONTRIBUTING.md3 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/
DCONTRIBUTING.md25 …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…
DSECURITY.md63 As attacks keep improving, so does Mbed TLS's protection. Mbed TLS is moving
/openthread-latest/third_party/mbedtls/repo/docs/architecture/
Dpsa-storage-resilience.md17 …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/
Dpsa-thread-safety.md5 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/
DCMakeLists.txt140 # Without this command, cmake will generate rules in each sub-makefile. As a result,

12