-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing validity checks to GroupKeyManagement cluster (#28379)
* Add missing validity checks to GroupKeyManagement cluster Problem: - GroupKeyManagement cluster did not enforce length checks on EpochKey0/1/2 - Some corner cases of checks were not covered. - Spec fixed in https://github.com/CHIP-Specifications/connectedhomeip-spec/issues/7342 - Fixes #28222 This PR: - Adds all the missing checks that spec updates imply - Adds tests for each of the individual checks - Adds improved logging for failures Testing done: - New integration tests added - Integration tests pass * Restyled by clang-format * Restyled by prettier-yaml * Add revision 2 * Fix revision 2 setting * Address comments from @bzbarsky-apple * Fix unit test * Restyled by clang-format * ZAP regen --------- Co-authored-by: [email protected] <[email protected]> Co-authored-by: Restyled.io <[email protected]>
- Loading branch information
Showing
7 changed files
with
2,092 additions
and
435 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
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
Oops, something went wrong.