Home
last modified time | relevance | path

Searched refs:Update (Results 1 – 25 of 65) sorted by relevance

123

/openthread-latest/src/core/crypto/
Dhmac_sha256.hpp94 void Update(const void *aBuf, uint16_t aBufLength);
103 template <typename ObjectType> void Update(const ObjectType &aObject) in Update() function in ot::Crypto::HmacSha256
106 return Update(&aObject, sizeof(ObjectType)); in Update()
116 void Update(const Message &aMessage, uint16_t aOffset, uint16_t aLength);
Dsha256.hpp106 void Update(const void *aBuf, uint16_t aBufLength);
115 template <typename ObjectType> void Update(const ObjectType &aObject) in Update() function in ot::Crypto::Sha256
118 return Update(&aObject, sizeof(ObjectType)); in Update()
128 void Update(const Message &aMessage, uint16_t aOffset, uint16_t aLength);
Dsha256.cpp54 void Sha256::Update(const void *aBuf, uint16_t aBufLength) in Update() function in ot::Crypto::Sha256
59 void Sha256::Update(const Message &aMessage, uint16_t aOffset, uint16_t aLength) in Update() function in ot::Crypto::Sha256
67 Update(chunk.GetBytes(), chunk.GetLength()); in Update()
Dhmac_sha256.cpp54 void HmacSha256::Update(const void *aBuf, uint16_t aBufLength) in Update() function in ot::Crypto::HmacSha256
64 void HmacSha256::Update(const Message &aMessage, uint16_t aOffset, uint16_t aLength) in Update() function in ot::Crypto::HmacSha256
72 Update(chunk.GetBytes(), chunk.GetLength()); in Update()
/openthread-latest/src/posix/platform/
Dmainloop.hpp56 virtual void Update(otSysMainloopContext &aContext) = 0;
85 void Update(otSysMainloopContext &aContext);
Dmainloop.cpp61 void Manager::Update(otSysMainloopContext &aContext) in Update() function in ot::Posix::Mainloop::Manager
65 source->Update(aContext); in Update()
Dudp.hpp50 void Update(otSysMainloopContext &aContext) override;
Ddaemon.hpp50 void Update(otSysMainloopContext &aContext) override;
Dinfra_if.hpp67 void Update(otSysMainloopContext &aContext) override;
/openthread-latest/tests/unit/
Dtest_hmac_sha256.cpp105 sha256.Update(testCase.mData, static_cast<uint16_t>(strlen(testCase.mData))); in TestSha256()
131 sha256.Update(*message, offsets[index++], static_cast<uint16_t>(strlen(testCase.mData))); in TestSha256()
248 hmac.Update(testCase.mData, testCase.mDataLength); in TestHmacSha256()
274 hmac.Update(*message, offsets[index++], testCase.mDataLength); in TestHmacSha256()
Dtest_ecdsa.cpp106 sha256.Update(kMessage); in TestEcdsaVector()
159 sha256.Update(kMessage, sizeof(kMessage) - 1); in TestEcdsaKeyGenerationSignAndVerify()
173 sha256.Update(kMessage, sizeof(kMessage)); // include null char in TestEcdsaKeyGenerationSignAndVerify()
Dtest_link_metrics_manager.cpp181 linkMetricsMgr->Update(); in TestLinkMetricsManager()
188 linkMetricsMgr->Update(); in TestLinkMetricsManager()
198 linkMetricsMgr->Update(); in TestLinkMetricsManager()
/openthread-latest/src/core/thread/
Dchild.cpp111 aChild.mMlrToRegisterSet.Update(index, aState == kMlrStateToRegister); in SetMlrState()
112 aChild.mMlrRegisteredSet.Update(index, aState == kMlrStateRegistered); in SetMlrState()
235 mMlrToRegisterSet.Update(entryIndex, mMlrToRegisterSet.Has(lastIndex)); in RemoveIp6Address()
238 mMlrRegisteredSet.Update(entryIndex, mMlrRegisteredSet.Has(lastIndex)); in RemoveIp6Address()
Dindirect_sender.cpp154 mCslTxScheduler.Update(); in ClearAllMessagesForSleepyChild()
217 mCslTxScheduler.Update(); in HandleChildModeChange()
255 mCslTxScheduler.Update(); in RequestMessageUpdate()
288 mCslTxScheduler.Update(); in RequestMessageUpdate()
314 mCslTxScheduler.Update(); in UpdateIndirectMessage()
470 mCslTxScheduler.Update(); in HandleSentFrameToChild()
Dkey_manager.cpp221 SuccessOrExit(Get<Notifier>().Update(mPskc, aPskc, kEventPskcChanged)); in SetPskc()
274 SuccessOrExit(Get<Notifier>().Update(mNetworkKey, aNetworkKey, kEventNetworkKeyChanged)); in SetNetworkKey()
302 hmac.Update(keySequenceBytes); in ComputeKeys()
303 hmac.Update(kThreadString); in ComputeKeys()
512 IgnoreError(Get<Notifier>().Update(mSecurityPolicy, newPolicy, kEventSecurityPolicyChanged)); in SetSecurityPolicy()
Dcsl_tx_scheduler.hpp173 void Update(void);
/openthread-latest/src/core/utils/
Dslaac_address.cpp436 sha256.Update(aAddress.mAddress.mFields.m8, BytesForBitSize(aAddress.mPrefixLength)); in GenerateIid()
438 sha256.Update(netIface); in GenerateIid()
439 sha256.Update(aDadCounter); in GenerateIid()
440 sha256.Update(secretKey); in GenerateIid()
/openthread-latest/src/core/meshcop/
Dmeshcop.cpp252 ccitt.Update(b); in CalculateHashBitIndexes()
253 ansi.Update(b); in CalculateHashBitIndexes()
292 sha256.Update(aEui64); in ComputeJoinerId()
Dextended_panid.cpp63 … IgnoreError(Get<Notifier>().Update(mExtendedPanId, aExtendedPanId, kEventThreadExtPanIdChanged)); in SetExtPanId()
/openthread-latest/src/core/common/
Dcrc16.hpp72 void Update(uint8_t aByte);
Dcrc16.cpp44 void Crc16::Update(uint8_t aByte) in Update() function in ot::Crc16
Dbit_set.hpp104 void Update(uint16_t aIndex, bool aToAdd) { aToAdd ? Add(aIndex) : Remove(aIndex); } in Update() function in ot::BitSet
/openthread-latest/src/core/backbone_router/
Dndproxy_table.cpp63 Update(aRloc16, aTimeSinceLastTransaction); in Init()
66 void NdProxyTable::NdProxy::Update(uint16_t aRloc16, uint32_t aTimeSinceLastTransaction) in Update() function in ot::BackboneRouter::NdProxyTable::NdProxy
161 proxy->Update(aRloc16, timeSinceLastTransaction); in Register()
Dbbr_leader.hpp114 void Update(void);
/openthread-latest/src/core/api/
Dcrypto_api.cpp51 hmac.Update(aBuf, aBufLength); in otCryptoHmacSha256()

123