forked from openthread/openthread
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mac-frame] update
CalculateKeySourceSize()
(openthread#10815)
This commit updates the helper method in `Mac::Frame` that determines the security header's "key source" field size based on the "Key ID Mode": - It is renamed to `CalculateKeySourceSize()` to align with other methods, such as `CalculateSecurityHeaderSize()` and `CalculateMicSize()`. - It now takes `uint8_t aSecurityControl` as input to harmonize with other `Calculate` helpers.
- Loading branch information
Showing
2 changed files
with
23 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters