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

Separate device attestation and operational cert provisioning into separate steps #12915

Merged
merged 19 commits into from
Jan 25, 2022

Conversation

cecille
Copy link
Contributor

@cecille cecille commented Dec 10, 2021

Problem

Device attestation and operational certificate provisioning are currently implemented as a long chain of cluster commands in the device commissioner. While this works well currently, it means that all the information required for attestation and op cert provisioning needs to be available when the command chain is triggered. it is somewhat limiting for commissioners that have more complex certificate provisioning requirements where they may need to use the information provided by earlier steps, then perform external steps to retrieve or generate certs before continuing. This PR breaks these long chains into individual commissioning steps with callbacks and drives the chain from the auto commissioner class. This means that a commissioner could replace the auto commissioner delegate with a delegate that performs additional work between the phases of the op cert provisioning. This will also allow us to do a bit of code cleanup to handle the error cases in a more centralized way (later PR).

Change overview

Separates the device attestation and certification provisioning command chains into individual commissioning steps and drives these from the external autocommissioner class.
NOTE: There was a fair amount of code moved in this change. The changes are broken up into the individual steps as separate commits to make the review easier to parse.

Testing

BLE testing: chip-tool with M5 all clusters app.
IP testing: linux lighting app with chip-tool.
also covered by cirque tests.

@github-actions
Copy link

github-actions bot commented Jan 21, 2022

PR #12915: Size comparison from a5a7d92 to d288cec

Increases (2 builds for linux)
platform target config section a5a7d92 d288cec4 change % change
linux chip-tool-ipv6only arm64 (read only) 8493172 8501220 8048 0.1
.got 68760 68768 8 0.0
.rodata 435372 436332 960 0.2
.text 7220948 7228068 7120 0.1
thermostat-no-ble arm64 (read only) 2049740 2050412 672 0.0
.rodata 130492 130684 192 0.1
.text 1704752 1705232 480 0.0
Decreases (4 builds for linux, p6)
platform target config section a5a7d92 d288cec4 change % change
linux chip-tool-ipv6only arm64 (read/write) 390129 390081 -48 -0.0
.data.rel.ro 260440 260392 -48 -0.0
p6 all-clusters-app default (read/write) 2409600 2409360 -240 -0.0
.text 1367864 1367624 -240 -0.0
light-app default (read/write) 2330584 2330328 -256 -0.0
.text 1288848 1288592 -256 -0.0
lock-app default (read/write) 2299576 2299336 -240 -0.0
.text 1257840 1257600 -240 -0.0
Full report (15 builds for cyw30739, efr32, k32w, linux, p6, qpg, telink)
platform target config section a5a7d92 d288cec4 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 574274 574274 0 0.0
.app_xip_area 479288 479288 0 0.0
.bss 77724 77724 0 0.0
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
efr32 lighting-app BRD4161A (read only) 835500 835500 0 0.0
(read/write) 127244 127244 0 0.0
.bss 125344 125344 0 0.0
.data 1900 1900 0 0.0
.text 835492 835492 0 0.0
BRD4161A+rpc (read only) 822896 822896 0 0.0
(read/write) 143904 143904 0 0.0
.bss 141904 141904 0 0.0
.data 2000 2000 0 0.0
.text 822888 822888 0 0.0
window-app BRD4161A (read only) 806052 806052 0 0.0
(read/write) 125812 125812 0 0.0
.bss 123960 123960 0 0.0
.data 1852 1852 0 0.0
.text 806044 806044 0 0.0
k32w light k32w061+release (read/write) 660424 660424 0 0.0
.bss 76608 76608 0 0.0
.data 1868 1868 0 0.0
.text 576148 576148 0 0.0
lock k32w061+release (read/write) 661180 661180 0 0.0
.bss 76848 76848 0 0.0
.data 1888 1888 0 0.0
.text 576644 576644 0 0.0
linux chip-tool-ipv6only arm64 (read only) 8493172 8501220 8048 0.1
(read/write) 390129 390081 -48 -0.0
.bss 56049 56049 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 260440 260392 -48 -0.0
.dynamic 560 560 0 0.0
.got 68760 68768 8 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 435372 436332 960 0.2
.text 7220948 7228068 7120 0.1
thermostat-no-ble arm64 (read only) 2049740 2050412 672 0.0
(read/write) 145697 145697 0 0.0
.bss 64785 64785 0 0.0
.data 904 904 0 0.0
.data.rel.ro 72984 72984 0 0.0
.dynamic 560 560 0 0.0
.got 4064 4064 0 0.0
.init 24 24 0 0.0
.init_array 320 320 0 0.0
.rodata 130492 130684 192 0.1
.text 1704752 1705232 480 0.0
p6 all-clusters-app default (read/write) 2409600 2409360 -240 -0.0
.bss 117756 117756 0 0.0
.data 2584 2584 0 0.0
.text 1367864 1367624 -240 -0.0
light-app default (read/write) 2330584 2330328 -256 -0.0
.bss 105544 105544 0 0.0
.data 2408 2408 0 0.0
.text 1288848 1288592 -256 -0.0
lock-app default (read/write) 2299576 2299336 -240 -0.0
.bss 104392 104392 0 0.0
.data 2360 2360 0 0.0
.text 1257840 1257600 -240 -0.0
qpg lighting-app qpg6105+debug (read only) 567324 567324 0 0.0
(read/write) 146940 146940 0 0.0
.bss 89688 89688 0 0.0
.data 1064 1064 0 0.0
.text 562004 562004 0 0.0
lock-app qpg6105+debug (read only) 515792 515792 0 0.0
(read/write) 146936 146936 0 0.0
.bss 88256 88256 0 0.0
.data 988 988 0 0.0
.text 510472 510472 0 0.0
persistent-storage-app qpg6105+debug (read only) 107140 107140 0 0.0
(read/write) 146940 146940 0 0.0
.bss 38504 38504 0 0.0
.data 288 288 0 0.0
.text 101820 101820 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 841562 841562 0 0.0
bss 87492 87492 0 0.0
noinit 37160 37160 0 0.0
text 588208 588208 0 0.0

Copy link
Contributor

@pan-apple pan-apple left a comment

Choose a reason for hiding this comment

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

It looks good to me. The code is moved within the controller API, from Controller.cpp and CommissioneeDeviceProxy to AutoCommissioner, and CommissioningDelegate.

It does change the state machine that drives the commissioning process. So some testing for all use-cases will be helpful. A lot of the use cases are tested via CI. There are some controller/commissioner apps that are not in CI.

@github-actions
Copy link

github-actions bot commented Jan 24, 2022

PR #12915: Size comparison from 1b49aee to 51b8892

Increases (1 build for linux)
platform target config section 1b49aee 51b8892 change % change
linux chip-tool-ipv6only arm64 (read only) 8536964 8543860 6896 0.1
.got 69056 69064 8 0.0
.rodata 436908 437516 608 0.1
.text 7261028 7267332 6304 0.1
Decreases (1 build for linux)
platform target config section 1b49aee 51b8892 change % change
linux chip-tool-ipv6only arm64 (read/write) 391009 390977 -32 -0.0
.data.rel.ro 261032 260984 -48 -0.0
Full report (22 builds for cyw30739, efr32, esp32, k32w, linux, mbed, p6, qpg, telink)
platform target config section 1b49aee 51b8892 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 574390 574390 0 0.0
.app_xip_area 479404 479404 0 0.0
.bss 77724 77724 0 0.0
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
efr32 lighting-app BRD4161A (read only) 835916 835916 0 0.0
(read/write) 127244 127244 0 0.0
.bss 125344 125344 0 0.0
.data 1900 1900 0 0.0
.text 835908 835908 0 0.0
BRD4161A+rpc (read only) 823336 823336 0 0.0
(read/write) 143904 143904 0 0.0
.bss 141904 141904 0 0.0
.data 2000 2000 0 0.0
.text 823328 823328 0 0.0
window-app BRD4161A (read only) 806476 806476 0 0.0
(read/write) 125812 125812 0 0.0
.bss 123960 123960 0 0.0
.data 1852 1852 0 0.0
.text 806468 806468 0 0.0
esp32 all-clusters-app c3devkit (read only) 919076 919076 0 0.0
(read/write) 1383466 1383466 0 0.0
.dram0.bss 70720 70720 0 0.0
.dram0.data 14252 14252 0 0.0
.flash.rodata 179376 179376 0 0.0
.flash.text 919076 919076 0 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 967519 967519 0 0.0
(read/write) 449884 449884 0 0.0
.dram0.bss 75184 75184 0 0.0
.dram0.data 34032 34032 0 0.0
.flash.rodata 208540 208540 0 0.0
.flash.text 962135 962135 0 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 660588 660588 0 0.0
.bss 76608 76608 0 0.0
.data 1868 1868 0 0.0
.text 576312 576312 0 0.0
lock k32w061+release (read/write) 661312 661312 0 0.0
.bss 76848 76848 0 0.0
.data 1888 1888 0 0.0
.text 576776 576776 0 0.0
linux chip-tool-ipv6only arm64 (read only) 8536964 8543860 6896 0.1
(read/write) 391009 390977 -32 -0.0
.bss 56049 56049 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 261032 260984 -48 -0.0
.dynamic 560 560 0 0.0
.got 69056 69064 8 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 436908 437516 608 0.1
.text 7261028 7267332 6304 0.1
thermostat-no-ble arm64 (read only) 2051916 2051916 0 0.0
(read/write) 145697 145697 0 0.0
.bss 64785 64785 0 0.0
.data 904 904 0 0.0
.data.rel.ro 72984 72984 0 0.0
.dynamic 560 560 0 0.0
.got 4064 4064 0 0.0
.init 24 24 0 0.0
.init_array 320 320 0 0.0
.rodata 130700 130700 0 0.0
.text 1706720 1706720 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2352184 2352184 0 0.0
.bss 189428 189428 0 0.0
.data 5304 5304 0 0.0
.text 1314760 1314760 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2334408 2334408 0 0.0
.bss 180960 180960 0 0.0
.data 5584 5584 0 0.0
.text 1297008 1297008 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2304760 2304760 0 0.0
.bss 179960 179960 0 0.0
.data 5560 5560 0 0.0
.text 1267360 1267360 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139712 1139712 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103096 103096 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2054256 2054256 0 0.0
.bss 156876 156876 0 0.0
.data 4864 4864 0 0.0
.text 1016856 1016856 0 0.0
p6 all-clusters-app default (read/write) 2410664 2410664 0 0.0
.bss 117772 117772 0 0.0
.data 2584 2584 0 0.0
.text 1368928 1368928 0 0.0
light-app default (read/write) 2330736 2330736 0 0.0
.bss 105544 105544 0 0.0
.data 2408 2408 0 0.0
.text 1289000 1289000 0 0.0
lock-app default (read/write) 2299752 2299752 0 0.0
.bss 104392 104392 0 0.0
.data 2360 2360 0 0.0
.text 1258016 1258016 0 0.0
qpg lighting-app qpg6105+debug (read only) 567476 567476 0 0.0
(read/write) 146940 146940 0 0.0
.bss 89688 89688 0 0.0
.data 1064 1064 0 0.0
.text 562156 562156 0 0.0
lock-app qpg6105+debug (read only) 515904 515904 0 0.0
(read/write) 146936 146936 0 0.0
.bss 88256 88256 0 0.0
.data 988 988 0 0.0
.text 510584 510584 0 0.0
persistent-storage-app qpg6105+debug (read only) 107140 107140 0 0.0
(read/write) 146940 146940 0 0.0
.bss 38504 38504 0 0.0
.data 288 288 0 0.0
.text 101820 101820 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 841718 841718 0 0.0
bss 87492 87492 0 0.0
noinit 37160 37160 0 0.0
text 588346 588346 0 0.0

@andy31415
Copy link
Contributor

fast track: this has been up for quite a while now and has had several review passes.

@github-actions
Copy link

github-actions bot commented Jan 24, 2022

PR #12915: Size comparison from 1b49aee to 90ecc76

Increases (1 build for linux)
platform target config section 1b49aee 90ecc76 change % change
linux chip-tool-ipv6only arm64 (read only) 8536964 8543636 6672 0.1
.got 69056 69064 8 0.0
.rodata 436908 437484 576 0.1
.text 7261028 7267140 6112 0.1
Decreases (29 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 1b49aee 90ecc76 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 574390 574158 -232 -0.0
.app_xip_area 479404 479172 -232 -0.0
efr32 lighting-app BRD4161A (read only) 835916 835756 -160 -0.0
.text 835908 835748 -160 -0.0
BRD4161A+rpc (read only) 823336 823160 -176 -0.0
.text 823328 823152 -176 -0.0
window-app BRD4161A (read only) 806476 806300 -176 -0.0
.text 806468 806292 -176 -0.0
esp32 all-clusters-app c3devkit (read only) 919076 918874 -202 -0.0
.flash.text 919076 918874 -202 -0.0
m5stack (read only) 967519 967211 -308 -0.0
.flash.text 962135 961827 -308 -0.0
k32w light k32w061+release (read/write) 660588 660364 -224 -0.0
.text 576312 576088 -224 -0.0
lock k32w061+release (read/write) 661312 661088 -224 -0.0
.text 576776 576552 -224 -0.0
linux chip-tool-ipv6only arm64 (read/write) 391009 390977 -32 -0.0
.data.rel.ro 261032 260984 -48 -0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2352184 2351928 -256 -0.0
.text 1314760 1314504 -256 -0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2334408 2334216 -192 -0.0
.text 1297008 1296816 -192 -0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2304760 2304568 -192 -0.0
.text 1267360 1267168 -192 -0.0
shell CY8CPROTO_062_4343W+release (read/write) 2054256 2054000 -256 -0.0
.text 1016856 1016600 -256 -0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 942879 942655 -224 -0.0
text 637312 637088 -224 -0.0
nrf52840dk_nrf52840+rpc (read/write) 928347 928123 -224 -0.0
text 632708 632484 -224 -0.0
nrf52840dongle_nrf52840 (read/write) 993527 993303 -224 -0.0
text 669512 669288 -224 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 852706 852482 -224 -0.0
text 554232 554008 -224 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 912223 911999 -224 -0.0
text 612756 612532 -224 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 822294 822070 -224 -0.0
text 529712 529488 -224 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 915083 914859 -224 -0.0
text 615404 615180 -224 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 910267 910043 -224 -0.0
text 611428 611204 -224 -0.0
shell nrf52840dk_nrf52840 (read/write) 798527 798303 -224 -0.0
text 533928 533704 -224 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 711342 711118 -224 -0.0
text 451608 451384 -224 -0.0
p6 all-clusters-app default (read/write) 2410664 2410488 -176 -0.0
.text 1368928 1368752 -176 -0.0
light-app default (read/write) 2330736 2330576 -160 -0.0
.text 1289000 1288840 -160 -0.0
lock-app default (read/write) 2299752 2299576 -176 -0.0
.text 1258016 1257840 -176 -0.0
qpg lighting-app qpg6105+debug (read only) 567476 567252 -224 -0.0
.text 562156 561932 -224 -0.0
lock-app qpg6105+debug (read only) 515904 515680 -224 -0.0
.text 510584 510360 -224 -0.0
telink lighting-app tlsr9518adk80d (read/write) 841718 841494 -224 -0.0
text 588346 588122 -224 -0.0
Full report (33 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 1b49aee 90ecc76 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 574390 574158 -232 -0.0
.app_xip_area 479404 479172 -232 -0.0
.bss 77724 77724 0 0.0
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
efr32 lighting-app BRD4161A (read only) 835916 835756 -160 -0.0
(read/write) 127244 127244 0 0.0
.bss 125344 125344 0 0.0
.data 1900 1900 0 0.0
.text 835908 835748 -160 -0.0
BRD4161A+rpc (read only) 823336 823160 -176 -0.0
(read/write) 143904 143904 0 0.0
.bss 141904 141904 0 0.0
.data 2000 2000 0 0.0
.text 823328 823152 -176 -0.0
window-app BRD4161A (read only) 806476 806300 -176 -0.0
(read/write) 125812 125812 0 0.0
.bss 123960 123960 0 0.0
.data 1852 1852 0 0.0
.text 806468 806292 -176 -0.0
esp32 all-clusters-app c3devkit (read only) 919076 918874 -202 -0.0
(read/write) 1383466 1383466 0 0.0
.dram0.bss 70720 70720 0 0.0
.dram0.data 14252 14252 0 0.0
.flash.rodata 179376 179376 0 0.0
.flash.text 919076 918874 -202 -0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 967519 967211 -308 -0.0
(read/write) 449884 449884 0 0.0
.dram0.bss 75184 75184 0 0.0
.dram0.data 34032 34032 0 0.0
.flash.rodata 208540 208540 0 0.0
.flash.text 962135 961827 -308 -0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 660588 660364 -224 -0.0
.bss 76608 76608 0 0.0
.data 1868 1868 0 0.0
.text 576312 576088 -224 -0.0
lock k32w061+release (read/write) 661312 661088 -224 -0.0
.bss 76848 76848 0 0.0
.data 1888 1888 0 0.0
.text 576776 576552 -224 -0.0
linux chip-tool-ipv6only arm64 (read only) 8536964 8543636 6672 0.1
(read/write) 391009 390977 -32 -0.0
.bss 56049 56049 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 261032 260984 -48 -0.0
.dynamic 560 560 0 0.0
.got 69056 69064 8 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 436908 437484 576 0.1
.text 7261028 7267140 6112 0.1
thermostat-no-ble arm64 (read only) 2051916 2051916 0 0.0
(read/write) 145697 145697 0 0.0
.bss 64785 64785 0 0.0
.data 904 904 0 0.0
.data.rel.ro 72984 72984 0 0.0
.dynamic 560 560 0 0.0
.got 4064 4064 0 0.0
.init 24 24 0 0.0
.init_array 320 320 0 0.0
.rodata 130700 130700 0 0.0
.text 1706720 1706720 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2352184 2351928 -256 -0.0
.bss 189428 189428 0 0.0
.data 5304 5304 0 0.0
.text 1314760 1314504 -256 -0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2334408 2334216 -192 -0.0
.bss 180960 180960 0 0.0
.data 5584 5584 0 0.0
.text 1297008 1296816 -192 -0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2304760 2304568 -192 -0.0
.bss 179960 179960 0 0.0
.data 5560 5560 0 0.0
.text 1267360 1267168 -192 -0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139712 1139712 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103096 103096 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2054256 2054000 -256 -0.0
.bss 156876 156876 0 0.0
.data 4864 4864 0 0.0
.text 1016856 1016600 -256 -0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 942879 942655 -224 -0.0
bss 119044 119044 0 0.0
rodata 108916 108916 0 0.0
text 637312 637088 -224 -0.0
nrf52840dk_nrf52840+rpc (read/write) 928347 928123 -224 -0.0
bss 116088 116088 0 0.0
rodata 101368 101368 0 0.0
text 632708 632484 -224 -0.0
nrf52840dongle_nrf52840 (read/write) 993527 993303 -224 -0.0
bss 121884 121884 0 0.0
rodata 113672 113672 0 0.0
text 669512 669288 -224 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 852706 852482 -224 -0.0
bss 115828 115828 0 0.0
rodata 102092 102092 0 0.0
text 554232 554008 -224 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 912223 911999 -224 -0.0
bss 118196 118196 0 0.0
rodata 103884 103884 0 0.0
text 612756 612532 -224 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 822294 822070 -224 -0.0
bss 115016 115016 0 0.0
rodata 97112 97112 0 0.0
text 529712 529488 -224 -0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 541835 541835 0 0.0
bss 52588 52588 0 0.0
rodata 50104 50104 0 0.0
text 376940 376940 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 915083 914859 -224 -0.0
bss 117960 117960 0 0.0
rodata 104248 104248 0 0.0
text 615404 615180 -224 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 910267 910043 -224 -0.0
bss 117984 117984 0 0.0
rodata 103400 103400 0 0.0
text 611428 611204 -224 -0.0
shell nrf52840dk_nrf52840 (read/write) 798527 798303 -224 -0.0
bss 109776 109776 0 0.0
rodata 78324 78324 0 0.0
text 533928 533704 -224 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 711342 711118 -224 -0.0
bss 107664 107664 0 0.0
rodata 72624 72624 0 0.0
text 451608 451384 -224 -0.0
p6 all-clusters-app default (read/write) 2410664 2410488 -176 -0.0
.bss 117772 117772 0 0.0
.data 2584 2584 0 0.0
.text 1368928 1368752 -176 -0.0
light-app default (read/write) 2330736 2330576 -160 -0.0
.bss 105544 105544 0 0.0
.data 2408 2408 0 0.0
.text 1289000 1288840 -160 -0.0
lock-app default (read/write) 2299752 2299576 -176 -0.0
.bss 104392 104392 0 0.0
.data 2360 2360 0 0.0
.text 1258016 1257840 -176 -0.0
qpg lighting-app qpg6105+debug (read only) 567476 567252 -224 -0.0
(read/write) 146940 146940 0 0.0
.bss 89688 89688 0 0.0
.data 1064 1064 0 0.0
.text 562156 561932 -224 -0.0
lock-app qpg6105+debug (read only) 515904 515680 -224 -0.0
(read/write) 146936 146936 0 0.0
.bss 88256 88256 0 0.0
.data 988 988 0 0.0
.text 510584 510360 -224 -0.0
persistent-storage-app qpg6105+debug (read only) 107140 107140 0 0.0
(read/write) 146940 146940 0 0.0
.bss 38504 38504 0 0.0
.data 288 288 0 0.0
.text 101820 101820 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 841718 841494 -224 -0.0
bss 87492 87492 0 0.0
noinit 37160 37160 0 0.0
text 588346 588122 -224 -0.0

@boring-cyborg boring-cyborg bot added the app label Jan 24, 2022
@github-actions
Copy link

github-actions bot commented Jan 24, 2022

PR #12915: Size comparison from 87d3698 to 3b9971b

Increases above 0.2%:

platform target config section 87d3698 3b9971b change % change
k32w light k32w061+release .bss 76336 77224 888 1.2
lock k32w061+release .bss 76600 77488 888 1.2
linux thermostat-no-ble arm64 (read/write) 144881 145969 1088 0.8
.bss 64017 64897 880 1.4
.data.rel.ro 72952 73160 208 0.3
mbed lock-app CY8CPROTO_062_4343W+release .bss 179704 180592 888 0.5
nrfconnect lock-app nrf52840dk_nrf52840 bss 117948 118828 880 0.7
nrf5340dk_nrf5340_cpuapp bss 114764 115648 884 0.8
pump-app nrf52840dk_nrf52840 bss 117696 118576 880 0.7
pump-controller-app nrf52840dk_nrf52840 bss 117720 118600 880 0.7
p6 lock-app default .bss 104144 105024 880 0.8
qpg lock-app qpg6105+debug .bss 88008 88896 888 1.0
Increases (26 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 87d3698 3b9971b change % change
cyw30739 light cyw930739m2evb_01 (read/write) 573646 573690 44 0.0
.app_xip_area 478932 478976 44 0.0
efr32 lighting-app BRD4161A (read only) 835372 835412 40 0.0
.text 835364 835404 40 0.0
BRD4161A+rpc (read only) 822752 822800 48 0.0
.text 822744 822792 48 0.0
window-app BRD4161A (read only) 806228 806324 96 0.0
(read/write) 125560 125624 64 0.1
.bss 123704 123768 64 0.1
.text 806220 806316 96 0.0
esp32 all-clusters-app c3devkit (read/write) 1376754 1376762 8 0.0
.flash.rodata 175992 176000 8 0.0
m5stack (read/write) 443160 443176 16 0.0
.flash.rodata 205144 205160 16 0.0
k32w light k32w061+release (read/write) 659868 660864 996 0.2
.bss 76336 77224 888 1.2
.text 575864 575972 108 0.0
lock k32w061+release (read/write) 660736 661796 1060 0.2
.bss 76600 77488 888 1.2
.text 576444 576616 172 0.0
linux chip-tool-ipv6only arm64 (read only) 8537812 8544356 6544 0.1
.got 69048 69056 8 0.0
.rodata 436892 437500 608 0.1
.text 7262004 7267892 5888 0.1
thermostat-no-ble arm64 (read only) 2050332 2050380 48 0.0
(read/write) 144881 145969 1088 0.8
.bss 64017 64897 880 1.4
.data.rel.ro 72952 73160 208 0.3
.rodata 129900 129916 16 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2348720 2348728 8 0.0
.text 1311296 1311304 8 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2333904 2333936 32 0.0
.text 1296504 1296536 32 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2304408 2304568 160 0.0
.bss 179704 180592 888 0.5
.text 1267008 1267168 160 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 942071 942131 60 0.0
rodata 108620 108648 28 0.0
text 637100 637124 24 0.0
nrf52840dk_nrf52840+rpc (read/write) 927583 927627 44 0.0
rodata 101068 101096 28 0.0
text 632496 632516 20 0.0
nrf52840dongle_nrf52840 (read/write) 992747 992807 60 0.0
rodata 113372 113400 28 0.0
text 669300 669320 20 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 851926 851986 60 0.0
rodata 101792 101820 28 0.0
text 554020 554044 24 0.0
lock-app nrf52840dk_nrf52840 (read/write) 911599 912667 1068 0.1
bss 117948 118828 880 0.7
rodata 103612 103768 156 0.2
text 612652 612676 24 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 821666 822702 1036 0.1
bss 114764 115648 884 0.8
rodata 96836 96992 156 0.2
text 529608 529632 24 0.0
pump-app nrf52840dk_nrf52840 (read/write) 914287 915291 1004 0.1
bss 117696 118576 880 0.7
rodata 103948 104104 156 0.2
pump-controller-app nrf52840dk_nrf52840 (read/write) 909503 910507 1004 0.1
bss 117720 118600 880 0.7
rodata 103100 103256 156 0.2
p6 light-app default (read/write) 2330128 2330192 64 0.0
.text 1288392 1288456 64 0.0
lock-app default (read/write) 2299480 2299664 184 0.0
.bss 104144 105024 880 0.8
.text 1257744 1257928 184 0.0
qpg lighting-app qpg6105+debug (read only) 567000 567052 52 0.0
.text 561680 561732 52 0.0
lock-app qpg6105+debug (read only) 515564 515752 188 0.0
.bss 88008 88896 888 1.0
.text 510244 510432 188 0.0
telink lighting-app tlsr9518adk80d (read/write) 840966 840994 28 0.0
Decreases (7 builds for esp32, linux, nrfconnect, p6)
platform target config section 87d3698 3b9971b change % change
esp32 all-clusters-app c3devkit (read only) 919280 919204 -76 -0.0
.flash.text 919280 919204 -76 -0.0
m5stack (read only) 967599 967543 -56 -0.0
.flash.text 962215 962159 -56 -0.0
linux chip-tool-ipv6only arm64 (read/write) 390977 390961 -16 -0.0
.data.rel.ro 261000 260976 -24 -0.0
thermostat-no-ble arm64 .text 1706160 1706064 -96 -0.0
nrfconnect pump-app nrf52840dk_nrf52840 text 615192 615148 -44 -0.0
pump-controller-app nrf52840dk_nrf52840 text 611216 611172 -44 -0.0
p6 all-clusters-app default (read/write) 2407400 2407376 -24 -0.0
.text 1365664 1365640 -24 -0.0
Full report (33 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 87d3698 3b9971b change % change
cyw30739 light cyw930739m2evb_01 (read/write) 573646 573690 44 0.0
.app_xip_area 478932 478976 44 0.0
.bss 77452 77452 0 0.0
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
efr32 lighting-app BRD4161A (read only) 835372 835412 40 0.0
(read/write) 126980 126980 0 0.0
.bss 125080 125080 0 0.0
.data 1900 1900 0 0.0
.text 835364 835404 40 0.0
BRD4161A+rpc (read only) 822752 822800 48 0.0
(read/write) 143640 143640 0 0.0
.bss 141640 141640 0 0.0
.data 2000 2000 0 0.0
.text 822744 822792 48 0.0
window-app BRD4161A (read only) 806228 806324 96 0.0
(read/write) 125560 125624 64 0.1
.bss 123704 123768 64 0.1
.data 1856 1856 0 0.0
.text 806220 806316 96 0.0
esp32 all-clusters-app c3devkit (read only) 919280 919204 -76 -0.0
(read/write) 1376754 1376762 8 0.0
.dram0.bss 67384 67384 0 0.0
.dram0.data 14244 14244 0 0.0
.flash.rodata 175992 176000 8 0.0
.flash.text 919280 919204 -76 -0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 967599 967543 -56 -0.0
(read/write) 443160 443176 16 0.0
.dram0.bss 71856 71856 0 0.0
.dram0.data 34032 34032 0 0.0
.flash.rodata 205144 205160 16 0.0
.flash.text 962215 962159 -56 -0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 659868 660864 996 0.2
.bss 76336 77224 888 1.2
.data 1868 1868 0 0.0
.text 575864 575972 108 0.0
lock k32w061+release (read/write) 660736 661796 1060 0.2
.bss 76600 77488 888 1.2
.data 1892 1892 0 0.0
.text 576444 576616 172 0.0
linux chip-tool-ipv6only arm64 (read only) 8537812 8544356 6544 0.1
(read/write) 390977 390961 -16 -0.0
.bss 56049 56049 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 261000 260976 -24 -0.0
.dynamic 560 560 0 0.0
.got 69048 69056 8 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 436892 437500 608 0.1
.text 7262004 7267892 5888 0.1
thermostat-no-ble arm64 (read only) 2050332 2050380 48 0.0
(read/write) 144881 145969 1088 0.8
.bss 64017 64897 880 1.4
.data 904 904 0 0.0
.data.rel.ro 72952 73160 208 0.3
.dynamic 560 560 0 0.0
.got 4056 4056 0 0.0
.init 24 24 0 0.0
.init_array 320 320 0 0.0
.rodata 129900 129916 16 0.0
.text 1706160 1706064 -96 -0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2348720 2348728 8 0.0
.bss 186092 186092 0 0.0
.data 5304 5304 0 0.0
.text 1311296 1311304 8 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2333904 2333936 32 0.0
.bss 180696 180696 0 0.0
.data 5584 5584 0 0.0
.text 1296504 1296536 32 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2304408 2304568 160 0.0
.bss 179704 180592 888 0.5
.data 5568 5568 0 0.0
.text 1267008 1267168 160 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139712 1139712 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103096 103096 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2053896 2053896 0 0.0
.bss 156876 156876 0 0.0
.data 4864 4864 0 0.0
.text 1016496 1016496 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 942071 942131 60 0.0
bss 118776 118776 0 0.0
rodata 108620 108648 28 0.0
text 637100 637124 24 0.0
nrf52840dk_nrf52840+rpc (read/write) 927583 927627 44 0.0
bss 115820 115820 0 0.0
rodata 101068 101096 28 0.0
text 632496 632516 20 0.0
nrf52840dongle_nrf52840 (read/write) 992747 992807 60 0.0
bss 121620 121620 0 0.0
rodata 113372 113400 28 0.0
text 669300 669320 20 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 851926 851986 60 0.0
bss 115564 115564 0 0.0
rodata 101792 101820 28 0.0
text 554020 554044 24 0.0
lock-app nrf52840dk_nrf52840 (read/write) 911599 912667 1068 0.1
bss 117948 118828 880 0.7
rodata 103612 103768 156 0.2
text 612652 612676 24 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 821666 822702 1036 0.1
bss 114764 115648 884 0.8
rodata 96836 96992 156 0.2
text 529608 529632 24 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 541835 541835 0 0.0
bss 52588 52588 0 0.0
rodata 50104 50104 0 0.0
text 376940 376940 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 914287 915291 1004 0.1
bss 117696 118576 880 0.7
rodata 103948 104104 156 0.2
text 615192 615148 -44 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 909503 910507 1004 0.1
bss 117720 118600 880 0.7
rodata 103100 103256 156 0.2
text 611216 611172 -44 -0.0
shell nrf52840dk_nrf52840 (read/write) 798203 798203 0 0.0
bss 109776 109776 0 0.0
rodata 78288 78288 0 0.0
text 533644 533644 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 711022 711022 0 0.0
bss 107664 107664 0 0.0
rodata 72592 72592 0 0.0
text 451320 451320 0 0.0
p6 all-clusters-app default (read/write) 2407400 2407376 -24 -0.0
.bss 114436 114436 0 0.0
.data 2592 2592 0 0.0
.text 1365664 1365640 -24 -0.0
light-app default (read/write) 2330128 2330192 64 0.0
.bss 105272 105272 0 0.0
.data 2408 2408 0 0.0
.text 1288392 1288456 64 0.0
lock-app default (read/write) 2299480 2299664 184 0.0
.bss 104144 105024 880 0.8
.data 2360 2360 0 0.0
.text 1257744 1257928 184 0.0
qpg lighting-app qpg6105+debug (read only) 567000 567052 52 0.0
(read/write) 146940 146940 0 0.0
.bss 89416 89416 0 0.0
.data 1064 1064 0 0.0
.text 561680 561732 52 0.0
lock-app qpg6105+debug (read only) 515564 515752 188 0.0
(read/write) 146940 146940 0 0.0
.bss 88008 88896 888 1.0
.data 992 992 0 0.0
.text 510244 510432 188 0.0
persistent-storage-app qpg6105+debug (read only) 107140 107140 0 0.0
(read/write) 146940 146940 0 0.0
.bss 38504 38504 0 0.0
.data 288 288 0 0.0
.text 101820 101820 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 840966 840994 28 0.0
bss 87224 87224 0 0.0
noinit 37160 37160 0 0.0
text 588182 588182 0 0.0

msandstedt added a commit to msandstedt/connectedhomeip that referenced this pull request Jan 24, 2022
This amendment takes advantage project-chip#12915, which makes available
both the root certificate and NOC in memory at the same time
during commissioning.  Because of this, the commissioner no
longer needs to extract and store the Root CA public key to
generate the compressed fabric ID.
This amendment takes advantage project-chip#12915, which makes available
both the root certificate and NOC in memory at the same time
during commissioning.  Because of this, the commissioner no
longer needs to extract and store the Root CA public key to
generate the compressed fabric ID.
cleanup operational ID extraction from certificates
@github-actions
Copy link

github-actions bot commented Jan 25, 2022

PR #12915: Size comparison from 87d3698 to 8a88412

Increases above 0.2%:

platform target config section 87d3698 8a88412 change % change
k32w light k32w061+release .bss 76336 77224 888 1.2
lock k32w061+release .bss 76600 77488 888 1.2
linux bridge-app debug+rpc (read/write) 86952 88072 1120 1.3
.bss 43904 44800 896 2.0
.data.rel.ro 36104 36312 208 0.6
door-lock-app debug (read/write) 113592 114712 1120 1.0
.bss 47200 48096 896 1.9
.data.rel.ro 60072 60280 208 0.3
ota-requestor-app debug (read/write) 86680 87800 1120 1.3
.bss 47456 48352 896 1.9
.data.rel.ro 32872 33080 208 0.6
thermostat-no-ble arm64 (read/write) 144881 145969 1088 0.8
.bss 64017 64897 880 1.4
.data.rel.ro 72952 73160 208 0.3
tv-app debug (read only) 2238321 2247225 8904 0.4
.rodata 191180 192044 864 0.5
.text 1879746 1887666 7920 0.4
mbed lock-app CY8CPROTO_062_4343W+release .bss 179704 180592 888 0.5
nrfconnect lock-app nrf52840dk_nrf52840 bss 117948 118828 880 0.7
nrf5340dk_nrf5340_cpuapp bss 114764 115648 884 0.8
pump-app nrf52840dk_nrf52840 bss 117696 118576 880 0.7
pump-controller-app nrf52840dk_nrf52840 bss 117720 118600 880 0.7
qpg lock-app qpg6105+debug .bss 88008 88896 888 1.0
Increases (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, qpg, telink)
platform target config section 87d3698 8a88412 change % change
efr32 lighting-app BRD4161A (read only) 835372 835412 40 0.0
.text 835364 835404 40 0.0
BRD4161A+rpc (read only) 822752 822816 64 0.0
.text 822744 822808 64 0.0
window-app BRD4161A (read only) 806228 806324 96 0.0
(read/write) 125560 125624 64 0.1
.bss 123704 123768 64 0.1
.text 806220 806316 96 0.0
esp32 all-clusters-app c3devkit (read/write) 1376754 1376762 8 0.0
.flash.rodata 175992 176000 8 0.0
m5stack (read/write) 443160 443176 16 0.0
.flash.rodata 205144 205160 16 0.0
k32w light k32w061+release (read/write) 659868 660864 996 0.2
.bss 76336 77224 888 1.2
.text 575864 575972 108 0.0
lock k32w061+release (read/write) 660736 661796 1060 0.2
.bss 76600 77488 888 1.2
.text 576444 576616 172 0.0
linux all-clusters-app debug (read only) 2209025 2209081 56 0.0
(read/write) 142256 142288 32 0.0
.data.rel.ro 75720 75736 16 0.0
.rodata 181045 181173 128 0.1
bridge-app debug+rpc (read only) 1611581 1611885 304 0.0
(read/write) 86952 88072 1120 1.3
.bss 43904 44800 896 2.0
.data.rel.ro 36104 36312 208 0.6
.rodata 137684 137812 128 0.1
.text 1360629 1360709 80 0.0
chip-tool debug (read only) 8705309 8714549 9240 0.1
(read/write) 258352 258384 32 0.0
.data.rel.ro 213656 213688 32 0.0
.rodata 429281 430081 800 0.2
.text 7747445 7755813 8368 0.1
chip-tool-ipv6only arm64 (read only) 8537812 8544308 6496 0.1
.got 69048 69056 8 0.0
.rodata 436892 437484 592 0.1
.text 7262004 7267860 5856 0.1
door-lock-app debug (read only) 1697921 1698193 272 0.0
(read/write) 113592 114712 1120 1.0
.bss 47200 48096 896 1.9
.data.rel.ro 60072 60280 208 0.3
.rodata 147612 147708 96 0.1
.text 1405170 1405250 80 0.0
lighting-app debug+rpc (read only) 1892137 1892393 256 0.0
(read/write) 119584 119616 32 0.0
.data.rel.ro 63768 63784 16 0.0
.rodata 159665 159761 96 0.1
.text 1581362 1581426 64 0.0
ota-provider-app debug (read only) 1515113 1515321 208 0.0
.data.rel.ro 31032 31048 16 0.1
.rodata 137510 137606 96 0.1
.text 1267138 1267202 64 0.0
ota-requestor-app debug (read/write) 86680 87800 1120 1.3
.bss 47456 48352 896 1.9
.data.rel.ro 32872 33080 208 0.6
.rodata 143255 143319 64 0.0
shell debug (read only) 2184561 2184633 72 0.0
(read/write) 142624 142656 32 0.0
.data.rel.ro 70288 70304 16 0.0
.rodata 181842 181970 128 0.1
thermostat-no-ble arm64 (read only) 2050332 2050428 96 0.0
(read/write) 144881 145969 1088 0.8
.bss 64017 64897 880 1.4
.data.rel.ro 72952 73160 208 0.3
.rodata 129900 129948 48 0.0
tv-app debug (read only) 2238321 2247225 8904 0.4
.data.rel.ro 70688 70720 32 0.0
.rodata 191180 192044 864 0.5
.text 1879746 1887666 7920 0.4
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2348720 2348728 8 0.0
.text 1311296 1311304 8 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2333904 2333936 32 0.0
.text 1296504 1296536 32 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2304408 2304568 160 0.0
.bss 179704 180592 888 0.5
.text 1267008 1267168 160 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 942071 942131 60 0.0
rodata 108620 108648 28 0.0
text 637100 637128 28 0.0
nrf52840dk_nrf52840+rpc (read/write) 927583 927643 60 0.0
rodata 101068 101096 28 0.0
text 632496 632524 28 0.0
nrf52840dongle_nrf52840 (read/write) 992747 992807 60 0.0
rodata 113372 113400 28 0.0
text 669300 669328 28 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 851926 851986 60 0.0
rodata 101792 101820 28 0.0
text 554020 554048 28 0.0
lock-app nrf52840dk_nrf52840 (read/write) 911599 912683 1084 0.1
bss 117948 118828 880 0.7
rodata 103612 103768 156 0.2
text 612652 612680 28 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 821666 822702 1036 0.1
bss 114764 115648 884 0.8
rodata 96836 96992 156 0.2
text 529608 529636 28 0.0
pump-app nrf52840dk_nrf52840 (read/write) 914287 915307 1020 0.1
bss 117696 118576 880 0.7
rodata 103948 104104 156 0.2
pump-controller-app nrf52840dk_nrf52840 (read/write) 909503 910523 1020 0.1
bss 117720 118600 880 0.7
rodata 103100 103256 156 0.2
qpg lighting-app qpg6105+debug (read only) 567000 567060 60 0.0
.text 561680 561740 60 0.0
lock-app qpg6105+debug (read only) 515564 515752 188 0.0
.bss 88008 88896 888 1.0
.text 510244 510432 188 0.0
telink lighting-app tlsr9518adk80d (read/write) 840966 840994 28 0.0
Decreases (10 builds for esp32, linux, nrfconnect)
platform target config section 87d3698 8a88412 change % change
esp32 all-clusters-app c3devkit (read only) 919280 919204 -76 -0.0
.flash.text 919280 919204 -76 -0.0
m5stack (read only) 967599 967543 -56 -0.0
.flash.text 962215 962159 -56 -0.0
linux all-clusters-app debug .text 1869410 1869266 -144 -0.0
chip-tool-ipv6only arm64 (read/write) 390977 390961 -16 -0.0
.data.rel.ro 261000 260976 -24 -0.0
ota-requestor-app debug .text 1356482 1356322 -160 -0.0
shell debug .text 1849938 1849810 -128 -0.0
thermostat-no-ble arm64 .text 1706160 1706080 -80 -0.0
tv-app debug (read/write) 371656 314440 -57216 -15.4
.bss 292032 234784 -57248 -19.6
nrfconnect pump-app nrf52840dk_nrf52840 text 615192 615156 -36 -0.0
pump-controller-app nrf52840dk_nrf52840 text 611216 611176 -40 -0.0
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, qpg, telink)
platform target config section 87d3698 8a88412 change % change
efr32 lighting-app BRD4161A (read only) 835372 835412 40 0.0
(read/write) 126980 126980 0 0.0
.bss 125080 125080 0 0.0
.data 1900 1900 0 0.0
.text 835364 835404 40 0.0
BRD4161A+rpc (read only) 822752 822816 64 0.0
(read/write) 143640 143640 0 0.0
.bss 141640 141640 0 0.0
.data 2000 2000 0 0.0
.text 822744 822808 64 0.0
window-app BRD4161A (read only) 806228 806324 96 0.0
(read/write) 125560 125624 64 0.1
.bss 123704 123768 64 0.1
.data 1856 1856 0 0.0
.text 806220 806316 96 0.0
esp32 all-clusters-app c3devkit (read only) 919280 919204 -76 -0.0
(read/write) 1376754 1376762 8 0.0
.dram0.bss 67384 67384 0 0.0
.dram0.data 14244 14244 0 0.0
.flash.rodata 175992 176000 8 0.0
.flash.text 919280 919204 -76 -0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 967599 967543 -56 -0.0
(read/write) 443160 443176 16 0.0
.dram0.bss 71856 71856 0 0.0
.dram0.data 34032 34032 0 0.0
.flash.rodata 205144 205160 16 0.0
.flash.text 962215 962159 -56 -0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 659868 660864 996 0.2
.bss 76336 77224 888 1.2
.data 1868 1868 0 0.0
.text 575864 575972 108 0.0
lock k32w061+release (read/write) 660736 661796 1060 0.2
.bss 76600 77488 888 1.2
.data 1892 1892 0 0.0
.text 576444 576616 172 0.0
linux all-clusters-app debug (read only) 2209025 2209081 56 0.0
(read/write) 142256 142288 32 0.0
.bss 59648 59648 0 0.0
.data 1200 1200 0 0.0
.data.rel.ro 75720 75736 16 0.0
.dynamic 592 592 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 181045 181173 128 0.1
.text 1869410 1869266 -144 -0.0
bridge-app debug+rpc (read only) 1611581 1611885 304 0.0
(read/write) 86952 88072 1120 1.3
.bss 43904 44800 896 2.0
.data 1794 1794 0 0.0
.data.rel.ro 36104 36312 208 0.6
.dynamic 592 592 0 0.0
.got 3968 3968 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 137684 137812 128 0.1
.text 1360629 1360709 80 0.0
chip-tool debug (read only) 8705309 8714549 9240 0.1
(read/write) 258352 258384 32 0.0
.bss 37720 37720 0 0.0
.data 1064 1064 0 0.0
.data.rel.ro 213656 213688 32 0.0
.dynamic 608 608 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 429281 430081 800 0.2
.text 7747445 7755813 8368 0.1
chip-tool-ipv6only arm64 (read only) 8537812 8544308 6496 0.1
(read/write) 390977 390961 -16 -0.0
.bss 56049 56049 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 261000 260976 -24 -0.0
.dynamic 560 560 0 0.0
.got 69048 69056 8 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 436892 437484 592 0.1
.text 7262004 7267860 5856 0.1
door-lock-app debug (read only) 1697921 1698193 272 0.0
(read/write) 113592 114712 1120 1.0
.bss 47200 48096 896 1.9
.data 930 930 0 0.0
.data.rel.ro 60072 60280 208 0.3
.dynamic 592 592 0 0.0
.got 4104 4104 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 147612 147708 96 0.1
.text 1405170 1405250 80 0.0
lighting-app debug+rpc (read only) 1892137 1892393 256 0.0
(read/write) 119584 119616 32 0.0
.bss 49024 49024 0 0.0
.data 1328 1328 0 0.0
.data.rel.ro 63768 63784 16 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 696 696 0 0.0
.rodata 159665 159761 96 0.1
.text 1581362 1581426 64 0.0
ota-provider-app debug (read only) 1515113 1515321 208 0.0
(read/write) 82928 82928 0 0.0
.bss 45664 45664 0 0.0
.data 968 968 0 0.0
.data.rel.ro 31032 31048 16 0.1
.dynamic 592 592 0 0.0
.got 4040 4040 0 0.0
.init 27 27 0 0.0
.init_array 584 584 0 0.0
.rodata 137510 137606 96 0.1
.text 1267138 1267202 64 0.0
ota-requestor-app debug (read only) 1613433 1613433 0 0.0
(read/write) 86680 87800 1120 1.3
.bss 47456 48352 896 1.9
.data 1064 1064 0 0.0
.data.rel.ro 32872 33080 208 0.6
.dynamic 592 592 0 0.0
.got 4032 4032 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 143255 143319 64 0.0
.text 1356482 1356322 -160 -0.0
shell debug (read only) 2184561 2184633 72 0.0
(read/write) 142624 142656 32 0.0
.bss 65856 65856 0 0.0
.data 800 800 0 0.0
.data.rel.ro 70288 70304 16 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 181842 181970 128 0.1
.text 1849938 1849810 -128 -0.0
thermostat-no-ble arm64 (read only) 2050332 2050428 96 0.0
(read/write) 144881 145969 1088 0.8
.bss 64017 64897 880 1.4
.data 904 904 0 0.0
.data.rel.ro 72952 73160 208 0.3
.dynamic 560 560 0 0.0
.got 4056 4056 0 0.0
.init 24 24 0 0.0
.init_array 320 320 0 0.0
.rodata 129900 129948 48 0.0
.text 1706160 1706080 -80 -0.0
tv-app debug (read only) 2238321 2247225 8904 0.4
(read/write) 371656 314440 -57216 -15.4
.bss 292032 234784 -57248 -19.6
.data 2976 2976 0 0.0
.data.rel.ro 70688 70720 32 0.0
.dynamic 592 592 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 191180 192044 864 0.5
.text 1879746 1887666 7920 0.4
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2348720 2348728 8 0.0
.bss 186092 186092 0 0.0
.data 5304 5304 0 0.0
.text 1311296 1311304 8 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2333904 2333936 32 0.0
.bss 180696 180696 0 0.0
.data 5584 5584 0 0.0
.text 1296504 1296536 32 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2304408 2304568 160 0.0
.bss 179704 180592 888 0.5
.data 5568 5568 0 0.0
.text 1267008 1267168 160 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139712 1139712 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103096 103096 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2053896 2053896 0 0.0
.bss 156876 156876 0 0.0
.data 4864 4864 0 0.0
.text 1016496 1016496 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 942071 942131 60 0.0
bss 118776 118776 0 0.0
rodata 108620 108648 28 0.0
text 637100 637128 28 0.0
nrf52840dk_nrf52840+rpc (read/write) 927583 927643 60 0.0
bss 115820 115820 0 0.0
rodata 101068 101096 28 0.0
text 632496 632524 28 0.0
nrf52840dongle_nrf52840 (read/write) 992747 992807 60 0.0
bss 121620 121620 0 0.0
rodata 113372 113400 28 0.0
text 669300 669328 28 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 851926 851986 60 0.0
bss 115564 115564 0 0.0
rodata 101792 101820 28 0.0
text 554020 554048 28 0.0
lock-app nrf52840dk_nrf52840 (read/write) 911599 912683 1084 0.1
bss 117948 118828 880 0.7
rodata 103612 103768 156 0.2
text 612652 612680 28 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 821666 822702 1036 0.1
bss 114764 115648 884 0.8
rodata 96836 96992 156 0.2
text 529608 529636 28 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 541835 541835 0 0.0
bss 52588 52588 0 0.0
rodata 50104 50104 0 0.0
text 376940 376940 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 914287 915307 1020 0.1
bss 117696 118576 880 0.7
rodata 103948 104104 156 0.2
text 615192 615156 -36 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 909503 910523 1020 0.1
bss 117720 118600 880 0.7
rodata 103100 103256 156 0.2
text 611216 611176 -40 -0.0
shell nrf52840dk_nrf52840 (read/write) 798203 798203 0 0.0
bss 109776 109776 0 0.0
rodata 78288 78288 0 0.0
text 533644 533644 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 711022 711022 0 0.0
bss 107664 107664 0 0.0
rodata 72592 72592 0 0.0
text 451320 451320 0 0.0
qpg lighting-app qpg6105+debug (read only) 567000 567060 60 0.0
(read/write) 146940 146940 0 0.0
.bss 89416 89416 0 0.0
.data 1064 1064 0 0.0
.text 561680 561740 60 0.0
lock-app qpg6105+debug (read only) 515564 515752 188 0.0
(read/write) 146940 146940 0 0.0
.bss 88008 88896 888 1.0
.data 992 992 0 0.0
.text 510244 510432 188 0.0
persistent-storage-app qpg6105+debug (read only) 107140 107140 0 0.0
(read/write) 146940 146940 0 0.0
.bss 38504 38504 0 0.0
.data 288 288 0 0.0
.text 101820 101820 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 840966 840994 28 0.0
bss 87224 87224 0 0.0
noinit 37160 37160 0 0.0
text 588182 588182 0 0.0

@andy31415 andy31415 merged commit 09a4921 into project-chip:master Jan 25, 2022
msandstedt added a commit to msandstedt/connectedhomeip that referenced this pull request Jan 25, 2022
msandstedt added a commit to msandstedt/connectedhomeip that referenced this pull request Jan 25, 2022
woody-apple pushed a commit that referenced this pull request Jan 26, 2022
…13830)

* Add interfaces to pass ipk and adminSubject from op creds delegate

The operational credentials delegate provides interfaces to pass
certificates back to the commissioner, but cannot fully specify the
contents of the AddNOC command.  Missing are the IPK and AdminSubject.
Without these, those can only be managed locally.

This commit adds optional interfaces to pass these from the delegate.
Where AdminSubject is not passed, the commissioner uses its own node ID
as before.  And where IPK is not passed, the commissioner writes a
0-length IPK, which is also as before and is what we are using until
GroupKeyManagement and other dependencies are in place.

Fixes #13503

* fix android build

* fix sanitization test

* fix iOS build

* per tcarmelveilleux, do not enclose 0-length IPK ind AddNOC

* remove Has methods from CommissioningParameters for brevity

* restyle

* Fix #12915 merge
selissia pushed a commit to selissia/connectedhomeip that referenced this pull request Jan 28, 2022
…parate steps (project-chip#12915)

* DAC and PAI storage/control to AutoCommissioner.

* Move attestation step to commissioning delegate

* Move signing request and NOC chain gen to AutoCommissioner.

* Remaining steps pulled out into external commissioner.

* Fix up error handling

* Add some additional logging

I can't repro the cirque failure locally for some reason. Adding
logging to figure out what's up.

* I'm dumb.

* Error checking on parameter setting.

* Fix sizing on thread data set

* Use Variant instead of union.

* Simplify error handling.

* Get rid of some debug cruft.

* cleanup operational ID extraction from certificates

This amendment takes advantage project-chip#12915, which makes available
both the root certificate and NOC in memory at the same time
during commissioning.  Because of this, the commissioner no
longer needs to extract and store the Root CA public key to
generate the compressed fabric ID.

Co-authored-by: Michael Sandstedt <michael.sandstedt@gmail.com>
selissia pushed a commit to selissia/connectedhomeip that referenced this pull request Jan 28, 2022
…roject-chip#13830)

* Add interfaces to pass ipk and adminSubject from op creds delegate

The operational credentials delegate provides interfaces to pass
certificates back to the commissioner, but cannot fully specify the
contents of the AddNOC command.  Missing are the IPK and AdminSubject.
Without these, those can only be managed locally.

This commit adds optional interfaces to pass these from the delegate.
Where AdminSubject is not passed, the commissioner uses its own node ID
as before.  And where IPK is not passed, the commissioner writes a
0-length IPK, which is also as before and is what we are using until
GroupKeyManagement and other dependencies are in place.

Fixes project-chip#13503

* fix android build

* fix sanitization test

* fix iOS build

* per tcarmelveilleux, do not enclose 0-length IPK ind AddNOC

* remove Has methods from CommissioningParameters for brevity

* restyle

* Fix project-chip#12915 merge
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.

7 participants