Skip to content
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

[Silabs] [SiWx917] Added the platform chip_crypto to SiWx917 platform #25019

Merged
merged 8 commits into from
Feb 27, 2023

Conversation

chirag-silabs
Copy link
Contributor

@chirag-silabs chirag-silabs commented Feb 13, 2023

Added the tinycrypt in chip crypto to the platform specific
Adding the required files for the CHIPCryptoPal*

Tested commissioning locally

@github-actions
Copy link

PR #25019: Size comparison from b04c8ca to 38c5875

Increases (1 build for cc32xx)
platform target config section b04c8ca 38c5875 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20188403 20188405 2 0.0
Full report (3 builds for cc32xx, qpg)
platform target config section b04c8ca 38c5875 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 640361 640361 0 0.0
(read/write) 204084 204084 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197488 197488 0 0.0
.comment 194 194 0 0.0
.data 1476 1476 0 0.0
.debug_abbrev 928461 928461 0 0.0
.debug_aranges 87352 87352 0 0.0
.debug_frame 299840 299840 0 0.0
.debug_info 20188403 20188405 2 0.0
.debug_line 2649926 2649926 0 0.0
.debug_loc 2786018 2786018 0 0.0
.debug_ranges 280728 280728 0 0.0
.debug_str 3002856 3002856 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105633 105633 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 375840 375840 0 0.0
.symtab 255856 255856 0 0.0
.text 532604 532604 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1149152 1149152 0 0.0
.bss 99900 99900 0 0.0
.data 848 848 0 0.0
.text 596252 596252 0 0.0
lock-app qpg6105+debug (read/write) 1116896 1116896 0 0.0
.bss 96396 96396 0 0.0
.data 860 860 0 0.0
.text 563992 563992 0 0.0

Copy link
Member

@jmartinez-silabs jmartinez-silabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rubber stamping, build files are ok. I did a quick overview of the crypto files. They are the tinycrypt implementation right?

The CLA part of the pull approve seem t to have failesld. You will probably have to rebase or make a bother plus to the pr to force a rerun

@github-actions
Copy link

PR #25019: Size comparison from 6ce0f90 to 24ff23d

Increases (1 build for cc32xx)
platform target config section 6ce0f90 24ff23d change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20180781 20180782 1 0.0
Full report (1 build for cc32xx)
platform target config section 6ce0f90 24ff23d change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 640361 640361 0 0.0
(read/write) 204084 204084 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197488 197488 0 0.0
.comment 194 194 0 0.0
.data 1476 1476 0 0.0
.debug_abbrev 928461 928461 0 0.0
.debug_aranges 87352 87352 0 0.0
.debug_frame 299840 299840 0 0.0
.debug_info 20180781 20180782 1 0.0
.debug_line 2649926 2649926 0 0.0
.debug_loc 2786017 2786017 0 0.0
.debug_ranges 280728 280728 0 0.0
.debug_str 3005287 3005287 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105633 105633 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 375902 375902 0 0.0
.symtab 255856 255856 0 0.0
.text 532604 532604 0 0.0

@pullapprove pullapprove bot requested a review from kkasperczyk-no February 14, 2023 20:49
auto-merge was automatically disabled February 15, 2023 13:42

Merge queue setting changed

@github-actions
Copy link

PR #25019: Size comparison from 04adc52 to 620a354

Increases (1 build for cc32xx)
platform target config section 04adc52 620a354 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20360287 20360288 1 0.0
Full report (1 build for cc32xx)
platform target config section 04adc52 620a354 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 642209 642209 0 0.0
(read/write) 203696 203696 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197096 197096 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 934242 934242 0 0.0
.debug_aranges 87448 87448 0 0.0
.debug_frame 300212 300212 0 0.0
.debug_info 20360287 20360288 1 0.0
.debug_line 2661052 2661052 0 0.0
.debug_loc 2797120 2797120 0 0.0
.debug_ranges 281744 281744 0 0.0
.debug_str 3019502 3019502 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105713 105713 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 377379 377379 0 0.0
.symtab 256048 256048 0 0.0
.text 534376 534376 0 0.0

@jmartinez-silabs
Copy link
Member

@rcasallas-silabs Can you take a look at this one. The CHIPCryptoPal file mostly

@chirag-silabs
Copy link
Contributor Author

mostly

Actually need to update this a bit, due to the changes done on this PR #23792
Will update with the AES key modifications

Copy link
Contributor

@rcasallas-silabs rcasallas-silabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add common changes to src/crypto/CHIPCryptoPAL.h, and extend platform-specific features from the common code.

@pullapprove pullapprove bot requested a review from nivi-apple February 20, 2023 20:08
@github-actions
Copy link

PR #25019: Size comparison from 04adc52 to 893616e

Increases (1 build for cc32xx)
platform target config section 04adc52 893616e change % change
cc32xx lock CC3235SF_LAUNCHXL (read only) 642209 642545 336 0.1
.rodata 105713 105817 104 0.1
.strtab 377379 377598 219 0.1
.symtab 256048 256144 96 0.0
.text 534376 534604 228 0.0
Decreases (1 build for cc32xx)
platform target config section 04adc52 893616e change % change
cc32xx lock CC3235SF_LAUNCHXL (read/write) 203696 203664 -32 -0.0
.bss 197096 197064 -32 -0.0
.debug_abbrev 934242 930168 -4074 -0.4
.debug_aranges 87448 87272 -176 -0.2
.debug_frame 300212 299752 -460 -0.2
.debug_info 20360287 20254059 -106228 -0.5
.debug_line 2661052 2655143 -5909 -0.2
.debug_loc 2797120 2795383 -1737 -0.1
.debug_ranges 281744 281592 -152 -0.1
.debug_str 3019502 3017470 -2032 -0.1
Full report (1 build for cc32xx)
platform target config section 04adc52 893616e change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 642209 642545 336 0.1
(read/write) 203696 203664 -32 -0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197096 197064 -32 -0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 934242 930168 -4074 -0.4
.debug_aranges 87448 87272 -176 -0.2
.debug_frame 300212 299752 -460 -0.2
.debug_info 20360287 20254059 -106228 -0.5
.debug_line 2661052 2655143 -5909 -0.2
.debug_loc 2797120 2795383 -1737 -0.1
.debug_ranges 281744 281592 -152 -0.1
.debug_str 3019502 3017470 -2032 -0.1
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105713 105817 104 0.1
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 377379 377598 219 0.1
.symtab 256048 256144 96 0.0
.text 534376 534604 228 0.0

@yufengwangca yufengwangca merged commit 083623e into project-chip:master Feb 27, 2023
lecndav pushed a commit to lecndav/connectedhomeip that referenced this pull request Mar 22, 2023
…project-chip#25019)

* Added the platform chip_crypto to SiWx917 platform

* Restyled by gn

* removed chipcryptopal.h and modified Aes128KeyHandle which was missed

* Restyled by clang-format

* Restyled by gn

* result was added twice, removed one

---------

Co-authored-by: Restyled.io <[email protected]>
@rosahay-silabs rosahay-silabs deleted the bugfix/chip_crypto branch May 15, 2023 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants