Home
last modified time | relevance | path

Searched refs:GetCurrentKeySequence (Results 1 – 6 of 6) sorted by relevance

/external/openthread/src/core/mac/
Dmac_links.cpp220 if (aKeySequence == Get<KeyManager>().GetCurrentKeySequence() - 1) in GetTemporaryMacKey()
224 else if (aKeySequence == Get<KeyManager>().GetCurrentKeySequence() + 1) in GetTemporaryMacKey()
Dmac.cpp882 aFrame.SetKeyId((keyManager.GetCurrentKeySequence() & 0x7f) + 1); in ProcessTransmitSecurity()
1536 if (keyid == (keyManager.GetCurrentKeySequence() & 0x7f)) in ProcessReceiveSecurity()
1538 keySequence = keyManager.GetCurrentKeySequence(); in ProcessReceiveSecurity()
1541 else if (keyid == ((keyManager.GetCurrentKeySequence() - 1) & 0x7f)) in ProcessReceiveSecurity()
1543 keySequence = keyManager.GetCurrentKeySequence() - 1; in ProcessReceiveSecurity()
1546 else if (keyid == ((keyManager.GetCurrentKeySequence() + 1) & 0x7f)) in ProcessReceiveSecurity()
1548 keySequence = keyManager.GetCurrentKeySequence() + 1; in ProcessReceiveSecurity()
1623 if (keySequence > keyManager.GetCurrentKeySequence()) in ProcessReceiveSecurity()
1693 if (ackKeyId == (keyManager.GetCurrentKeySequence() & 0x7f)) in ProcessEnhAckSecurity()
1697 else if (ackKeyId == ((keyManager.GetCurrentKeySequence() - 1) & 0x7f)) in ProcessEnhAckSecurity()
[all …]
/external/openthread/src/core/thread/
Dkey_manager.hpp319 uint32_t GetCurrentKeySequence(void) const { return mKeySequence; } in GetCurrentKeySequence() function in ot::KeyManager
Dmle.cpp464 networkInfo.SetKeySequence(Get<KeyManager>().GetCurrentKeySequence()); in Store()
2310 aesCcm.SetKey(keySequence == Get<KeyManager>().GetCurrentKeySequence() in ProcessMessageSecurity()
2585 if (keySequence > Get<KeyManager>().GetCurrentKeySequence()) in HandleUdpReceive()
2596 if (keySequence - Get<KeyManager>().GetCurrentKeySequence() == 1) in HandleUdpReceive()
4854 header.SetKeyId(Get<KeyManager>().GetCurrentKeySequence()); in SendTo()
/external/openthread/src/core/meshcop/
Djoiner_router.cpp376 …t(error = Tlv::Append<NetworkKeySequenceTlv>(*message, Get<KeyManager>().GetCurrentKeySequence())); in PrepareJoinerEntrustMessage()
/external/openthread/src/core/api/
Dthread_api.cpp269 return AsCoreType(aInstance).Get<KeyManager>().GetCurrentKeySequence(); in otThreadGetKeySequenceCounter()