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

Enforce maximum NONCE #19037

Merged
merged 4 commits into from
Jun 9, 2022
Merged

Enforce maximum NONCE #19037

merged 4 commits into from
Jun 9, 2022

Conversation

kghost
Copy link
Contributor

@kghost kghost commented Jun 1, 2022

Problem

Fixes #19011

Change overview

Stop sending packet for a session if the counter is exhausted.

Testing

Added a unit-test for regression check

@github-actions
Copy link

github-actions bot commented Jun 1, 2022

PR #19037: Size comparison from 5148b5d to 410b41d

Increases (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 5148b5d 410b41d change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 648347 648395 48 0.0
.rodata 84499 84507 8 0.0
.text 563612 563652 40 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 615179 615227 48 0.0
.rodata 73883 73891 8 0.0
.text 541060 541100 40 0.0
lock-ftd LP_CC2652R7 (read only) 679995 680059 64 0.0
.rodata 96563 96571 8 0.0
.text 582948 583004 56 0.0
lock-mtd LP_CC2652R7 (read only) 629411 629467 56 0.0
.rodata 96451 96459 8 0.0
.text 532468 532516 48 0.0
pump-app LP_CC2652R7 (read only) 676415 676471 56 0.0
.rodata 89039 89047 8 0.0
.text 586892 586940 48 0.0
pump-controller-app LP_CC2652R7 (read only) 654343 654399 56 0.0
.rodata 83767 83775 8 0.0
.text 570096 570144 48 0.0
shell LP_CC2652R7 (read only) 641362 641418 56 0.0
.rodata 81490 81498 8 0.0
.text 559640 559688 48 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 622118 622182 64 0.0
.app_xip_area 525696 525760 64 0.0
lock cyw930739m2evb_01 (read/write) 630826 630882 56 0.0
.app_xip_area 535876 535932 56 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 570978 571034 56 0.0
.app_xip_area 466100 466156 56 0.0
efr32 lighting-app BRD4161A (read only) 914876 914940 64 0.0
.text 914868 914932 64 0.0
BRD4161A+rpc (read only) 949032 949096 64 0.0
.text 949024 949088 64 0.0
BRD4161A+rs911x (read only) 789736 789792 56 0.0
.text 789728 789784 56 0.0
lock-app BRD4161A+wf200 (read only) 954756 954812 56 0.0
.text 954748 954804 56 0.0
window-app BRD4161A (read only) 899796 899860 64 0.0
.text 899788 899852 64 0.0
esp32 all-clusters-app c3devkit (read only) 1005546 1005588 42 0.0
(read/write) 1480002 1480010 8 0.0
.flash.rodata 210768 210776 8 0.0
.flash.text 1005546 1005588 42 0.0
m5stack (read only) 1060695 1060759 64 0.0
(read/write) 482208 482216 8 0.0
.flash.rodata 241340 241348 8 0.0
.flash.text 1055311 1055375 64 0.0
k32w light k32w061+release (read/write) 680700 680772 72 0.0
.text 596816 596888 72 0.0
lock k32w061+release (read/write) 732692 732748 56 0.0
.text 648408 648464 56 0.0
linux all-clusters-app debug (read only) 2769985 2770313 328 0.0
(read/write) 178272 178304 32 0.0
.data.rel.ro 83848 83864 16 0.0
.rodata 244381 244413 32 0.0
.text 2351650 2351874 224 0.0
all-clusters-minimal-app debug (read only) 2647073 2647401 328 0.0
.data.rel.ro 76728 76744 16 0.0
.rodata 246269 246301 32 0.0
.text 2228242 2228466 224 0.0
bridge-app debug+rpc (read only) 2030297 2030625 328 0.0
(read/write) 147896 147928 32 0.0
.data.rel.ro 65496 65512 16 0.0
.rodata 169472 169504 32 0.0
.text 1704306 1704530 224 0.0
chip-tool debug (read only) 9668925 9669221 296 0.0
(read/write) 600688 600720 32 0.0
.data.rel.ro 569296 569320 24 0.0
.text 7783637 7783861 224 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9413324 9413676 352 0.0
(read/write) 666929 666945 16 0.0
.data.rel.ro 604696 604720 24 0.0
.rodata 460228 460244 16 0.0
.text 7429236 7429492 256 0.0
lighting-app debug+rpc (read only) 2319921 2320233 312 0.0
(read/write) 153536 153568 32 0.0
.data.rel.ro 70984 71016 32 0.0
.text 1965714 1965954 240 0.0
lock-app debug (read only) 2258857 2259185 328 0.0
(read/write) 148632 148664 32 0.0
.data.rel.ro 67912 67944 32 0.0
.rodata 201576 201608 32 0.0
.text 1896962 1897186 224 0.0
ota-provider-app debug (read only) 2068689 2069033 344 0.0
(read/write) 141584 141616 32 0.0
.data.rel.ro 61000 61032 32 0.1
.rodata 180920 180952 32 0.0
.text 1728674 1728914 240 0.0
ota-requestor-app debug (read only) 2096753 2097065 312 0.0
(read/write) 144424 144456 32 0.0
.data.rel.ro 63096 63112 16 0.0
.text 1759234 1759474 240 0.0
shell debug (read only) 2574073 2574417 344 0.0
(read/write) 201680 201712 32 0.0
.data.rel.ro 77464 77488 24 0.0
.rodata 224498 224530 32 0.0
.text 2190130 2190370 240 0.0
thermostat-no-ble arm64 (read only) 2367316 2367668 352 0.0
(read/write) 177457 177489 32 0.0
.data.rel.ro 80216 80240 24 0.0
.rodata 148708 148740 32 0.0
.text 1988960 1989200 240 0.0
tv-app debug (read only) 2876689 2877033 344 0.0
(read/write) 280208 280240 32 0.0
.data.rel.ro 78224 78240 16 0.0
.rodata 222848 222880 32 0.0
.text 2471234 2471474 240 0.0
tv-casting-app debug (read only) 5430313 5430609 296 0.0
(read/write) 226000 226032 32 0.0
.data.rel.ro 138760 138792 32 0.0
.text 4730706 4730930 224 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2424832 2424840 8 0.0
.text 1387476 1387484 8 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1186795 1186851 56 0.0
rodata 153980 153988 8 0.0
text 814632 814684 52 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1135531 1135587 56 0.0
rodata 130548 130556 8 0.0
text 787636 787684 48 0.0
p6 all-clusters-app default (read/write) 2541352 2541408 56 0.0
.text 1499616 1499672 56 0.0
all-clusters-minimal-app default (read/write) 2487304 2487360 56 0.0
.text 1445568 1445624 56 0.0
light-app default (read/write) 2421248 2421304 56 0.0
.text 1379512 1379568 56 0.0
lock-app default (read/write) 2439296 2439352 56 0.0
.text 1397560 1397616 56 0.0
telink light-switch-app tlsr9518adk80d (read/write) 780048 780096 48 0.0
text 551456 551498 42 0.0
lighting-app tlsr9518adk80d (read/write) 800092 800140 48 0.0
text 568198 568240 42 0.0
Decreases (3 builds for cc13x2_26x2)
platform target config section 5148b5d 410b41d change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 162828 162764 -64 -0.0
pump-app LP_CC2652R7 (read/write) 167576 167520 -56 -0.0
pump-controller-app LP_CC2652R7 (read/write) 189504 189448 -56 -0.0
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 5148b5d 410b41d change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 648347 648395 48 0.0
(read/write) 158900 158900 0 0.0
.bss 74580 74580 0 0.0
.data 3404 3404 0 0.0
.rodata 84499 84507 8 0.0
.text 563612 563652 40 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 615179 615227 48 0.0
(read/write) 158072 158072 0 0.0
.bss 73812 73812 0 0.0
.data 3344 3344 0 0.0
.rodata 73883 73891 8 0.0
.text 541060 541100 40 0.0
lock-ftd LP_CC2652R7 (read only) 679995 680059 64 0.0
(read/write) 162828 162764 -64 -0.0
.bss 72604 72604 0 0.0
.data 3268 3268 0 0.0
.rodata 96563 96571 8 0.0
.text 582948 583004 56 0.0
lock-mtd LP_CC2652R7 (read only) 629411 629467 56 0.0
(read/write) 145724 145724 0 0.0
.bss 68340 68340 0 0.0
.data 3268 3268 0 0.0
.rodata 96451 96459 8 0.0
.text 532468 532516 48 0.0
pump-app LP_CC2652R7 (read only) 676415 676471 56 0.0
(read/write) 167576 167520 -56 -0.0
.bss 73004 73004 0 0.0
.data 3304 3304 0 0.0
.rodata 89039 89047 8 0.0
.text 586892 586940 48 0.0
pump-controller-app LP_CC2652R7 (read only) 654343 654399 56 0.0
(read/write) 189504 189448 -56 -0.0
.bss 72860 72860 0 0.0
.data 3264 3264 0 0.0
.rodata 83767 83775 8 0.0
.text 570096 570144 48 0.0
shell LP_CC2652R7 (read only) 641362 641418 56 0.0
(read/write) 154456 154456 0 0.0
.bss 76932 76932 0 0.0
.data 3408 3408 0 0.0
.rodata 81490 81498 8 0.0
.text 559640 559688 48 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 622118 622182 64 0.0
.app_xip_area 525696 525760 64 0.0
.bss 79064 79064 0 0.0
.data 708 708 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 630826 630882 56 0.0
.app_xip_area 535876 535932 56 0.0
.bss 77624 77624 0 0.0
.data 676 676 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 570978 571034 56 0.0
.app_xip_area 466100 466156 56 0.0
.bss 87224 87224 0 0.0
.data 616 616 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 914876 914940 64 0.0
(read/write) 133184 133184 0 0.0
.bss 131088 131088 0 0.0
.data 2096 2096 0 0.0
.text 914868 914932 64 0.0
BRD4161A+rpc (read only) 949032 949096 64 0.0
(read/write) 149880 149880 0 0.0
.bss 147576 147576 0 0.0
.data 2300 2300 0 0.0
.text 949024 949088 64 0.0
BRD4161A+rs911x (read only) 789736 789792 56 0.0
(read/write) 129460 129460 0 0.0
.bss 127356 127356 0 0.0
.data 2104 2104 0 0.0
.text 789728 789784 56 0.0
lock-app BRD4161A+wf200 (read only) 954756 954812 56 0.0
(read/write) 128240 128240 0 0.0
.bss 126172 126172 0 0.0
.data 2068 2068 0 0.0
.text 954748 954804 56 0.0
window-app BRD4161A (read only) 899796 899860 64 0.0
(read/write) 133252 133252 0 0.0
.bss 131160 131160 0 0.0
.data 2092 2092 0 0.0
.text 899788 899852 64 0.0
esp32 all-clusters-app c3devkit (read only) 1005546 1005588 42 0.0
(read/write) 1480002 1480010 8 0.0
.dram0.bss 69144 69144 0 0.0
.dram0.data 14656 14656 0 0.0
.flash.rodata 210768 210776 8 0.0
.flash.text 1005546 1005588 42 0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1060695 1060759 64 0.0
(read/write) 482208 482216 8 0.0
.dram0.bss 74664 74664 0 0.0
.dram0.data 34208 34208 0 0.0
.flash.rodata 241340 241348 8 0.0
.flash.text 1055311 1055375 64 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 680700 680772 72 0.0
.bss 80168 80168 0 0.0
.data 2012 2012 0 0.0
.text 596816 596888 72 0.0
lock k32w061+release (read/write) 732692 732748 56 0.0
.bss 80600 80600 0 0.0
.data 1980 1980 0 0.0
.text 648408 648464 56 0.0
linux all-clusters-app debug (read only) 2769985 2770313 328 0.0
(read/write) 178272 178304 32 0.0
.bss 86240 86240 0 0.0
.data 2032 2032 0 0.0
.data.rel.ro 83848 83864 16 0.0
.dynamic 608 608 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 1016 1016 0 0.0
.rodata 244381 244413 32 0.0
.text 2351650 2351874 224 0.0
all-clusters-minimal-app debug (read only) 2647073 2647401 328 0.0
(read/write) 170304 170304 0 0.0
.bss 85504 85504 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 76728 76744 16 0.0
.dynamic 608 608 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 1016 1016 0 0.0
.rodata 246269 246301 32 0.0
.text 2228242 2228466 224 0.0
bridge-app debug+rpc (read only) 2030297 2030625 328 0.0
(read/write) 147896 147928 32 0.0
.bss 72896 72896 0 0.0
.data 3936 3936 0 0.0
.data.rel.ro 65496 65512 16 0.0
.dynamic 592 592 0 0.0
.got 4272 4272 0 0.0
.init 27 27 0 0.0
.init_array 688 688 0 0.0
.rodata 169472 169504 32 0.0
.text 1704306 1704530 224 0.0
chip-tool debug (read only) 9668925 9669221 296 0.0
(read/write) 600688 600720 32 0.0
.bss 23968 23968 0 0.0
.data 1120 1120 0 0.0
.data.rel.ro 569296 569320 24 0.0
.dynamic 624 624 0 0.0
.got 5008 5008 0 0.0
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 496701 496701 0 0.0
.text 7783637 7783861 224 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9413324 9413676 352 0.0
(read/write) 666929 666945 16 0.0
.bss 42257 42257 0 0.0
.data 1176 1176 0 0.0
.data.rel.ro 604696 604720 24 0.0
.dynamic 528 528 0 0.0
.got 14984 14984 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 460228 460244 16 0.0
.text 7429236 7429492 256 0.0
lighting-app debug+rpc (read only) 2319921 2320233 312 0.0
(read/write) 153536 153568 32 0.0
.bss 74752 74752 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 70984 71016 32 0.0
.dynamic 608 608 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 792 792 0 0.0
.rodata 188456 188456 0 0.0
.text 1965714 1965954 240 0.0
lock-app debug (read only) 2258857 2259185 328 0.0
(read/write) 148632 148664 32 0.0
.bss 73440 73440 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 67912 67944 32 0.0
.dynamic 592 592 0 0.0
.got 4336 4336 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 201576 201608 32 0.0
.text 1896962 1897186 224 0.0
ota-provider-app debug (read only) 2068689 2069033 344 0.0
(read/write) 141584 141616 32 0.0
.bss 73024 73024 0 0.0
.data 1768 1768 0 0.0
.data.rel.ro 61000 61032 32 0.1
.dynamic 608 608 0 0.0
.got 4504 4504 0 0.0
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 180920 180952 32 0.0
.text 1728674 1728914 240 0.0
ota-requestor-app debug (read only) 2096753 2097065 312 0.0
(read/write) 144424 144456 32 0.0
.bss 73728 73728 0 0.0
.data 1960 1960 0 0.0
.data.rel.ro 63096 63112 16 0.0
.dynamic 592 592 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 176960 176960 0 0.0
.text 1759234 1759474 240 0.0
shell debug (read only) 2574073 2574417 344 0.0
(read/write) 201680 201712 32 0.0
.bss 117096 117096 0 0.0
.data 1376 1376 0 0.0
.data.rel.ro 77464 77488 24 0.0
.dynamic 608 608 0 0.0
.got 4192 4192 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 224498 224530 32 0.0
.text 2190130 2190370 240 0.0
thermostat-no-ble arm64 (read only) 2367316 2367668 352 0.0
(read/write) 177457 177489 32 0.0
.bss 87921 87921 0 0.0
.data 1528 1528 0 0.0
.data.rel.ro 80216 80240 24 0.0
.dynamic 528 528 0 0.0
.got 4792 4792 0 0.0
.init 24 24 0 0.0
.init_array 376 376 0 0.0
.rodata 148708 148740 32 0.0
.text 1988960 1989200 240 0.0
tv-app debug (read only) 2876689 2877033 344 0.0
(read/write) 280208 280240 32 0.0
.bss 191048 191048 0 0.0
.data 4672 4672 0 0.0
.data.rel.ro 78224 78240 16 0.0
.dynamic 592 592 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 222848 222880 32 0.0
.text 2471234 2471474 240 0.0
tv-casting-app debug (read only) 5430313 5430609 296 0.0
(read/write) 226000 226032 32 0.0
.bss 78632 78632 0 0.0
.data 2400 2400 0 0.0
.data.rel.ro 138760 138792 32 0.0
.dynamic 608 608 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 340352 340352 0 0.0
.text 4730706 4730930 224 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2424832 2424840 8 0.0
.bss 202620 202620 0 0.0
.data 5872 5872 0 0.0
.text 1387476 1387484 8 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1186795 1186851 56 0.0
bss 139280 139280 0 0.0
rodata 153980 153988 8 0.0
text 814632 814684 52 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1135531 1135587 56 0.0
bss 138508 138508 0 0.0
rodata 130548 130556 8 0.0
text 787636 787684 48 0.0
p6 all-clusters-app default (read/write) 2541352 2541408 56 0.0
.bss 137104 137104 0 0.0
.data 2808 2808 0 0.0
.text 1499616 1499672 56 0.0
all-clusters-minimal-app default (read/write) 2487304 2487360 56 0.0
.bss 136328 136328 0 0.0
.data 2744 2744 0 0.0
.text 1445568 1445624 56 0.0
light-app default (read/write) 2421248 2421304 56 0.0
.bss 129432 129432 0 0.0
.data 2600 2600 0 0.0
.text 1379512 1379568 56 0.0
lock-app default (read/write) 2439296 2439352 56 0.0
.bss 129248 129248 0 0.0
.data 2568 2568 0 0.0
.text 1397560 1397616 56 0.0
telink light-switch-app tlsr9518adk80d (read/write) 780048 780096 48 0.0
bss 70564 70564 0 0.0
noinit 40416 40416 0 0.0
text 551456 551498 42 0.0
lighting-app tlsr9518adk80d (read/write) 800092 800140 48 0.0
bss 70824 70824 0 0.0
noinit 40416 40416 0 0.0
text 568198 568240 42 0.0

@github-actions
Copy link

github-actions bot commented Jun 1, 2022

PR #19037: Size comparison from 8ef608d to a27f13b

Increases (39 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, p6, telink)
platform target config section 8ef608d a27f13b change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 648347 648395 48 0.0
.rodata 84499 84507 8 0.0
.text 563612 563652 40 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 615179 615227 48 0.0
.rodata 73883 73891 8 0.0
.text 541060 541100 40 0.0
lock-ftd LP_CC2652R7 (read only) 679995 680059 64 0.0
.rodata 96563 96571 8 0.0
.text 582948 583004 56 0.0
lock-mtd LP_CC2652R7 (read only) 629411 629467 56 0.0
.rodata 96451 96459 8 0.0
.text 532468 532516 48 0.0
pump-app LP_CC2652R7 (read only) 676415 676471 56 0.0
.rodata 89039 89047 8 0.0
.text 586892 586940 48 0.0
pump-controller-app LP_CC2652R7 (read only) 654343 654399 56 0.0
.rodata 83767 83775 8 0.0
.text 570096 570144 48 0.0
shell LP_CC2652R7 (read only) 641362 641418 56 0.0
.rodata 81490 81498 8 0.0
.text 559640 559688 48 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 622118 622182 64 0.0
.app_xip_area 525696 525760 64 0.0
lock cyw930739m2evb_01 (read/write) 630826 630882 56 0.0
.app_xip_area 535876 535932 56 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 570978 571034 56 0.0
.app_xip_area 466100 466156 56 0.0
efr32 lighting-app BRD4161A (read only) 914876 914940 64 0.0
.text 914868 914932 64 0.0
BRD4161A+rpc (read only) 949032 949096 64 0.0
.text 949024 949088 64 0.0
BRD4161A+rs911x (read only) 789736 789792 56 0.0
.text 789728 789784 56 0.0
lock-app BRD4161A+wf200 (read only) 954756 954812 56 0.0
.text 954748 954804 56 0.0
window-app BRD4161A (read only) 899796 899860 64 0.0
.text 899788 899852 64 0.0
esp32 all-clusters-app c3devkit (read only) 1005546 1005588 42 0.0
(read/write) 1480002 1480010 8 0.0
.flash.rodata 210768 210776 8 0.0
.flash.text 1005546 1005588 42 0.0
m5stack (read only) 1060695 1060759 64 0.0
(read/write) 482208 482216 8 0.0
.flash.rodata 241340 241348 8 0.0
.flash.text 1055311 1055375 64 0.0
k32w light k32w061+release (read/write) 680700 680772 72 0.0
.text 596816 596888 72 0.0
lock k32w061+release (read/write) 732692 732748 56 0.0
.text 648408 648464 56 0.0
linux all-clusters-app debug (read only) 2769985 2770313 328 0.0
(read/write) 178272 178304 32 0.0
.data.rel.ro 83848 83864 16 0.0
.rodata 244381 244413 32 0.0
.text 2351650 2351874 224 0.0
all-clusters-minimal-app debug (read only) 2647073 2647401 328 0.0
.data.rel.ro 76728 76744 16 0.0
.rodata 246269 246301 32 0.0
.text 2228242 2228466 224 0.0
bridge-app debug+rpc (read only) 2030297 2030625 328 0.0
(read/write) 147896 147928 32 0.0
.data.rel.ro 65496 65512 16 0.0
.rodata 169472 169504 32 0.0
.text 1704306 1704530 224 0.0
chip-tool debug (read only) 9670285 9670597 312 0.0
(read/write) 600688 600720 32 0.0
.data.rel.ro 569296 569320 24 0.0
.text 7784997 7785237 240 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9413516 9413852 336 0.0
(read/write) 666929 666945 16 0.0
.data.rel.ro 604696 604720 24 0.0
.rodata 460228 460244 16 0.0
.text 7429428 7429668 240 0.0
lighting-app debug+rpc (read only) 2319921 2320233 312 0.0
(read/write) 153536 153568 32 0.0
.data.rel.ro 70984 71016 32 0.0
.text 1965714 1965954 240 0.0
lock-app debug (read only) 2258857 2259185 328 0.0
(read/write) 148632 148664 32 0.0
.data.rel.ro 67912 67944 32 0.0
.rodata 201576 201608 32 0.0
.text 1896962 1897186 224 0.0
ota-provider-app debug (read only) 2068689 2069033 344 0.0
(read/write) 141584 141616 32 0.0
.data.rel.ro 61000 61032 32 0.1
.rodata 180920 180952 32 0.0
.text 1728674 1728914 240 0.0
ota-requestor-app debug (read only) 2096753 2097065 312 0.0
(read/write) 144424 144456 32 0.0
.data.rel.ro 63096 63112 16 0.0
.text 1759234 1759474 240 0.0
shell debug (read only) 2574073 2574417 344 0.0
(read/write) 201680 201712 32 0.0
.data.rel.ro 77464 77488 24 0.0
.rodata 224498 224530 32 0.0
.text 2190130 2190370 240 0.0
thermostat-no-ble arm64 (read only) 2367316 2367668 352 0.0
(read/write) 177457 177489 32 0.0
.data.rel.ro 80216 80240 24 0.0
.rodata 148708 148740 32 0.0
.text 1988960 1989200 240 0.0
tv-app debug (read only) 2878065 2878393 328 0.0
(read/write) 280208 280240 32 0.0
.data.rel.ro 78224 78240 16 0.0
.rodata 222848 222880 32 0.0
.text 2472610 2472834 224 0.0
tv-casting-app debug (read only) 5430313 5430609 296 0.0
(read/write) 226000 226032 32 0.0
.data.rel.ro 138760 138792 32 0.0
.text 4730706 4730930 224 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2424832 2424840 8 0.0
.text 1387476 1387484 8 0.0
p6 all-clusters-app default (read/write) 2541352 2541408 56 0.0
.text 1499616 1499672 56 0.0
all-clusters-minimal-app default (read/write) 2487304 2487360 56 0.0
.text 1445568 1445624 56 0.0
light-app default (read/write) 2421248 2421304 56 0.0
.text 1379512 1379568 56 0.0
lock-app default (read/write) 2439296 2439352 56 0.0
.text 1397560 1397616 56 0.0
telink light-switch-app tlsr9518adk80d (read/write) 780048 780096 48 0.0
text 551456 551498 42 0.0
lighting-app tlsr9518adk80d (read/write) 800092 800140 48 0.0
text 568198 568240 42 0.0
Decreases (3 builds for cc13x2_26x2)
platform target config section 8ef608d a27f13b change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 162828 162764 -64 -0.0
pump-app LP_CC2652R7 (read/write) 167576 167520 -56 -0.0
pump-controller-app LP_CC2652R7 (read/write) 189504 189448 -56 -0.0
Full report (39 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, p6, telink)
platform target config section 8ef608d a27f13b change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 648347 648395 48 0.0
(read/write) 158900 158900 0 0.0
.bss 74580 74580 0 0.0
.data 3404 3404 0 0.0
.rodata 84499 84507 8 0.0
.text 563612 563652 40 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 615179 615227 48 0.0
(read/write) 158072 158072 0 0.0
.bss 73812 73812 0 0.0
.data 3344 3344 0 0.0
.rodata 73883 73891 8 0.0
.text 541060 541100 40 0.0
lock-ftd LP_CC2652R7 (read only) 679995 680059 64 0.0
(read/write) 162828 162764 -64 -0.0
.bss 72604 72604 0 0.0
.data 3268 3268 0 0.0
.rodata 96563 96571 8 0.0
.text 582948 583004 56 0.0
lock-mtd LP_CC2652R7 (read only) 629411 629467 56 0.0
(read/write) 145724 145724 0 0.0
.bss 68340 68340 0 0.0
.data 3268 3268 0 0.0
.rodata 96451 96459 8 0.0
.text 532468 532516 48 0.0
pump-app LP_CC2652R7 (read only) 676415 676471 56 0.0
(read/write) 167576 167520 -56 -0.0
.bss 73004 73004 0 0.0
.data 3304 3304 0 0.0
.rodata 89039 89047 8 0.0
.text 586892 586940 48 0.0
pump-controller-app LP_CC2652R7 (read only) 654343 654399 56 0.0
(read/write) 189504 189448 -56 -0.0
.bss 72860 72860 0 0.0
.data 3264 3264 0 0.0
.rodata 83767 83775 8 0.0
.text 570096 570144 48 0.0
shell LP_CC2652R7 (read only) 641362 641418 56 0.0
(read/write) 154456 154456 0 0.0
.bss 76932 76932 0 0.0
.data 3408 3408 0 0.0
.rodata 81490 81498 8 0.0
.text 559640 559688 48 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 622118 622182 64 0.0
.app_xip_area 525696 525760 64 0.0
.bss 79064 79064 0 0.0
.data 708 708 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 630826 630882 56 0.0
.app_xip_area 535876 535932 56 0.0
.bss 77624 77624 0 0.0
.data 676 676 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 570978 571034 56 0.0
.app_xip_area 466100 466156 56 0.0
.bss 87224 87224 0 0.0
.data 616 616 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 914876 914940 64 0.0
(read/write) 133184 133184 0 0.0
.bss 131088 131088 0 0.0
.data 2096 2096 0 0.0
.text 914868 914932 64 0.0
BRD4161A+rpc (read only) 949032 949096 64 0.0
(read/write) 149880 149880 0 0.0
.bss 147576 147576 0 0.0
.data 2300 2300 0 0.0
.text 949024 949088 64 0.0
BRD4161A+rs911x (read only) 789736 789792 56 0.0
(read/write) 129460 129460 0 0.0
.bss 127356 127356 0 0.0
.data 2104 2104 0 0.0
.text 789728 789784 56 0.0
lock-app BRD4161A+wf200 (read only) 954756 954812 56 0.0
(read/write) 128240 128240 0 0.0
.bss 126172 126172 0 0.0
.data 2068 2068 0 0.0
.text 954748 954804 56 0.0
window-app BRD4161A (read only) 899796 899860 64 0.0
(read/write) 133252 133252 0 0.0
.bss 131160 131160 0 0.0
.data 2092 2092 0 0.0
.text 899788 899852 64 0.0
esp32 all-clusters-app c3devkit (read only) 1005546 1005588 42 0.0
(read/write) 1480002 1480010 8 0.0
.dram0.bss 69144 69144 0 0.0
.dram0.data 14656 14656 0 0.0
.flash.rodata 210768 210776 8 0.0
.flash.text 1005546 1005588 42 0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1060695 1060759 64 0.0
(read/write) 482208 482216 8 0.0
.dram0.bss 74664 74664 0 0.0
.dram0.data 34208 34208 0 0.0
.flash.rodata 241340 241348 8 0.0
.flash.text 1055311 1055375 64 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 680700 680772 72 0.0
.bss 80168 80168 0 0.0
.data 2012 2012 0 0.0
.text 596816 596888 72 0.0
lock k32w061+release (read/write) 732692 732748 56 0.0
.bss 80600 80600 0 0.0
.data 1980 1980 0 0.0
.text 648408 648464 56 0.0
linux all-clusters-app debug (read only) 2769985 2770313 328 0.0
(read/write) 178272 178304 32 0.0
.bss 86240 86240 0 0.0
.data 2032 2032 0 0.0
.data.rel.ro 83848 83864 16 0.0
.dynamic 608 608 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 1016 1016 0 0.0
.rodata 244381 244413 32 0.0
.text 2351650 2351874 224 0.0
all-clusters-minimal-app debug (read only) 2647073 2647401 328 0.0
(read/write) 170304 170304 0 0.0
.bss 85504 85504 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 76728 76744 16 0.0
.dynamic 608 608 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 1016 1016 0 0.0
.rodata 246269 246301 32 0.0
.text 2228242 2228466 224 0.0
bridge-app debug+rpc (read only) 2030297 2030625 328 0.0
(read/write) 147896 147928 32 0.0
.bss 72896 72896 0 0.0
.data 3936 3936 0 0.0
.data.rel.ro 65496 65512 16 0.0
.dynamic 592 592 0 0.0
.got 4272 4272 0 0.0
.init 27 27 0 0.0
.init_array 688 688 0 0.0
.rodata 169472 169504 32 0.0
.text 1704306 1704530 224 0.0
chip-tool debug (read only) 9670285 9670597 312 0.0
(read/write) 600688 600720 32 0.0
.bss 23968 23968 0 0.0
.data 1120 1120 0 0.0
.data.rel.ro 569296 569320 24 0.0
.dynamic 624 624 0 0.0
.got 5008 5008 0 0.0
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 496701 496701 0 0.0
.text 7784997 7785237 240 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9413516 9413852 336 0.0
(read/write) 666929 666945 16 0.0
.bss 42257 42257 0 0.0
.data 1176 1176 0 0.0
.data.rel.ro 604696 604720 24 0.0
.dynamic 528 528 0 0.0
.got 14984 14984 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 460228 460244 16 0.0
.text 7429428 7429668 240 0.0
lighting-app debug+rpc (read only) 2319921 2320233 312 0.0
(read/write) 153536 153568 32 0.0
.bss 74752 74752 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 70984 71016 32 0.0
.dynamic 608 608 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 792 792 0 0.0
.rodata 188456 188456 0 0.0
.text 1965714 1965954 240 0.0
lock-app debug (read only) 2258857 2259185 328 0.0
(read/write) 148632 148664 32 0.0
.bss 73440 73440 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 67912 67944 32 0.0
.dynamic 592 592 0 0.0
.got 4336 4336 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 201576 201608 32 0.0
.text 1896962 1897186 224 0.0
ota-provider-app debug (read only) 2068689 2069033 344 0.0
(read/write) 141584 141616 32 0.0
.bss 73024 73024 0 0.0
.data 1768 1768 0 0.0
.data.rel.ro 61000 61032 32 0.1
.dynamic 608 608 0 0.0
.got 4504 4504 0 0.0
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 180920 180952 32 0.0
.text 1728674 1728914 240 0.0
ota-requestor-app debug (read only) 2096753 2097065 312 0.0
(read/write) 144424 144456 32 0.0
.bss 73728 73728 0 0.0
.data 1960 1960 0 0.0
.data.rel.ro 63096 63112 16 0.0
.dynamic 592 592 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 176960 176960 0 0.0
.text 1759234 1759474 240 0.0
shell debug (read only) 2574073 2574417 344 0.0
(read/write) 201680 201712 32 0.0
.bss 117096 117096 0 0.0
.data 1376 1376 0 0.0
.data.rel.ro 77464 77488 24 0.0
.dynamic 608 608 0 0.0
.got 4192 4192 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 224498 224530 32 0.0
.text 2190130 2190370 240 0.0
thermostat-no-ble arm64 (read only) 2367316 2367668 352 0.0
(read/write) 177457 177489 32 0.0
.bss 87921 87921 0 0.0
.data 1528 1528 0 0.0
.data.rel.ro 80216 80240 24 0.0
.dynamic 528 528 0 0.0
.got 4792 4792 0 0.0
.init 24 24 0 0.0
.init_array 376 376 0 0.0
.rodata 148708 148740 32 0.0
.text 1988960 1989200 240 0.0
tv-app debug (read only) 2878065 2878393 328 0.0
(read/write) 280208 280240 32 0.0
.bss 191048 191048 0 0.0
.data 4672 4672 0 0.0
.data.rel.ro 78224 78240 16 0.0
.dynamic 592 592 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 222848 222880 32 0.0
.text 2472610 2472834 224 0.0
tv-casting-app debug (read only) 5430313 5430609 296 0.0
(read/write) 226000 226032 32 0.0
.bss 78632 78632 0 0.0
.data 2400 2400 0 0.0
.data.rel.ro 138760 138792 32 0.0
.dynamic 608 608 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 340352 340352 0 0.0
.text 4730706 4730930 224 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2424832 2424840 8 0.0
.bss 202620 202620 0 0.0
.data 5872 5872 0 0.0
.text 1387476 1387484 8 0.0
p6 all-clusters-app default (read/write) 2541352 2541408 56 0.0
.bss 137104 137104 0 0.0
.data 2808 2808 0 0.0
.text 1499616 1499672 56 0.0
all-clusters-minimal-app default (read/write) 2487304 2487360 56 0.0
.bss 136328 136328 0 0.0
.data 2744 2744 0 0.0
.text 1445568 1445624 56 0.0
light-app default (read/write) 2421248 2421304 56 0.0
.bss 129432 129432 0 0.0
.data 2600 2600 0 0.0
.text 1379512 1379568 56 0.0
lock-app default (read/write) 2439296 2439352 56 0.0
.bss 129248 129248 0 0.0
.data 2568 2568 0 0.0
.text 1397560 1397616 56 0.0
telink light-switch-app tlsr9518adk80d (read/write) 780048 780096 48 0.0
bss 70564 70564 0 0.0
noinit 40416 40416 0 0.0
text 551456 551498 42 0.0
lighting-app tlsr9518adk80d (read/write) 800092 800140 48 0.0
bss 70824 70824 0 0.0
noinit 40416 40416 0 0.0
text 568198 568240 42 0.0

@andy31415
Copy link
Contributor

/rebase

src/transport/MessageCounter.h Show resolved Hide resolved
src/lib/core/CHIPError.h Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Jun 7, 2022

PR #19037: Size comparison from 55ab764 to 4216fb2

Increases (30 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 55ab764 4216fb2 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 689547 689603 56 0.0
.rodata 111787 111795 8 0.0
.text 577444 577492 48 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 640171 640227 56 0.0
.rodata 88827 88835 8 0.0
.text 551020 551068 48 0.0
lock-ftd LP_CC2652R7 (read only) 683027 683083 56 0.0
.rodata 97651 97659 8 0.0
.text 584896 584944 48 0.0
lock-mtd LP_CC2652R7 (read only) 632435 632499 64 0.0
.rodata 97531 97539 8 0.0
.text 534416 534472 56 0.0
pump-app LP_CC2652R7 (read only) 664099 664163 64 0.0
.rodata 85851 85859 8 0.0
.text 577768 577824 56 0.0
pump-controller-app LP_CC2652R7 (read only) 655259 655315 56 0.0
.rodata 83899 83907 8 0.0
.text 570880 570928 48 0.0
shell LP_CC2652R7 (read only) 681842 681898 56 0.0
.rodata 108394 108402 8 0.0
.text 573132 573180 48 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 602242 602298 56 0.0
.app_xip_area 461268 461324 56 0.0
lock cyw930739m2evb_01 (read/write) 599294 599350 56 0.0
.app_xip_area 458184 458240 56 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 596910 596958 48 0.0
.app_xip_area 456932 456980 48 0.0
efr32 lighting-app BRD4161A (read only) 916152 916216 64 0.0
.text 916144 916208 64 0.0
BRD4161A+rpc (read only) 950380 950444 64 0.0
.text 950372 950436 64 0.0
BRD4161A+rs911x (read only) 791364 791420 56 0.0
.text 791356 791412 56 0.0
lock-app BRD4161A+wf200 (read only) 958152 958224 72 0.0
.text 958144 958216 72 0.0
window-app BRD4161A (read only) 901208 901272 64 0.0
.text 901200 901264 64 0.0
esp32 all-clusters-app c3devkit (read only) 1007798 1007840 42 0.0
(read/write) 1481490 1481498 8 0.0
.flash.rodata 212240 212248 8 0.0
.flash.text 1007798 1007840 42 0.0
m5stack (read only) 1062743 1062807 64 0.0
(read/write) 483660 483668 8 0.0
.flash.rodata 242776 242784 8 0.0
.flash.text 1057359 1057423 64 0.0
k32w light k32w061+release (read/write) 653400 653456 56 0.0
.text 575624 575680 56 0.0
lock k32w061+release (read/write) 714380 714436 56 0.0
.text 636192 636248 56 0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9409764 9410116 352 0.0
(read/write) 672401 672417 16 0.0
.data.rel.ro 610256 610280 24 0.0
.rodata 461172 461204 32 0.0
.text 7412116 7412356 240 0.0
thermostat-no-ble arm64 (read only) 2368932 2369300 368 0.0
(read/write) 177521 177537 16 0.0
.data.rel.ro 80272 80296 24 0.0
.rodata 148804 148836 32 0.0
.text 1990432 1990688 256 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2427240 2427312 72 0.0
.text 1389884 1389956 72 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1191507 1191563 56 0.0
rodata 154236 154244 8 0.0
text 817100 817152 52 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1139227 1139283 56 0.0
rodata 130748 130756 8 0.0
text 789152 789200 48 0.0
p6 all-clusters-app default (read/write) 2545728 2545784 56 0.0
.text 1503992 1504048 56 0.0
all-clusters-minimal-app default (read/write) 2490592 2490648 56 0.0
.text 1448856 1448912 56 0.0
light-app default (read/write) 2422488 2422544 56 0.0
.text 1380752 1380808 56 0.0
lock-app default (read/write) 2442808 2442864 56 0.0
.text 1401072 1401128 56 0.0
telink light-switch-app tlsr9518adk80d (read/write) 781016 781064 48 0.0
text 552406 552448 42 0.0
lighting-app tlsr9518adk80d (read/write) 801052 801108 56 0.0
text 569148 569190 42 0.0
Decreases (5 builds for cc13x2_26x2)
platform target config section 55ab764 4216fb2 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 162220 162164 -56 -0.0
lock-ftd LP_CC2652R7 (read/write) 159804 159748 -56 -0.0
pump-app LP_CC2652R7 (read/write) 179636 179572 -64 -0.0
pump-controller-app LP_CC2652R7 (read/write) 188588 188532 -56 -0.0
shell LP_CC2652R7 (read/write) 165420 165364 -56 -0.0
Full report (30 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 55ab764 4216fb2 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 689547 689603 56 0.0
(read/write) 162220 162164 -56 -0.0
.bss 74660 74660 0 0.0
.data 3404 3404 0 0.0
.rodata 111787 111795 8 0.0
.text 577444 577492 48 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 640171 640227 56 0.0
(read/write) 158136 158136 0 0.0
.bss 73876 73876 0 0.0
.data 3344 3344 0 0.0
.rodata 88827 88835 8 0.0
.text 551020 551068 48 0.0
lock-ftd LP_CC2652R7 (read only) 683027 683083 56 0.0
(read/write) 159804 159748 -56 -0.0
.bss 72612 72612 0 0.0
.data 3268 3268 0 0.0
.rodata 97651 97659 8 0.0
.text 584896 584944 48 0.0
lock-mtd LP_CC2652R7 (read only) 632435 632499 64 0.0
(read/write) 145732 145732 0 0.0
.bss 68348 68348 0 0.0
.data 3268 3268 0 0.0
.rodata 97531 97539 8 0.0
.text 534416 534472 56 0.0
pump-app LP_CC2652R7 (read only) 664099 664163 64 0.0
(read/write) 179636 179572 -64 -0.0
.bss 72748 72748 0 0.0
.data 3300 3300 0 0.0
.rodata 85851 85859 8 0.0
.text 577768 577824 56 0.0
pump-controller-app LP_CC2652R7 (read only) 655259 655315 56 0.0
(read/write) 188588 188532 -56 -0.0
.bss 72860 72860 0 0.0
.data 3264 3264 0 0.0
.rodata 83899 83907 8 0.0
.text 570880 570928 48 0.0
shell LP_CC2652R7 (read only) 681842 681898 56 0.0
(read/write) 165420 165364 -56 -0.0
.bss 76956 76956 0 0.0
.data 3408 3408 0 0.0
.rodata 108394 108402 8 0.0
.text 573132 573180 48 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 602242 602298 56 0.0
.app_xip_area 461268 461324 56 0.0
.bss 83912 83912 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 599294 599350 56 0.0
.app_xip_area 458184 458240 56 0.0
.bss 84080 84080 0 0.0
.data 712 712 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 596910 596958 48 0.0
.app_xip_area 456932 456980 48 0.0
.bss 83044 83044 0 0.0
.data 620 620 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 916152 916216 64 0.0
(read/write) 133184 133184 0 0.0
.bss 131088 131088 0 0.0
.data 2096 2096 0 0.0
.text 916144 916208 64 0.0
BRD4161A+rpc (read only) 950380 950444 64 0.0
(read/write) 149876 149876 0 0.0
.bss 147576 147576 0 0.0
.data 2300 2300 0 0.0
.text 950372 950436 64 0.0
BRD4161A+rs911x (read only) 791364 791420 56 0.0
(read/write) 129460 129460 0 0.0
.bss 127356 127356 0 0.0
.data 2104 2104 0 0.0
.text 791356 791412 56 0.0
lock-app BRD4161A+wf200 (read only) 958152 958224 72 0.0
(read/write) 128252 128252 0 0.0
.bss 126180 126180 0 0.0
.data 2072 2072 0 0.0
.text 958144 958216 72 0.0
window-app BRD4161A (read only) 901208 901272 64 0.0
(read/write) 133272 133272 0 0.0
.bss 131176 131176 0 0.0
.data 2092 2092 0 0.0
.text 901200 901264 64 0.0
esp32 all-clusters-app c3devkit (read only) 1007798 1007840 42 0.0
(read/write) 1481490 1481498 8 0.0
.dram0.bss 69168 69168 0 0.0
.dram0.data 14656 14656 0 0.0
.flash.rodata 212240 212248 8 0.0
.flash.text 1007798 1007840 42 0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1062743 1062807 64 0.0
(read/write) 483660 483668 8 0.0
.dram0.bss 74680 74680 0 0.0
.dram0.data 34208 34208 0 0.0
.flash.rodata 242776 242784 8 0.0
.flash.text 1057359 1057423 64 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 653400 653456 56 0.0
.bss 69964 69964 0 0.0
.data 2012 2012 0 0.0
.text 575624 575680 56 0.0
lock k32w061+release (read/write) 714380 714436 56 0.0
.bss 70404 70404 0 0.0
.data 1984 1984 0 0.0
.text 636192 636248 56 0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9409764 9410116 352 0.0
(read/write) 672401 672417 16 0.0
.bss 42257 42257 0 0.0
.data 1176 1176 0 0.0
.data.rel.ro 610256 610280 24 0.0
.dynamic 528 528 0 0.0
.got 14896 14896 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 461172 461204 32 0.0
.text 7412116 7412356 240 0.0
thermostat-no-ble arm64 (read only) 2368932 2369300 368 0.0
(read/write) 177521 177537 16 0.0
.bss 87921 87921 0 0.0
.data 1528 1528 0 0.0
.data.rel.ro 80272 80296 24 0.0
.dynamic 528 528 0 0.0
.got 4792 4792 0 0.0
.init 24 24 0 0.0
.init_array 376 376 0 0.0
.rodata 148804 148836 32 0.0
.text 1990432 1990688 256 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2427240 2427312 72 0.0
.bss 202628 202628 0 0.0
.data 5880 5880 0 0.0
.text 1389884 1389956 72 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1191507 1191563 56 0.0
bss 141297 141297 0 0.0
rodata 154236 154244 8 0.0
text 817100 817152 52 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1139227 1139283 56 0.0
bss 140514 140514 0 0.0
rodata 130748 130756 8 0.0
text 789152 789200 48 0.0
p6 all-clusters-app default (read/write) 2545728 2545784 56 0.0
.bss 137120 137120 0 0.0
.data 2808 2808 0 0.0
.text 1503992 1504048 56 0.0
all-clusters-minimal-app default (read/write) 2490592 2490648 56 0.0
.bss 136336 136336 0 0.0
.data 2752 2752 0 0.0
.text 1448856 1448912 56 0.0
light-app default (read/write) 2422488 2422544 56 0.0
.bss 129432 129432 0 0.0
.data 2600 2600 0 0.0
.text 1380752 1380808 56 0.0
lock-app default (read/write) 2442808 2442864 56 0.0
.bss 129256 129256 0 0.0
.data 2576 2576 0 0.0
.text 1401072 1401128 56 0.0
telink light-switch-app tlsr9518adk80d (read/write) 781016 781064 48 0.0
bss 70564 70564 0 0.0
noinit 40416 40416 0 0.0
text 552406 552448 42 0.0
lighting-app tlsr9518adk80d (read/write) 801052 801108 56 0.0
bss 70824 70824 0 0.0
noinit 40416 40416 0 0.0
text 569148 569190 42 0.0

Copy link
Contributor

@turon turon left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for making simplifications to AdvanceAndConsume per discussed with @andy31415.

src/transport/MessageCounter.h Outdated Show resolved Hide resolved
src/transport/MessageCounter.h Outdated Show resolved Hide resolved
src/transport/MessageCounter.h Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Jun 8, 2022

PR #19037: Size comparison from 10f620e to 69d4868

Increases (18 builds for cc13x2_26x2, linux)
platform target config section 10f620e 69d4868 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 161840 161864 24 0.0
lock-ftd LP_CC2652R7 (read/write) 159400 159424 24 0.0
pump-app LP_CC2652R7 (read/write) 178876 178892 16 0.0
pump-controller-app LP_CC2652R7 (read/write) 188388 188428 40 0.0
shell LP_CC2652R7 (read/write) 165056 165080 24 0.0
linux all-clusters-app debug .rodata 255485 255517 32 0.0
all-clusters-minimal-app debug .rodata 256765 256797 32 0.0
bridge-app debug+rpc .rodata 187840 187872 32 0.0
chip-tool debug .rodata 505437 505469 32 0.0
chip-tool-no-interactive-ipv6only arm64 .rodata 467596 467612 16 0.0
lighting-app debug+rpc .rodata 205384 205416 32 0.0
lock-app debug .rodata 219400 219432 32 0.0
ota-provider-app debug .rodata 191960 191992 32 0.0
ota-requestor-app debug .rodata 195296 195328 32 0.0
shell debug .rodata 228050 228082 32 0.0
thermostat-no-ble arm64 .rodata 160116 160148 32 0.0
tv-app debug .rodata 240672 240704 32 0.0
tv-casting-app debug .rodata 340512 340544 32 0.0
Decreases (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 10f620e 69d4868 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 689927 689903 -24 -0.0
.rodata 112319 112311 -8 -0.0
.text 577296 577280 -16 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 640543 640519 -24 -0.0
.rodata 89359 89351 -8 -0.0
.text 550864 550848 -16 -0.0
lock-ftd LP_CC2652R7 (read only) 683431 683407 -24 -0.0
.rodata 98175 98167 -8 -0.0
.text 584772 584756 -16 -0.0
lock-mtd LP_CC2652R7 (read only) 632847 632815 -32 -0.0
.rodata 98063 98055 -8 -0.0
.text 534292 534268 -24 -0.0
pump-app LP_CC2652R7 (read only) 664867 664851 -16 -0.0
.rodata 86355 86347 -8 -0.0
.text 578028 578020 -8 -0.0
pump-controller-app LP_CC2652R7 (read only) 655459 655419 -40 -0.0
.rodata 84243 84235 -8 -0.0
.text 570732 570700 -32 -0.0
shell LP_CC2652R7 (read only) 682206 682182 -24 -0.0
.rodata 108918 108910 -8 -0.0
.text 572976 572960 -16 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 602546 602530 -16 -0.0
.app_xip_area 461492 461476 -16 -0.0
lock cyw930739m2evb_01 (read/write) 599630 599614 -16 -0.0
.app_xip_area 458440 458424 -16 -0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 599430 599414 -16 -0.0
.app_xip_area 459356 459340 -16 -0.0
efr32 lighting-app BRD4161A (read only) 915016 914984 -32 -0.0
.text 915008 914976 -32 -0.0
BRD4161A+rpc (read only) 949236 949188 -48 -0.0
.text 949228 949180 -48 -0.0
BRD4161A+rs911x (read only) 790204 790180 -24 -0.0
.text 790196 790172 -24 -0.0
lock-app BRD4161A+wf200 (read only) 958444 958420 -24 -0.0
.text 958436 958412 -24 -0.0
window-app BRD4161A (read only) 900088 900040 -48 -0.0
.text 900080 900032 -48 -0.0
esp32 all-clusters-app c3devkit (read only) 1007724 1007698 -26 -0.0
(read/write) 1481826 1481818 -8 -0.0
.flash.rodata 212576 212568 -8 -0.0
.flash.text 1007724 1007698 -26 -0.0
m5stack (read only) 1062495 1062455 -40 -0.0
(read/write) 483960 483952 -8 -0.0
.flash.rodata 243076 243068 -8 -0.0
.flash.text 1057111 1057071 -40 -0.0
k32w light k32w061+release (read/write) 653760 653736 -24 -0.0
.text 575912 575888 -24 -0.0
lock k32w061+release (read/write) 714852 714812 -40 -0.0
.text 636592 636552 -40 -0.0
linux all-clusters-app debug (read only) 2892393 2892337 -56 -0.0
.data.rel.ro 83960 83944 -16 -0.0
.text 2462386 2462370 -16 -0.0
all-clusters-minimal-app debug (read only) 2753857 2753817 -40 -0.0
.data.rel.ro 76584 76568 -16 -0.0
bridge-app debug+rpc (read only) 2197921 2197881 -40 -0.0
.data.rel.ro 65400 65384 -16 -0.0
chip-tool debug (read only) 9736965 9736925 -40 -0.0
.data.rel.ro 575240 575216 -24 -0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9474668 9474604 -64 -0.0
(read/write) 674257 674241 -16 -0.0
.data.rel.ro 610696 610672 -24 -0.0
lighting-app debug+rpc (read only) 2482305 2482265 -40 -0.0
.data.rel.ro 70888 70872 -16 -0.0
lock-app debug (read only) 2428257 2428217 -40 -0.0
.data.rel.ro 67848 67832 -16 -0.0
ota-provider-app debug (read only) 2203721 2203681 -40 -0.0
(read/write) 143264 143232 -32 -0.0
.data.rel.ro 61208 61192 -16 -0.0
ota-requestor-app debug (read only) 2265353 2265297 -56 -0.0
(read/write) 146312 146280 -32 -0.0
.data.rel.ro 63320 63288 -32 -0.1
.text 1906322 1906306 -16 -0.0
shell debug (read only) 2584017 2583961 -56 -0.0
.data.rel.ro 77392 77368 -24 -0.0
.text 2197346 2197330 -16 -0.0
thermostat-no-ble arm64 (read only) 2543948 2543900 -48 -0.0
(read/write) 183073 183057 -16 -0.0
.data.rel.ro 82144 82120 -24 -0.0
tv-app debug (read only) 3030409 3030353 -56 -0.0
(read/write) 281904 281872 -32 -0.0
.data.rel.ro 78184 78152 -32 -0.0
.text 2604674 2604658 -16 -0.0
tv-casting-app debug (read only) 5334001 5333961 -40 -0.0
(read/write) 223968 223936 -32 -0.0
.data.rel.ro 135168 135152 -16 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2429648 2429576 -72 -0.0
.text 1392292 1392220 -72 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1192011 1191987 -24 -0.0
rodata 154636 154628 -8 -0.0
text 817092 817076 -16 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1139735 1139711 -24 -0.0
rodata 131128 131120 -8 -0.0
text 789148 789128 -20 -0.0
p6 all-clusters-app default (read/write) 2544512 2544488 -24 -0.0
.text 1502776 1502752 -24 -0.0
all-clusters-minimal-app default (read/write) 2489384 2489360 -24 -0.0
.text 1447648 1447624 -24 -0.0
light-app default (read/write) 2421288 2421264 -24 -0.0
.text 1379552 1379528 -24 -0.0
lock-app default (read/write) 2441624 2441600 -24 -0.0
.text 1399888 1399864 -24 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 781680 781648 -32 -0.0
text 552568 552544 -24 -0.0
lighting-app tlsr9518adk80d (read/write) 801700 801668 -32 -0.0
text 569290 569266 -24 -0.0
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 10f620e 69d4868 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 689927 689903 -24 -0.0
(read/write) 161840 161864 24 0.0
.bss 74660 74660 0 0.0
.data 3392 3392 0 0.0
.rodata 112319 112311 -8 -0.0
.text 577296 577280 -16 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 640543 640519 -24 -0.0
(read/write) 158132 158132 0 0.0
.bss 73884 73884 0 0.0
.data 3332 3332 0 0.0
.rodata 89359 89351 -8 -0.0
.text 550864 550848 -16 -0.0
lock-ftd LP_CC2652R7 (read only) 683431 683407 -24 -0.0
(read/write) 159400 159424 24 0.0
.bss 72612 72612 0 0.0
.data 3256 3256 0 0.0
.rodata 98175 98167 -8 -0.0
.text 584772 584756 -16 -0.0
lock-mtd LP_CC2652R7 (read only) 632847 632815 -32 -0.0
(read/write) 145720 145720 0 0.0
.bss 68348 68348 0 0.0
.data 3256 3256 0 0.0
.rodata 98063 98055 -8 -0.0
.text 534292 534268 -24 -0.0
pump-app LP_CC2652R7 (read only) 664867 664851 -16 -0.0
(read/write) 178876 178892 16 0.0
.bss 72756 72756 0 0.0
.data 3292 3292 0 0.0
.rodata 86355 86347 -8 -0.0
.text 578028 578020 -8 -0.0
pump-controller-app LP_CC2652R7 (read only) 655459 655419 -40 -0.0
(read/write) 188388 188428 40 0.0
.bss 72860 72860 0 0.0
.data 3252 3252 0 0.0
.rodata 84243 84235 -8 -0.0
.text 570732 570700 -32 -0.0
shell LP_CC2652R7 (read only) 682206 682182 -24 -0.0
(read/write) 165056 165080 24 0.0
.bss 76956 76956 0 0.0
.data 3396 3396 0 0.0
.rodata 108918 108910 -8 -0.0
.text 572976 572960 -16 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 602546 602530 -16 -0.0
.app_xip_area 461492 461476 -16 -0.0
.bss 84008 84008 0 0.0
.data 732 732 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 599630 599614 -16 -0.0
.app_xip_area 458440 458424 -16 -0.0
.bss 84176 84176 0 0.0
.data 700 700 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 599430 599414 -16 -0.0
.app_xip_area 459356 459340 -16 -0.0
.bss 83140 83140 0 0.0
.data 616 616 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 915016 914984 -32 -0.0
(read/write) 133176 133176 0 0.0
.bss 131088 131088 0 0.0
.data 2088 2088 0 0.0
.text 915008 914976 -32 -0.0
BRD4161A+rpc (read only) 949236 949188 -48 -0.0
(read/write) 149868 149868 0 0.0
.bss 147576 147576 0 0.0
.data 2292 2292 0 0.0
.text 949228 949180 -48 -0.0
BRD4161A+rs911x (read only) 790204 790180 -24 -0.0
(read/write) 129460 129460 0 0.0
.bss 127364 127364 0 0.0
.data 2096 2096 0 0.0
.text 790196 790172 -24 -0.0
lock-app BRD4161A+wf200 (read only) 958444 958420 -24 -0.0
(read/write) 128252 128252 0 0.0
.bss 126188 126188 0 0.0
.data 2064 2064 0 0.0
.text 958436 958412 -24 -0.0
window-app BRD4161A (read only) 900088 900040 -48 -0.0
(read/write) 133264 133264 0 0.0
.bss 131176 131176 0 0.0
.data 2084 2084 0 0.0
.text 900080 900032 -48 -0.0
esp32 all-clusters-app c3devkit (read only) 1007724 1007698 -26 -0.0
(read/write) 1481826 1481818 -8 -0.0
.dram0.bss 69168 69168 0 0.0
.dram0.data 14656 14656 0 0.0
.flash.rodata 212576 212568 -8 -0.0
.flash.text 1007724 1007698 -26 -0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1062495 1062455 -40 -0.0
(read/write) 483960 483952 -8 -0.0
.dram0.bss 74688 74688 0 0.0
.dram0.data 34200 34200 0 0.0
.flash.rodata 243076 243068 -8 -0.0
.flash.text 1057111 1057071 -40 -0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 653760 653736 -24 -0.0
.bss 70044 70044 0 0.0
.data 2004 2004 0 0.0
.text 575912 575888 -24 -0.0
lock k32w061+release (read/write) 714852 714812 -40 -0.0
.bss 70484 70484 0 0.0
.data 1976 1976 0 0.0
.text 636592 636552 -40 -0.0
linux all-clusters-app debug (read only) 2892393 2892337 -56 -0.0
(read/write) 180024 180024 0 0.0
.bss 87840 87840 0 0.0
.data 2016 2016 0 0.0
.data.rel.ro 83960 83944 -16 -0.0
.dynamic 608 608 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 255485 255517 32 0.0
.text 2462386 2462370 -16 -0.0
all-clusters-minimal-app debug (read only) 2753857 2753817 -40 -0.0
(read/write) 171640 171640 0 0.0
.bss 87008 87008 0 0.0
.data 1888 1888 0 0.0
.data.rel.ro 76584 76568 -16 -0.0
.dynamic 608 608 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 256765 256797 32 0.0
.text 2324578 2324578 0 0.0
bridge-app debug+rpc (read only) 2197921 2197881 -40 -0.0
(read/write) 149528 149528 0 0.0
.bss 74496 74496 0 0.0
.data 3888 3888 0 0.0
.data.rel.ro 65400 65384 -16 -0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 720 720 0 0.0
.rodata 187840 187872 32 0.0
.text 1851170 1851170 0 0.0
chip-tool debug (read only) 9736965 9736925 -40 -0.0
(read/write) 608032 608032 0 0.0
.bss 25408 25408 0 0.0
.data 1088 1088 0 0.0
.data.rel.ro 575240 575216 -24 -0.0
.dynamic 624 624 0 0.0
.got 5000 5000 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 505437 505469 32 0.0
.text 7829525 7829525 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9474668 9474604 -64 -0.0
(read/write) 674257 674241 -16 -0.0
.bss 43681 43681 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 610696 610672 -24 -0.0
.dynamic 528 528 0 0.0
.got 14928 14928 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 467596 467612 16 0.0
.text 7470068 7470068 0 0.0
lighting-app debug+rpc (read only) 2482305 2482265 -40 -0.0
(read/write) 155136 155136 0 0.0
.bss 76320 76320 0 0.0
.data 2032 2032 0 0.0
.data.rel.ro 70888 70872 -16 -0.0
.dynamic 608 608 0 0.0
.got 4432 4432 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 205384 205416 32 0.0
.text 2109330 2109330 0 0.0
lock-app debug (read only) 2428257 2428217 -40 -0.0
(read/write) 150272 150272 0 0.0
.bss 75040 75040 0 0.0
.data 1520 1520 0 0.0
.data.rel.ro 67848 67832 -16 -0.0
.dynamic 608 608 0 0.0
.got 4432 4432 0 0.0
.init 27 27 0 0.0
.init_array 792 792 0 0.0
.rodata 219400 219432 32 0.0
.text 2046258 2046258 0 0.0
ota-provider-app debug (read only) 2203721 2203681 -40 -0.0
(read/write) 143264 143232 -32 -0.0
.bss 74496 74496 0 0.0
.data 1752 1752 0 0.0
.data.rel.ro 61208 61192 -16 -0.0
.dynamic 608 608 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 191960 191992 32 0.0
.text 1852082 1852082 0 0.0
ota-requestor-app debug (read only) 2265353 2265297 -56 -0.0
(read/write) 146312 146280 -32 -0.0
.bss 75264 75264 0 0.0
.data 1944 1944 0 0.0
.data.rel.ro 63320 63288 -32 -0.1
.dynamic 608 608 0 0.0
.got 4456 4456 0 0.0
.init 27 27 0 0.0
.init_array 704 704 0 0.0
.rodata 195296 195328 32 0.0
.text 1906322 1906306 -16 -0.0
shell debug (read only) 2584017 2583961 -56 -0.0
(read/write) 203200 203200 0 0.0
.bss 118728 118728 0 0.0
.data 1328 1328 0 0.0
.data.rel.ro 77392 77368 -24 -0.0
.dynamic 608 608 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 228050 228082 32 0.0
.text 2197346 2197330 -16 -0.0
thermostat-no-ble arm64 (read only) 2543948 2543900 -48 -0.0
(read/write) 183073 183057 -16 -0.0
.bss 91409 91409 0 0.0
.data 1512 1512 0 0.0
.data.rel.ro 82144 82120 -24 -0.0
.dynamic 528 528 0 0.0
.got 4992 4992 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 160116 160148 32 0.0
.text 2146896 2146896 0 0.0
tv-app debug (read only) 3030409 3030353 -56 -0.0
(read/write) 281904 281872 -32 -0.0
.bss 192616 192616 0 0.0
.data 4656 4656 0 0.0
.data.rel.ro 78184 78152 -32 -0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 960 960 0 0.0
.rodata 240672 240704 32 0.0
.text 2604674 2604658 -16 -0.0
tv-casting-app debug (read only) 5334001 5333961 -40 -0.0
(read/write) 223968 223936 -32 -0.0
.bss 80136 80136 0 0.0
.data 2416 2416 0 0.0
.data.rel.ro 135168 135152 -16 -0.0
.dynamic 608 608 0 0.0
.got 4712 4712 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 340512 340544 32 0.0
.text 4643010 4643010 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2429648 2429576 -72 -0.0
.bss 202692 202692 0 0.0
.data 5872 5872 0 0.0
.text 1392292 1392220 -72 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1192011 1191987 -24 -0.0
bss 141362 141362 0 0.0
rodata 154636 154628 -8 -0.0
text 817092 817076 -16 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1139735 1139711 -24 -0.0
bss 140579 140579 0 0.0
rodata 131128 131120 -8 -0.0
text 789148 789128 -20 -0.0
p6 all-clusters-app default (read/write) 2544512 2544488 -24 -0.0
.bss 137120 137120 0 0.0
.data 2808 2808 0 0.0
.text 1502776 1502752 -24 -0.0
all-clusters-minimal-app default (read/write) 2489384 2489360 -24 -0.0
.bss 136328 136328 0 0.0
.data 2752 2752 0 0.0
.text 1447648 1447624 -24 -0.0
light-app default (read/write) 2421288 2421264 -24 -0.0
.bss 129432 129432 0 0.0
.data 2600 2600 0 0.0
.text 1379552 1379528 -24 -0.0
lock-app default (read/write) 2441624 2441600 -24 -0.0
.bss 129256 129256 0 0.0
.data 2576 2576 0 0.0
.text 1399888 1399864 -24 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 781680 781648 -32 -0.0
bss 70636 70636 0 0.0
noinit 40416 40416 0 0.0
text 552568 552544 -24 -0.0
lighting-app tlsr9518adk80d (read/write) 801700 801668 -32 -0.0
bss 70888 70888 0 0.0
noinit 40416 40416 0 0.0
text 569290 569266 -24 -0.0

@turon turon requested a review from andy31415 June 8, 2022 22:27
@kghost kghost merged commit 89290d9 into project-chip:master Jun 9, 2022
@kghost kghost deleted the session-1 branch June 9, 2022 05:32
@@ -29,7 +29,7 @@ namespace chip {

void GlobalUnencryptedMessageCounter::Init()
{
mValue = Crypto::GetRandU32();
mLastUsedValue = Crypto::GetRandU32();
Copy link
Contributor

@turon turon Jun 9, 2022

Choose a reason for hiding this comment

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

I noticed this after merge, but the spec has all counters initializing to: 1 to 2^28.

@@ -29,7 +29,7 @@ namespace chip {

void GlobalUnencryptedMessageCounter::Init()
{
mValue = Crypto::GetRandU32();
mLastUsedValue = Crypto::GetRandU32();
Copy link
Contributor

Choose a reason for hiding this comment

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

I noticed this after merge, but the spec has all counters initializing to: (0 to 2^28) + 1.

mkardous-silabs pushed a commit to mkardous-silabs/connectedhomeip that referenced this pull request Jun 10, 2022
* Enforce maximum NONCE

* Add test-case

* Resove conversations, fix comments

* Resolve comments
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.

[crypto] Enforce maximum NONCE - NCC-E003350-EXE
5 participants