-
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
Updated ECDSA Signature Representation in the CHIP Certificate. #7384
Merged
woody-apple
merged 1 commit into
project-chip:master
from
emargolis:feature/emargolis/chip-cert-ec-signature
Jun 8, 2021
Merged
Updated ECDSA Signature Representation in the CHIP Certificate. #7384
woody-apple
merged 1 commit into
project-chip:master
from
emargolis:feature/emargolis/chip-cert-ec-signature
Jun 8, 2021
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
woody-apple
approved these changes
Jun 4, 2021
emargolis
force-pushed
the
feature/emargolis/chip-cert-ec-signature
branch
from
June 4, 2021 05:48
f56f4c3
to
0d08a49
Compare
pullapprove
bot
requested review from
andy31415,
bhaskar-apple,
chrisdecenzo,
Damian-Nordic,
hawk248,
jepenven-silabs and
msandstedt
June 4, 2021 06:01
tcarmelveilleux
approved these changes
Jun 4, 2021
msandstedt
reviewed
Jun 4, 2021
msandstedt
approved these changes
Jun 4, 2021
Consider renaming these values to be closer to definisions in the spec:connectedhomeip/src/crypto/CHIPCryptoPAL.h Lines 39 to 48 in 34bdbf0
This comment was generated by todo based on a
|
/rebase |
woody-apple
force-pushed
the
feature/emargolis/chip-cert-ec-signature
branch
from
June 5, 2021 00:16
34bdbf0
to
87e6a49
Compare
LuDuda
approved these changes
Jun 7, 2021
emargolis
force-pushed
the
feature/emargolis/chip-cert-ec-signature
branch
from
June 8, 2021 00:31
87e6a49
to
8e21a98
Compare
Review and consider replacing some data pointer/len pairs with ByteSpan and FixedByteSpan types.connectedhomeip/src/credentials/CHIPCert.h Lines 309 to 312 in 8e21a98
This comment was generated by todo based on a
|
Size increase report for "nrfconnect-example-build" from 2423a26
Full report output
|
Size increase report for "esp32-example-build" from 2423a26
Full report output
|
Size increase report for "gn_qpg6100-example-build" from 2423a26
Full report output
|
This was referenced Jun 8, 2021
nikita-s-wrk
pushed a commit
to nikita-s-wrk/connectedhomeip
that referenced
this pull request
Sep 23, 2021
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
Currently SDK implements ECDSA signature in the CHIP Certificate as a TLV structure of R and S parameters:
ecdsa-signature => STRUCTURE [tag-order]
{
r [1] : OCTET STRING,
s [2] : OCTET STRING,
}
Recently, the spec was updated to represent ECDSA signature as Octet String:
ec-signature => OCTET STRING [ length (CHIP_CRYPTO_GROUP_SIZE_BYTES * 2) ]
Change overview
Testing
Unit tests
Ticket #7382