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

Updated Fabric ID Validation in Fabric Table #15920

Conversation

emargolis
Copy link
Contributor

Problem

#15892

This PR follows updates in #15829.

Change overview

-- Updated logic that checks optional fabric id attribute in ICAC and RCAC to match
fabric id attribute in NOC.
-- According to spec there is no need to require fabric id in ICAC if it is present in RCAC.
-- NOTE: validity check for NodeId, FabricId and other DN attributes is performed when
loading certificates for validation (LoadCert()). So there is no need to check validity
again in FabricInfo::VerifyCredentials().

-- Changed return value of ExtractNodeIdFabricIdFromOpCert() and ExtractFabricIdFromCert()
to CHIP_ERROR_NOT_FOUND when requested element is not found in the certificate.

Testing

Existing tests

@github-actions
Copy link

github-actions bot commented Mar 7, 2022

PR #15920: Size comparison from dde4a8f to e77fea9

Increases (11 builds for linux)
platform target config section dde4a8f e77fea9 change % change
linux all-clusters-app debug (read only) 2426113 2426241 128 0.0
.text 2057538 2057666 128 0.0
bridge-app debug+rpc (read only) 1730853 1730981 128 0.0
.text 1473061 1473189 128 0.0
chip-tool debug (read only) 9748309 9748453 144 0.0
.text 8500085 8500229 144 0.0
chip-tool-ipv6only arm64 (read only) 9421588 9421636 48 0.0
.text 7933300 7933348 48 0.0
door-lock-app debug (read only) 1945209 1945337 128 0.0
.text 1622802 1622930 128 0.0
lighting-app debug+rpc (read only) 2077521 2077649 128 0.0
.text 1755954 1756082 128 0.0
ota-provider-app debug (read only) 1878065 1878193 128 0.0
.text 1568338 1568466 128 0.0
ota-requestor-app debug (read only) 1900129 1900257 128 0.0
.text 1595778 1595906 128 0.0
shell debug (read only) 2392897 2393025 128 0.0
.text 2030594 2030722 128 0.0
thermostat-no-ble arm64 (read only) 2174164 2174212 48 0.0
.text 1822592 1822640 48 0.0
tv-app debug (read only) 2617689 2617817 128 0.0
.text 2243922 2244050 128 0.0
Decreases (15 builds for cyw30739, efr32, esp32, k32w, nrfconnect, p6, qpg, telink)
platform target config section dde4a8f e77fea9 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 601706 601686 -20 -0.0
.app_xip_area 506240 506220 -20 -0.0
lock cyw930739m2evb_01 (read/write) 559626 559606 -20 -0.0
.app_xip_area 465696 465676 -20 -0.0
ota-requestor cyw930739m2evb_01 (read/write) 581822 581802 -20 -0.0
.app_xip_area 478212 478192 -20 -0.0
efr32 lighting-app BRD4161A (read only) 920804 920788 -16 -0.0
.text 920796 920780 -16 -0.0
BRD4161A+rpc (read only) 949640 949624 -16 -0.0
.text 949632 949616 -16 -0.0
lock-app BRD4161A+wf200 (read only) 988724 988708 -16 -0.0
.text 988716 988700 -16 -0.0
esp32 all-clusters-app c3devkit (read only) 957332 957330 -2 -0.0
.flash.text 957332 957330 -2 -0.0
m5stack (read only) 1012175 1012163 -12 -0.0
.flash.text 1006791 1006779 -12 -0.0
k32w light k32w061+release (read/write) 694616 694584 -32 -0.0
.text 609148 609116 -32 -0.0
lock k32w061+release (read/write) 696204 696172 -32 -0.0
.text 610760 610728 -32 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1151579 1151563 -16 -0.0
text 785316 785308 -8 -0.0
p6 light-app default (read/write) 2397408 2397392 -16 -0.0
.text 1355672 1355656 -16 -0.0
qpg lighting-app qpg6105+debug (read only) 603860 603836 -24 -0.0
.text 598540 598516 -24 -0.0
lock-app qpg6105+debug (read only) 569472 569448 -24 -0.0
.text 564152 564128 -24 -0.0
telink lighting-app tlsr9518adk80d (read/write) 888718 888710 -8 -0.0
text 628108 628100 -8 -0.0
Full report (31 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section dde4a8f e77fea9 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 601706 601686 -20 -0.0
.app_xip_area 506240 506220 -20 -0.0
.bss 78148 78148 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 559626 559606 -20 -0.0
.app_xip_area 465696 465676 -20 -0.0
.bss 76652 76652 0 0.0
.data 624 624 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 581822 581802 -20 -0.0
.app_xip_area 478212 478192 -20 -0.0
.bss 85980 85980 0 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 920804 920788 -16 -0.0
(read/write) 128848 128848 0 0.0
.bss 126768 126768 0 0.0
.data 2080 2080 0 0.0
.text 920796 920780 -16 -0.0
BRD4161A+rpc (read only) 949640 949624 -16 -0.0
(read/write) 144808 144808 0 0.0
.bss 142544 142544 0 0.0
.data 2260 2260 0 0.0
.text 949632 949616 -16 -0.0
lock-app BRD4161A+wf200 (read only) 988724 988708 -16 -0.0
(read/write) 120368 120368 0 0.0
.bss 118436 118436 0 0.0
.data 1932 1932 0 0.0
.text 988716 988700 -16 -0.0
window-app BRD4161A (read only) 853800 853800 0 0.0
(read/write) 126840 126840 0 0.0
.bss 124912 124912 0 0.0
.data 1924 1924 0 0.0
.text 853792 853792 0 0.0
esp32 all-clusters-app c3devkit (read only) 957332 957330 -2 -0.0
(read/write) 1393586 1393586 0 0.0
.dram0.bss 63432 63432 0 0.0
.dram0.data 14236 14236 0 0.0
.flash.rodata 197000 197000 0 0.0
.flash.text 957332 957330 -2 -0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1012175 1012163 -12 -0.0
(read/write) 460692 460692 0 0.0
.dram0.bss 68960 68960 0 0.0
.dram0.data 34080 34080 0 0.0
.flash.rodata 225816 225816 0 0.0
.flash.text 1006791 1006779 -12 -0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 694616 694584 -32 -0.0
.bss 77704 77704 0 0.0
.data 1964 1964 0 0.0
.text 609148 609116 -32 -0.0
lock k32w061+release (read/write) 696204 696172 -32 -0.0
.bss 77672 77672 0 0.0
.data 1972 1972 0 0.0
.text 610760 610728 -32 -0.0
linux all-clusters-app debug (read only) 2426113 2426241 128 0.0
(read/write) 145760 145760 0 0.0
.bss 60128 60128 0 0.0
.data 1392 1392 0 0.0
.data.rel.ro 78504 78504 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 205445 205445 0 0.0
.text 2057538 2057666 128 0.0
bridge-app debug+rpc (read only) 1730853 1730981 128 0.0
(read/write) 92720 92720 0 0.0
.bss 47432 47432 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 38144 38144 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 141652 141652 0 0.0
.text 1473061 1473189 128 0.0
chip-tool debug (read only) 9748309 9748453 144 0.0
(read/write) 338232 338232 0 0.0
.bss 25544 25544 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 305504 305504 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 509748 509748 0 0.0
.text 8500085 8500229 144 0.0
chip-tool-ipv6only arm64 (read only) 9421588 9421636 48 0.0
(read/write) 453761 453761 0 0.0
.bss 43841 43841 0 0.0
.data 1200 1200 0 0.0
.data.rel.ro 350648 350648 0 0.0
.dynamic 560 560 0 0.0
.got 54272 54272 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 485580 485580 0 0.0
.text 7933300 7933348 48 0.0
door-lock-app debug (read only) 1945209 1945337 128 0.0
(read/write) 119136 119136 0 0.0
.bss 50432 50432 0 0.0
.data 1056 1056 0 0.0
.data.rel.ro 62264 62264 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 173596 173596 0 0.0
.text 1622802 1622930 128 0.0
lighting-app debug+rpc (read only) 2077521 2077649 128 0.0
(read/write) 124536 124536 0 0.0
.bss 51296 51296 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 66184 66184 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 720 720 0 0.0
.rodata 165788 165788 0 0.0
.text 1755954 1756082 128 0.0
ota-provider-app debug (read only) 1878065 1878193 128 0.0
(read/write) 114768 114768 0 0.0
.bss 50240 50240 0 0.0
.data 1352 1352 0 0.0
.data.rel.ro 57544 57544 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 158835 158835 0 0.0
.text 1568338 1568466 128 0.0
ota-requestor-app debug (read only) 1900129 1900257 128 0.0
(read/write) 117512 117512 0 0.0
.bss 51296 51296 0 0.0
.data 1512 1512 0 0.0
.data.rel.ro 59256 59256 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 154124 154124 0 0.0
.text 1595778 1595906 128 0.0
shell debug (read only) 2392897 2393025 128 0.0
(read/write) 149976 149976 0 0.0
.bss 70216 70216 0 0.0
.data 864 864 0 0.0
.data.rel.ro 73232 73232 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 205394 205394 0 0.0
.text 2030594 2030722 128 0.0
thermostat-no-ble arm64 (read only) 2174164 2174212 48 0.0
(read/write) 148609 148609 0 0.0
.bss 65201 65201 0 0.0
.data 1080 1080 0 0.0
.data.rel.ro 75136 75136 0 0.0
.dynamic 560 560 0 0.0
.got 4224 4224 0 0.0
.init 24 24 0 0.0
.init_array 352 352 0 0.0
.rodata 132948 132948 0 0.0
.text 1822592 1822640 48 0.0
tv-app debug (read only) 2617689 2617817 128 0.0
(read/write) 250872 250872 0 0.0
.bss 167936 167936 0 0.0
.data 3200 3200 0 0.0
.data.rel.ro 73704 73704 0 0.0
.dynamic 592 592 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 199485 199485 0 0.0
.text 2243922 2244050 128 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2350468 2350468 0 0.0
.bss 186084 186084 0 0.0
.data 5800 5800 0 0.0
.text 1313068 1313068 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1151579 1151563 -16 -0.0
bss 146792 146792 0 0.0
rodata 144276 144276 0 0.0
text 785316 785308 -8 -0.0
p6 all-clusters-app default (read/write) 2493944 2493944 0 0.0
.bss 119504 119504 0 0.0
.data 2696 2696 0 0.0
.text 1452208 1452208 0 0.0
light-app default (read/write) 2397408 2397392 -16 -0.0
.bss 112976 112976 0 0.0
.data 2544 2544 0 0.0
.text 1355672 1355656 -16 -0.0
lock-app default (read/write) 2360824 2360824 0 0.0
.bss 112720 112720 0 0.0
.data 2504 2504 0 0.0
.text 1319088 1319088 0 0.0
qpg lighting-app qpg6105+debug (read only) 603860 603836 -24 -0.0
(read/write) 146936 146936 0 0.0
.bss 91080 91080 0 0.0
.data 1164 1164 0 0.0
.text 598540 598516 -24 -0.0
lock-app qpg6105+debug (read only) 569472 569448 -24 -0.0
(read/write) 146936 146936 0 0.0
.bss 91088 91088 0 0.0
.data 1116 1116 0 0.0
.text 564152 564128 -24 -0.0
persistent-storage-app qpg6105+debug (read only) 99520 99520 0 0.0
(read/write) 146940 146940 0 0.0
.bss 24004 24004 0 0.0
.data 176 176 0 0.0
.text 94200 94200 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 888718 888710 -8 -0.0
bss 86928 86928 0 0.0
noinit 37160 37160 0 0.0
text 628108 628100 -8 -0.0

src/credentials/CHIPCert.h Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Mar 9, 2022

PR #15920: Size comparison from b942392 to 8574e20

Increases (3 builds for esp32, linux)
platform target config section b942392 8574e20 change % change
esp32 all-clusters-app m5stack (read only) 1013671 1013675 4 0.0
.flash.text 1008287 1008291 4 0.0
linux chip-tool-ipv6only arm64 (read only) 9585244 9585292 48 0.0
.text 8050804 8050852 48 0.0
thermostat-no-ble arm64 (read only) 2180012 2180060 48 0.0
.text 1828352 1828400 48 0.0
Decreases (13 builds for cyw30739, efr32, esp32, k32w, nrfconnect, p6, telink)
platform target config section b942392 8574e20 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 602114 602094 -20 -0.0
.app_xip_area 506632 506612 -20 -0.0
lock cyw930739m2evb_01 (read/write) 560014 559994 -20 -0.0
.app_xip_area 466068 466048 -20 -0.0
ota-requestor cyw930739m2evb_01 (read/write) 569826 569806 -20 -0.0
.app_xip_area 466184 466164 -20 -0.0
efr32 lighting-app BRD4161A (read only) 922184 922168 -16 -0.0
.text 922176 922160 -16 -0.0
window-app BRD4161A (read only) 854428 854412 -16 -0.0
.text 854420 854404 -16 -0.0
esp32 all-clusters-app c3devkit (read only) 958612 958610 -2 -0.0
.flash.text 958612 958610 -2 -0.0
k32w light k32w061+release (read/write) 695864 695848 -16 -0.0
.text 610356 610340 -16 -0.0
lock k32w061+release (read/write) 696876 696860 -16 -0.0
.text 611408 611392 -16 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1152959 1152943 -16 -0.0
text 786464 786456 -8 -0.0
p6 all-clusters-app default (read/write) 2495712 2495696 -16 -0.0
.text 1453976 1453960 -16 -0.0
light-app default (read/write) 2399096 2399080 -16 -0.0
.text 1357360 1357344 -16 -0.0
lock-app default (read/write) 2362528 2362512 -16 -0.0
.text 1320792 1320776 -16 -0.0
telink lighting-app tlsr9518adk80d (read/write) 889646 889638 -8 -0.0
text 628950 628942 -8 -0.0
Full report (17 builds for cyw30739, efr32, esp32, k32w, linux, nrfconnect, p6, telink)
platform target config section b942392 8574e20 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 602114 602094 -20 -0.0
.app_xip_area 506632 506612 -20 -0.0
.bss 78172 78172 0 0.0
.data 652 652 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 560014 559994 -20 -0.0
.app_xip_area 466068 466048 -20 -0.0
.bss 76676 76676 0 0.0
.data 616 616 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 569826 569806 -20 -0.0
.app_xip_area 466184 466164 -20 -0.0
.bss 86012 86012 0 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 922184 922168 -16 -0.0
(read/write) 128888 128888 0 0.0
.bss 126808 126808 0 0.0
.data 2080 2080 0 0.0
.text 922176 922160 -16 -0.0
BRD4161A+rpc (read only) 951004 951004 0 0.0
(read/write) 144844 144844 0 0.0
.bss 142584 142584 0 0.0
.data 2260 2260 0 0.0
.text 950996 950996 0 0.0
window-app BRD4161A (read only) 854428 854412 -16 -0.0
(read/write) 126852 126852 0 0.0
.bss 124936 124936 0 0.0
.data 1916 1916 0 0.0
.text 854420 854404 -16 -0.0
esp32 all-clusters-app c3devkit (read only) 958612 958610 -2 -0.0
(read/write) 1393770 1393770 0 0.0
.dram0.bss 63576 63576 0 0.0
.dram0.data 14220 14220 0 0.0
.flash.rodata 197056 197056 0 0.0
.flash.text 958612 958610 -2 -0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1013671 1013675 4 0.0
(read/write) 461028 461028 0 0.0
.dram0.bss 69096 69096 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 226032 226032 0 0.0
.flash.text 1008287 1008291 4 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 695864 695848 -16 -0.0
.bss 77744 77744 0 0.0
.data 1964 1964 0 0.0
.text 610356 610340 -16 -0.0
lock k32w061+release (read/write) 696876 696860 -16 -0.0
.bss 77704 77704 0 0.0
.data 1964 1964 0 0.0
.text 611408 611392 -16 -0.0
linux chip-tool-ipv6only arm64 (read only) 9585244 9585292 48 0.0
(read/write) 472913 472913 0 0.0
.bss 43921 43921 0 0.0
.data 1200 1200 0 0.0
.data.rel.ro 369312 369312 0 0.0
.dynamic 560 560 0 0.0
.got 54680 54680 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 490308 490308 0 0.0
.text 8050804 8050852 48 0.0
thermostat-no-ble arm64 (read only) 2180012 2180060 48 0.0
(read/write) 148801 148801 0 0.0
.bss 65377 65377 0 0.0
.data 1048 1048 0 0.0
.data.rel.ro 75160 75160 0 0.0
.dynamic 560 560 0 0.0
.got 4240 4240 0 0.0
.init 24 24 0 0.0
.init_array 352 352 0 0.0
.rodata 133068 133068 0 0.0
.text 1828352 1828400 48 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1152959 1152943 -16 -0.0
bss 146848 146848 0 0.0
rodata 144392 144392 0 0.0
text 786464 786456 -8 -0.0
p6 all-clusters-app default (read/write) 2495712 2495696 -16 -0.0
.bss 119640 119640 0 0.0
.data 2680 2680 0 0.0
.text 1453976 1453960 -16 -0.0
light-app default (read/write) 2399096 2399080 -16 -0.0
.bss 113104 113104 0 0.0
.data 2536 2536 0 0.0
.text 1357360 1357344 -16 -0.0
lock-app default (read/write) 2362528 2362512 -16 -0.0
.bss 112848 112848 0 0.0
.data 2496 2496 0 0.0
.text 1320792 1320776 -16 -0.0
telink lighting-app tlsr9518adk80d (read/write) 889646 889638 -8 -0.0
bss 86968 86968 0 0.0
noinit 37160 37160 0 0.0
text 628950 628942 -8 -0.0

  -- Updated logic that checks optional fabric id attribute in ICAC and RCAC to match
     fabric id attribute in NOC.
  -- According to spec there is no need to require fabric id in ICAC if it is present in RCAC.
  -- NOTE: validity check for NodeId, FabricId and other DN attributes is performed when
     loading certificates for validation (LoadCert()). So there is no need to check validity
     again in FabricInfo::VerifyCredentials().

  -- Changed return value of ExtractNodeIdFabricIdFromOpCert() and ExtractFabricIdFromCert()
     to CHIP_ERROR_NOT_FOUND when requested element is not found in the certificate.
@emargolis emargolis force-pushed the emargolis/feature/fabric-id-validity-check branch from 8574e20 to afd208e Compare March 9, 2022 17:30
@github-actions
Copy link

github-actions bot commented Mar 9, 2022

PR #15920: Size comparison from 4349e22 to afd208e

Increases (12 builds for esp32, linux)
platform target config section 4349e22 afd208e change % change
esp32 all-clusters-app m5stack (read only) 1013703 1013707 4 0.0
.flash.text 1008319 1008323 4 0.0
linux all-clusters-app debug (read only) 2432801 2432929 128 0.0
.text 2064050 2064178 128 0.0
bridge-app debug+rpc (read only) 1737365 1737493 128 0.0
.text 1479461 1479589 128 0.0
chip-tool debug (read only) 9937029 9937157 128 0.0
.text 8644725 8644853 128 0.0
chip-tool-ipv6only arm64 (read only) 9585564 9585612 48 0.0
.text 8050996 8051044 48 0.0
door-lock-app debug (read only) 1951665 1951793 128 0.0
.text 1629202 1629330 128 0.0
lighting-app debug+rpc (read only) 2084009 2084137 128 0.0
.text 1762306 1762434 128 0.0
ota-provider-app debug (read only) 1884521 1884649 128 0.0
.text 1574738 1574866 128 0.0
ota-requestor-app debug (read only) 1912065 1912193 128 0.0
.text 1606690 1606818 128 0.0
shell debug (read only) 2398945 2399073 128 0.0
.text 2036690 2036818 128 0.0
thermostat-no-ble arm64 (read only) 2180332 2180380 48 0.0
.text 1828544 1828592 48 0.0
tv-app debug (read only) 2624761 2624905 144 0.0
.text 2251026 2251170 144 0.0
Decreases (14 builds for cyw30739, efr32, esp32, k32w, mbed, nrfconnect, p6, telink)
platform target config section 4349e22 afd208e change % change
cyw30739 light cyw930739m2evb_01 (read/write) 602138 602118 -20 -0.0
.app_xip_area 506656 506636 -20 -0.0
lock cyw930739m2evb_01 (read/write) 560038 560018 -20 -0.0
.app_xip_area 466092 466072 -20 -0.0
ota-requestor cyw930739m2evb_01 (read/write) 570146 570126 -20 -0.0
.app_xip_area 466504 466484 -20 -0.0
efr32 lighting-app BRD4161A (read only) 922536 922520 -16 -0.0
.text 922528 922512 -16 -0.0
window-app BRD4161A (read only) 854524 854508 -16 -0.0
.text 854516 854500 -16 -0.0
esp32 all-clusters-app c3devkit (read only) 958658 958656 -2 -0.0
.flash.text 958658 958656 -2 -0.0
k32w light k32w061+release (read/write) 696128 696112 -16 -0.0
.text 610620 610604 -16 -0.0
lock k32w061+release (read/write) 696908 696876 -32 -0.0
.text 611440 611408 -32 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2351868 2351804 -64 -0.0
.text 1314468 1314404 -64 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 786700 786692 -8 -0.0
p6 all-clusters-app default (read/write) 2495808 2495792 -16 -0.0
.text 1454072 1454056 -16 -0.0
light-app default (read/write) 2399192 2399176 -16 -0.0
.text 1357456 1357440 -16 -0.0
lock-app default (read/write) 2362624 2362608 -16 -0.0
.text 1320888 1320872 -16 -0.0
telink lighting-app tlsr9518adk80d (read/write) 889718 889710 -8 -0.0
text 629024 629016 -8 -0.0
Full report (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 4349e22 afd208e change % change
cyw30739 light cyw930739m2evb_01 (read/write) 602138 602118 -20 -0.0
.app_xip_area 506656 506636 -20 -0.0
.bss 78172 78172 0 0.0
.data 652 652 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 560038 560018 -20 -0.0
.app_xip_area 466092 466072 -20 -0.0
.bss 76676 76676 0 0.0
.data 616 616 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 570146 570126 -20 -0.0
.app_xip_area 466504 466484 -20 -0.0
.bss 86012 86012 0 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 922536 922520 -16 -0.0
(read/write) 128888 128888 0 0.0
.bss 126808 126808 0 0.0
.data 2080 2080 0 0.0
.text 922528 922512 -16 -0.0
BRD4161A+rpc (read only) 951348 951348 0 0.0
(read/write) 144844 144844 0 0.0
.bss 142584 142584 0 0.0
.data 2260 2260 0 0.0
.text 951340 951340 0 0.0
window-app BRD4161A (read only) 854524 854508 -16 -0.0
(read/write) 126852 126852 0 0.0
.bss 124936 124936 0 0.0
.data 1916 1916 0 0.0
.text 854516 854500 -16 -0.0
esp32 all-clusters-app c3devkit (read only) 958658 958656 -2 -0.0
(read/write) 1393770 1393770 0 0.0
.dram0.bss 63576 63576 0 0.0
.dram0.data 14220 14220 0 0.0
.flash.rodata 197056 197056 0 0.0
.flash.text 958658 958656 -2 -0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1013703 1013707 4 0.0
(read/write) 461028 461028 0 0.0
.dram0.bss 69096 69096 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 226032 226032 0 0.0
.flash.text 1008319 1008323 4 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 696128 696112 -16 -0.0
.bss 77744 77744 0 0.0
.data 1964 1964 0 0.0
.text 610620 610604 -16 -0.0
lock k32w061+release (read/write) 696908 696876 -32 -0.0
.bss 77704 77704 0 0.0
.data 1964 1964 0 0.0
.text 611440 611408 -32 -0.0
linux all-clusters-app debug (read only) 2432801 2432929 128 0.0
(read/write) 145872 145872 0 0.0
.bss 60352 60352 0 0.0
.data 1360 1360 0 0.0
.data.rel.ro 78424 78424 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 205765 205765 0 0.0
.text 2064050 2064178 128 0.0
bridge-app debug+rpc (read only) 1737365 1737493 128 0.0
(read/write) 92784 92784 0 0.0
.bss 47624 47624 0 0.0
.data 2016 2016 0 0.0
.data.rel.ro 38064 38064 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 141932 141932 0 0.0
.text 1479461 1479589 128 0.0
chip-tool debug (read only) 9937029 9937157 128 0.0
(read/write) 356152 356152 0 0.0
.bss 25640 25640 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 323336 323336 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 514420 514420 0 0.0
.text 8644725 8644853 128 0.0
chip-tool-ipv6only arm64 (read only) 9585564 9585612 48 0.0
(read/write) 472945 472945 0 0.0
.bss 43953 43953 0 0.0
.data 1200 1200 0 0.0
.data.rel.ro 369312 369312 0 0.0
.dynamic 560 560 0 0.0
.got 54680 54680 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 490436 490436 0 0.0
.text 8050996 8051044 48 0.0
door-lock-app debug (read only) 1951665 1951793 128 0.0
(read/write) 119296 119296 0 0.0
.bss 50656 50656 0 0.0
.data 1056 1056 0 0.0
.data.rel.ro 62184 62184 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 173820 173820 0 0.0
.text 1629202 1629330 128 0.0
lighting-app debug+rpc (read only) 2084009 2084137 128 0.0
(read/write) 124616 124616 0 0.0
.bss 51456 51456 0 0.0
.data 1536 1536 0 0.0
.data.rel.ro 66104 66104 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 736 736 0 0.0
.rodata 166044 166044 0 0.0
.text 1762306 1762434 128 0.0
ota-provider-app debug (read only) 1884521 1884649 128 0.0
(read/write) 114896 114896 0 0.0
.bss 50464 50464 0 0.0
.data 1320 1320 0 0.0
.data.rel.ro 57464 57464 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 159059 159059 0 0.0
.text 1574738 1574866 128 0.0
ota-requestor-app debug (read only) 1912065 1912193 128 0.0
(read/write) 117832 117832 0 0.0
.bss 51552 51552 0 0.0
.data 1480 1480 0 0.0
.data.rel.ro 59368 59368 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 154860 154860 0 0.0
.text 1606690 1606818 128 0.0
shell debug (read only) 2398945 2399073 128 0.0
(read/write) 150088 150088 0 0.0
.bss 70472 70472 0 0.0
.data 864 864 0 0.0
.data.rel.ro 73064 73064 0 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 205682 205682 0 0.0
.text 2036690 2036818 128 0.0
thermostat-no-ble arm64 (read only) 2180332 2180380 48 0.0
(read/write) 148833 148833 0 0.0
.bss 65409 65409 0 0.0
.data 1048 1048 0 0.0
.data.rel.ro 75160 75160 0 0.0
.dynamic 560 560 0 0.0
.got 4240 4240 0 0.0
.init 24 24 0 0.0
.init_array 352 352 0 0.0
.rodata 133196 133196 0 0.0
.text 1828544 1828592 48 0.0
tv-app debug (read only) 2624761 2624905 144 0.0
(read/write) 251000 251000 0 0.0
.bss 168160 168160 0 0.0
.data 3168 3168 0 0.0
.data.rel.ro 73624 73624 0 0.0
.dynamic 592 592 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 199645 199645 0 0.0
.text 2251026 2251170 144 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2351868 2351804 -64 -0.0
.bss 186212 186212 0 0.0
.data 5792 5792 0 0.0
.text 1314468 1314404 -64 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1153239 1153239 0 0.0
bss 146848 146848 0 0.0
rodata 144448 144448 0 0.0
text 786700 786692 -8 -0.0
p6 all-clusters-app default (read/write) 2495808 2495792 -16 -0.0
.bss 119640 119640 0 0.0
.data 2680 2680 0 0.0
.text 1454072 1454056 -16 -0.0
light-app default (read/write) 2399192 2399176 -16 -0.0
.bss 113104 113104 0 0.0
.data 2536 2536 0 0.0
.text 1357456 1357440 -16 -0.0
lock-app default (read/write) 2362624 2362608 -16 -0.0
.bss 112848 112848 0 0.0
.data 2496 2496 0 0.0
.text 1320888 1320872 -16 -0.0
telink lighting-app tlsr9518adk80d (read/write) 889718 889710 -8 -0.0
bss 86968 86968 0 0.0
noinit 37160 37160 0 0.0
text 629024 629016 -8 -0.0

@tcarmelveilleux tcarmelveilleux merged commit c1b5648 into project-chip:master Mar 10, 2022
andrei-menzopol pushed a commit to andrei-menzopol/connectedhomeip that referenced this pull request Apr 14, 2022
-- Updated logic that checks optional fabric id attribute in ICAC and RCAC to match
     fabric id attribute in NOC.
  -- According to spec there is no need to require fabric id in ICAC if it is present in RCAC.
  -- NOTE: validity check for NodeId, FabricId and other DN attributes is performed when
     loading certificates for validation (LoadCert()). So there is no need to check validity
     again in FabricInfo::VerifyCredentials().

  -- Changed return value of ExtractNodeIdFabricIdFromOpCert() and ExtractFabricIdFromCert()
     to CHIP_ERROR_NOT_FOUND when requested element is not found in the certificate.
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.

4 participants