-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Group Cryptography: Message encryption implemented in the Group Data … #14313
Merged
bzbarsky-apple
merged 3 commits into
project-chip:master
from
rcasallas-silabs:group_cryptography2
Jan 27, 2022
Merged
Group Cryptography: Message encryption implemented in the Group Data … #14313
bzbarsky-apple
merged 3 commits into
project-chip:master
from
rcasallas-silabs:group_cryptography2
Jan 27, 2022
Conversation
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
pullapprove
bot
requested review from
andy31415,
anush-apple,
austinh0,
balducci-apple,
Byungjoo-Lee,
bzbarsky-apple,
carol-apple,
chrisdecenzo,
chshu,
chulspro,
Damian-Nordic,
dhrishi,
electrocucaracha,
emargolis,
franck-apple,
gjc13,
hawk248,
holbrookt,
jelderton,
jepenven-silabs,
jmartinez-silabs,
LuDuda,
mlepage-google,
mrjerryjohns,
msandstedt,
mspang,
pan-apple,
sagar-apple and
saurabhst
January 26, 2022 14:14
pullapprove
bot
requested review from
tecimovic,
turon,
vijs,
vivien-apple,
wbschiller,
woody-apple,
xylophone21 and
yunhanw-google
January 26, 2022 14:14
PR #14313: Size comparison from 76f1a0f to fd3213a Increases above 0.2%:
Increases (25 builds for cyw30739, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
Full report (29 builds for cyw30739, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
woody-apple
approved these changes
Jan 26, 2022
tcarmelveilleux
approved these changes
Jan 26, 2022
rcasallas-silabs
force-pushed
the
group_cryptography2
branch
2 times, most recently
from
January 26, 2022 20:54
c1164b4
to
680e288
Compare
PR #14313: Size comparison from 3bd289d to 680e288 Increases above 0.2%:
Increases (28 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
Full report (32 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
bzbarsky-apple
approved these changes
Jan 26, 2022
rcasallas-silabs
force-pushed
the
group_cryptography2
branch
from
January 27, 2022 08:42
73edd71
to
423c086
Compare
PR #14313: Size comparison from c62489b to 423c086 Increases above 0.2%:
Increases (15 builds for efr32, esp32, k32w, linux, p6, qpg, telink)
Full report (16 builds for efr32, esp32, k32w, linux, p6, qpg, telink)
|
rcasallas-silabs
force-pushed
the
group_cryptography2
branch
from
January 27, 2022 13:16
423c086
to
65da970
Compare
PR #14313: Size comparison from 40cc421 to 65da970 Increases above 0.2%:
Increases (29 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
Full report (33 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
msandstedt
approved these changes
Jan 27, 2022
selissia
pushed a commit
to selissia/connectedhomeip
that referenced
this pull request
Jan 28, 2022
project-chip#14313) * Group Cryptography: Message encryption implemented in the Group Data Provider. * Group Cryptography: Review comments applied. * Update src/credentials/GroupDataProviderImpl.h Co-authored-by: Boris Zbarsky <[email protected]> Co-authored-by: Justin Wood <[email protected]> Co-authored-by: Boris Zbarsky <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
The Group Data Provider is missing a method to obtain the key context required for encryption.
Change overview
GetKeyHash
used to obtain the key hash, andRelease
used to free the allocated memory.GroupDataProvider
interface to return the key context:GetKeyContext
GroupKeyContext
updated to the new interface.GetKeyContext
implemented inGroupDataProviderImpl
GetKeyContext
with the existing trial decryption loop.Testing