Home
last modified time | relevance | path

Searched refs:keyManager (Results 1 – 2 of 2) sorted by relevance

/openthread-3.5.0/src/core/mac/
Dmac.cpp847 KeyManager &keyManager = Get<KeyManager>(); in ProcessTransmitSecurity() local
858 aFrame.SetAesKey(keyManager.GetKek()); in ProcessTransmitSecurity()
863 aFrame.SetFrameCounter(keyManager.GetKekFrameCounter()); in ProcessTransmitSecurity()
864 keyManager.IncrementKekFrameCounter(); in ProcessTransmitSecurity()
894 aFrame.SetKeyId((keyManager.GetCurrentKeySequence() & 0x7f) + 1); in ProcessTransmitSecurity()
1507 KeyManager &keyManager = Get<KeyManager>(); in ProcessReceiveSecurity() local
1530 macKey = &keyManager.GetKek(); in ProcessReceiveSecurity()
1540 if (keyid == (keyManager.GetCurrentKeySequence() & 0x7f)) in ProcessReceiveSecurity()
1542 keySequence = keyManager.GetCurrentKeySequence(); in ProcessReceiveSecurity()
1545 else if (keyid == ((keyManager.GetCurrentKeySequence() - 1) & 0x7f)) in ProcessReceiveSecurity()
[all …]
/openthread-3.5.0/src/core/meshcop/
Ddataset.cpp518 KeyManager &keyManager = aInstance.Get<KeyManager>(); in ApplyConfiguration() local
564 keyManager.GetNetworkKey(networkKey); in ApplyConfiguration()
571 keyManager.SetNetworkKey(key->GetNetworkKey()); in ApplyConfiguration()
578 keyManager.SetPskc(As<PskcTlv>(cur)->GetPskc()); in ApplyConfiguration()
588 keyManager.SetSecurityPolicy(As<SecurityPolicyTlv>(cur)->GetSecurityPolicy()); in ApplyConfiguration()