-
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.
[privacy] Implement privacy decrypt support in message layer (#22783)
* [session][test] Add short payload secure unicast message test vector. * [privacy] Add privacy parsing to message layer. [test] Add test of private group. * [privacy] test vector passes decrypt, but fails message counter. * [privacy] Remove negative PrivacyDecrypt testVectors. * [restyle] * [privacy] Fix type conversion issue in CI. * [privacy] rebase * [privacy] Update message header codec tests to test P-flag. * [privacy] Remove superfluous comments. * [test] Add negative test capability and tests for wrong MIC. * [test] Add test for dropping pase / secure unicast when privacy enabled. * [test] Add test for dropping private group message with wrong MIC. * [privacy] Resolve review comments. * [privacy] Split per-key processing into dedicated static function. * [privacy] Add test case for CHIP_CONFIG_PRIVACY_ACCEPT_NONSPEC_SVE2. * [privacy][test] Update name of unit test for group replay protection. * [privacy] Make PacketHeader::PrivacyHeader a utility function. * [privacy] Resolve comments by bzbarsky-apple. * [privacy] Fixed const and partialPacketHeader naming. * [privacy] Fixed doc error - mismatched param name. * [privacy] Add issue ref to TODO.
- Loading branch information
Showing
10 changed files
with
522 additions
and
65 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
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.