mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +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`.