Home
last modified time | relevance | path

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

/openthread-3.5.0/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.cpp894 aFrame.SetKeyId((keyManager.GetCurrentKeySequence() & 0x7f) + 1); in ProcessTransmitSecurity()
1540 if (keyid == (keyManager.GetCurrentKeySequence() & 0x7f)) in ProcessReceiveSecurity()
1542 keySequence = keyManager.GetCurrentKeySequence(); in ProcessReceiveSecurity()
1545 else if (keyid == ((keyManager.GetCurrentKeySequence() - 1) & 0x7f)) in ProcessReceiveSecurity()
1547 keySequence = keyManager.GetCurrentKeySequence() - 1; in ProcessReceiveSecurity()
1550 else if (keyid == ((keyManager.GetCurrentKeySequence() + 1) & 0x7f)) in ProcessReceiveSecurity()
1552 keySequence = keyManager.GetCurrentKeySequence() + 1; in ProcessReceiveSecurity()
1628 if (keySequence > keyManager.GetCurrentKeySequence()) in ProcessReceiveSecurity()
1698 if (ackKeyId == (keyManager.GetCurrentKeySequence() & 0x7f)) in ProcessEnhAckSecurity()
1702 else if (ackKeyId == ((keyManager.GetCurrentKeySequence() - 1) & 0x7f)) in ProcessEnhAckSecurity()
[all …]
/openthread-3.5.0/src/core/thread/
Dkey_manager.hpp319 uint32_t GetCurrentKeySequence(void) const { return mKeySequence; } in GetCurrentKeySequence() function in ot::KeyManager
Dmle.cpp506 networkInfo.SetKeySequence(Get<KeyManager>().GetCurrentKeySequence()); in Store()
2405 aesCcm.SetKey(keySequence == Get<KeyManager>().GetCurrentKeySequence() in ProcessMessageSecurity()
2715 VerifyOrExit(aRxInfo.mKeySequence > Get<KeyManager>().GetCurrentKeySequence()); in ProcessKeySequence()
2726 if (aRxInfo.mKeySequence - Get<KeyManager>().GetCurrentKeySequence() == 1) in ProcessKeySequence()
4863 header.SetKeyId(Get<KeyManager>().GetCurrentKeySequence()); in SendTo()
/openthread-3.5.0/src/core/meshcop/
Djoiner_router.cpp356 …t(error = Tlv::Append<NetworkKeySequenceTlv>(*message, Get<KeyManager>().GetCurrentKeySequence())); in PrepareJoinerEntrustMessage()
/openthread-3.5.0/src/core/api/
Dthread_api.cpp273 return AsCoreType(aInstance).Get<KeyManager>().GetCurrentKeySequence(); in otThreadGetKeySequenceCounter()