Home
last modified time | relevance | path

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

/openthread-3.4.0/src/core/mac/
Dmac.cpp833 KeyManager &keyManager = Get<KeyManager>(); in ProcessTransmitSecurity() local
844 aFrame.SetAesKey(keyManager.GetKek()); in ProcessTransmitSecurity()
849 aFrame.SetFrameCounter(keyManager.GetKekFrameCounter()); in ProcessTransmitSecurity()
850 keyManager.IncrementKekFrameCounter(); in ProcessTransmitSecurity()
880 aFrame.SetKeyId((keyManager.GetCurrentKeySequence() & 0x7f) + 1); in ProcessTransmitSecurity()
1498 KeyManager &keyManager = Get<KeyManager>(); in ProcessReceiveSecurity() local
1521 macKey = &keyManager.GetKek(); in ProcessReceiveSecurity()
1531 if (keyid == (keyManager.GetCurrentKeySequence() & 0x7f)) in ProcessReceiveSecurity()
1533 keySequence = keyManager.GetCurrentKeySequence(); in ProcessReceiveSecurity()
1536 else if (keyid == ((keyManager.GetCurrentKeySequence() - 1) & 0x7f)) in ProcessReceiveSecurity()
[all …]
/openthread-3.4.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()