mirror of
https://github.com/espressif/openthread.git
synced 2026-07-10 06:10:21 +00:00
436aba64c0
This commit adds a new type `otMacKey` which represents a MAC security key (used by AES-CCM to perform frame security) and core subclass of this as `Mac::Key`. The same type is used as `Mle::Key`. The `KeyManager`, `Mac`, `Mle`, and other modules are updated to use the new `Key` types. The public OT API `otLinkRawSetMacKey` and radio platform `otPlatRadioSetMacKey()` are also updated to use `otMacKey`.