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 mbedTLS certificate chain validity check #21741

Conversation

emargolis
Copy link
Contributor

Problem

PR #21531 Updated Attestation certificates time validity logic to match the spec.

As a result of that change the ValidateCertificateChain() function in the OpenSSL is performing these custom checks. The goal of this PR is to update mbedTLS implementation to do the same.

Ticket: #21621

Change overview

  • Updated mbedTLS callback function to implement Matter custom certificate chain
    validity logic.
  • Implemented the same changes in the TinyCrypt library.
  • Removed IsCertificateValidAtIssuance() checks from the DefaultDeviceAttestationVerifier.cpp
    because these checks are now performed by the ValidateCertificateChain() function.
  • Added new negative test cases.

Testing

added new test cases. and existing tests

@github-actions
Copy link

github-actions bot commented Aug 9, 2022

PR #21741: Size comparison from 7a981fd to eda34c5

Increases (4 builds for cc13x2_26x2, cyw30739, esp32)
platform target config section 7a981fd eda34c5 change % change
cc13x2_26x2 pump-app LP_CC2652R7 (read only) 682935 682943 8 0.0
.text 593140 593148 8 0.0
cyw30739 ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 596914 596922 8 0.0
.app_xip_area 474436 474444 8 0.0
esp32 all-clusters-app c3devkit (read only) 1025948 1025950 2 0.0
.flash.text 1025948 1025950 2 0.0
m5stack (read only) 1079231 1079235 4 0.0
.flash.text 1073847 1073851 4 0.0
Decreases (3 builds for cc13x2_26x2, linux, telink)
platform target config section 7a981fd eda34c5 change % change
cc13x2_26x2 pump-app LP_CC2652R7 (read/write) 159440 159432 -8 -0.0
linux chip-tool-ipv6only arm64 (read only) 9885276 9883644 -1632 -0.0
(read/write) 694177 694145 -32 -0.0
.data.rel.ro 639384 639360 -24 -0.0
.text 7791140 7789604 -1536 -0.0
telink lighting-app tlsr9518adk80d text 587708 587706 -2 -0.0
Full report (32 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 7a981fd eda34c5 change % change
bl602 lighting-app bl602 (read/write) 1379826 1379826 0 0.0
.bss 119746 119746 0 0.0
.data 4480 4480 0 0.0
.text 1048008 1048008 0 0.0
bl602+rpc (read/write) 1425074 1425074 0 0.0
.bss 127186 127186 0 0.0
.data 4600 4600 0 0.0
.text 1079508 1079508 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 670863 670863 0 0.0
(read/write) 180520 180520 0 0.0
.bss 74276 74276 0 0.0
.data 3372 3372 0 0.0
.rodata 88471 88471 0 0.0
.text 582076 582076 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 636399 636399 0 0.0
(read/write) 157844 157844 0 0.0
.bss 73556 73556 0 0.0
.data 3372 3372 0 0.0
.rodata 77727 77727 0 0.0
.text 558348 558348 0 0.0
lock-ftd LP_CC2652R7 (read only) 672715 672715 0 0.0
(read/write) 168852 168852 0 0.0
.bss 71348 71348 0 0.0
.data 3296 3296 0 0.0
.rodata 76411 76411 0 0.0
.text 595824 595824 0 0.0
lock-mtd LP_CC2652R7 (read only) 655267 655267 0 0.0
(read/write) 181988 181988 0 0.0
.bss 67036 67036 0 0.0
.data 3296 3296 0 0.0
.rodata 101355 101355 0 0.0
.text 553432 553432 0 0.0
pump-app LP_CC2652R7 (read only) 682935 682943 8 0.0
(read/write) 159440 159432 -8 -0.0
.bss 71388 71388 0 0.0
.data 3296 3296 0 0.0
.rodata 89311 89311 0 0.0
.text 593140 593148 8 0.0
pump-controller-app LP_CC2652R7 (read only) 667407 667407 0 0.0
(read/write) 175104 175104 0 0.0
.bss 71524 71524 0 0.0
.data 3292 3292 0 0.0
.rodata 84855 84855 0 0.0
.text 582072 582072 0 0.0
shell LP_CC2652R7 (read only) 663546 663546 0 0.0
(read/write) 183356 183356 0 0.0
.bss 76596 76596 0 0.0
.data 3376 3376 0 0.0
.rodata 85418 85418 0 0.0
.text 577812 577812 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 584478 584478 0 0.0
.app_xip_area 461280 461280 0 0.0
.bss 65640 65640 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) 590406 590406 0 0.0
.app_xip_area 462424 462424 0 0.0
.bss 70424 70424 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 596914 596922 8 0.0
.app_xip_area 474436 474444 8 0.0
.bss 64952 64952 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1096300 1096300 0 0.0
.bss 132844 132844 0 0.0
.data 2068 2068 0 0.0
.text 961364 961364 0 0.0
BRD4161A+rpc (read/write) 1150564 1150564 0 0.0
.bss 149532 149532 0 0.0
.data 2280 2280 0 0.0
.text 998732 998732 0 0.0
BRD4161A+rs911x (read/write) 985836 985836 0 0.0
.bss 162184 162184 0 0.0
.data 2056 2056 0 0.0
.text 821576 821576 0 0.0
lock-app BRD4161A+wf200 (read/write) 1136368 1136368 0 0.0
.bss 144824 144824 0 0.0
.data 2064 2064 0 0.0
.text 989460 989460 0 0.0
window-app BRD4161A (read/write) 1088032 1088032 0 0.0
.bss 134292 134292 0 0.0
.data 2096 2096 0 0.0
.text 951624 951624 0 0.0
esp32 all-clusters-app c3devkit (read only) 1025948 1025950 2 0.0
(read/write) 1487410 1487410 0 0.0
.dram0.bss 70336 70336 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 217040 217040 0 0.0
.flash.text 1025948 1025950 2 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1079231 1079235 4 0.0
(read/write) 489384 489384 0 0.0
.dram0.bss 75840 75840 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 247404 247404 0 0.0
.flash.text 1073847 1073851 4 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 643564 643564 0 0.0
.bss 69712 69712 0 0.0
.data 2044 2044 0 0.0
.text 569080 569080 0 0.0
lock k32w0+release (read/write) 700972 700972 0 0.0
.bss 70184 70184 0 0.0
.data 2052 2052 0 0.0
.text 626008 626008 0 0.0
linux chip-tool-ipv6only arm64 (read only) 9885276 9883644 -1632 -0.0
(read/write) 694177 694145 -32 -0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 639384 639360 -24 -0.0
.dynamic 560 560 0 0.0
.got 13648 13648 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 466796 466796 0 0.0
.text 7791140 7789604 -1536 -0.0
thermostat-no-ble arm64 (read only) 2349916 2349916 0 0.0
(read/write) 141681 141681 0 0.0
.bss 55313 55313 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75880 75880 0 0.0
.dynamic 560 560 0 0.0
.got 5040 5040 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 139716 139716 0 0.0
.text 1972672 1972672 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452584 2452584 0 0.0
.bss 214556 214556 0 0.0
.data 5872 5872 0 0.0
.text 1415228 1415228 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1177839 1177839 0 0.0
bss 143222 143222 0 0.0
rodata 142768 142768 0 0.0
text 813004 813004 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1157895 1157895 0 0.0
bss 142460 142460 0 0.0
rodata 134464 134464 0 0.0
text 802160 802160 0 0.0
p6 all-clusters-app default (read only) 881528 881528 0 0.0
(read/write) 1691052 1691052 0 0.0
.bss 149168 149168 0 0.0
.data 2648 2648 0 0.0
.text 1530848 1530848 0 0.0
all-clusters-minimal-app default (read only) 882248 882248 0 0.0
(read/write) 1635268 1635268 0 0.0
.bss 148448 148448 0 0.0
.data 2648 2648 0 0.0
.text 1475784 1475784 0 0.0
light-app default (read only) 890568 890568 0 0.0
(read/write) 1553980 1553980 0 0.0
.bss 140336 140336 0 0.0
.data 2440 2440 0 0.0
.text 1402816 1402816 0 0.0
lock-app default (read only) 886072 886072 0 0.0
(read/write) 1591260 1591260 0 0.0
.bss 144816 144816 0 0.0
.data 2456 2456 0 0.0
.text 1435600 1435600 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 806016 806016 0 0.0
bss 70976 70976 0 0.0
noinit 43488 43488 0 0.0
text 569732 569732 0 0.0
lighting-app tlsr9518adk80d (read/write) 827824 827824 0 0.0
bss 71820 71820 0 0.0
noinit 43488 43488 0 0.0
text 587708 587706 -2 -0.0

@woody-apple woody-apple enabled auto-merge (squash) August 9, 2022 14:56
@emargolis emargolis force-pushed the emargolis/feature/update-mbedtls-callback-implementation branch from 5fdd2c6 to 65e2245 Compare August 10, 2022 02:01
@github-actions
Copy link

github-actions bot commented Aug 10, 2022

PR #21741: Size comparison from abc83fd to 65e2245

Increases (4 builds for bl602, cc13x2_26x2, esp32, telink)
platform target config section abc83fd 65e2245 change % change
bl602 lighting-app bl602+rpc (read/write) 1425306 1425314 8 0.0
.text 1079732 1079736 4 0.0
cc13x2_26x2 pump-app LP_CC2652R7 (read/write) 159292 159300 8 0.0
esp32 all-clusters-app m5stack (read only) 1079431 1079435 4 0.0
.flash.text 1074047 1074051 4 0.0
telink lighting-app tlsr9518adk80d (read/write) 827984 827992 8 0.0
text 587860 587862 2 0.0
Decreases (3 builds for cc13x2_26x2, linux, telink)
platform target config section abc83fd 65e2245 change % change
cc13x2_26x2 pump-app LP_CC2652R7 (read only) 683083 683075 -8 -0.0
.text 593284 593276 -8 -0.0
linux chip-tool-ipv6only arm64 (read only) 10007228 10005596 -1632 -0.0
(read/write) 695153 695121 -32 -0.0
.data.rel.ro 640360 640336 -24 -0.0
.text 7903428 7901908 -1520 -0.0
telink light-switch-app tlsr9518adk80d text 569888 569886 -2 -0.0
Full report (32 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section abc83fd 65e2245 change % change
bl602 lighting-app bl602 (read/write) 1380058 1380058 0 0.0
.bss 119746 119746 0 0.0
.data 4480 4480 0 0.0
.text 1048232 1048232 0 0.0
bl602+rpc (read/write) 1425306 1425314 8 0.0
.bss 127186 127186 0 0.0
.data 4600 4600 0 0.0
.text 1079732 1079736 4 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 670991 670991 0 0.0
(read/write) 180392 180392 0 0.0
.bss 74276 74276 0 0.0
.data 3372 3372 0 0.0
.rodata 88471 88471 0 0.0
.text 582204 582204 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 636535 636535 0 0.0
(read/write) 157844 157844 0 0.0
.bss 73556 73556 0 0.0
.data 3372 3372 0 0.0
.rodata 77727 77727 0 0.0
.text 558484 558484 0 0.0
lock-ftd LP_CC2652R7 (read only) 672843 672843 0 0.0
(read/write) 168724 168724 0 0.0
.bss 71348 71348 0 0.0
.data 3296 3296 0 0.0
.rodata 76411 76411 0 0.0
.text 595952 595952 0 0.0
lock-mtd LP_CC2652R7 (read only) 655451 655451 0 0.0
(read/write) 181804 181804 0 0.0
.bss 67036 67036 0 0.0
.data 3296 3296 0 0.0
.rodata 101363 101363 0 0.0
.text 553608 553608 0 0.0
pump-app LP_CC2652R7 (read only) 683083 683075 -8 -0.0
(read/write) 159292 159300 8 0.0
.bss 71388 71388 0 0.0
.data 3296 3296 0 0.0
.rodata 89315 89315 0 0.0
.text 593284 593276 -8 -0.0
pump-controller-app LP_CC2652R7 (read only) 667551 667551 0 0.0
(read/write) 174960 174960 0 0.0
.bss 71524 71524 0 0.0
.data 3292 3292 0 0.0
.rodata 84863 84863 0 0.0
.text 582208 582208 0 0.0
shell LP_CC2652R7 (read only) 663666 663666 0 0.0
(read/write) 183236 183236 0 0.0
.bss 76596 76596 0 0.0
.data 3376 3376 0 0.0
.rodata 85418 85418 0 0.0
.text 577932 577932 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 584710 584710 0 0.0
.app_xip_area 461512 461512 0 0.0
.bss 65640 65640 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) 590646 590646 0 0.0
.app_xip_area 462664 462664 0 0.0
.bss 70424 70424 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 597026 597026 0 0.0
.app_xip_area 474548 474548 0 0.0
.bss 64952 64952 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1096516 1096516 0 0.0
.bss 132844 132844 0 0.0
.data 2068 2068 0 0.0
.text 961580 961580 0 0.0
BRD4161A+rpc (read/write) 1150780 1150780 0 0.0
.bss 149532 149532 0 0.0
.data 2280 2280 0 0.0
.text 998948 998948 0 0.0
BRD4161A+rs911x (read/write) 986036 986036 0 0.0
.bss 162184 162184 0 0.0
.data 2056 2056 0 0.0
.text 821776 821776 0 0.0
lock-app BRD4161A+wf200 (read/write) 1136532 1136532 0 0.0
.bss 144824 144824 0 0.0
.data 2064 2064 0 0.0
.text 989624 989624 0 0.0
window-app BRD4161A (read/write) 1088248 1088248 0 0.0
.bss 134292 134292 0 0.0
.data 2096 2096 0 0.0
.text 951840 951840 0 0.0
esp32 all-clusters-app c3devkit (read only) 1026146 1026146 0 0.0
(read/write) 1487426 1487426 0 0.0
.dram0.bss 70336 70336 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 217056 217056 0 0.0
.flash.text 1026146 1026146 0 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1079431 1079435 4 0.0
(read/write) 489392 489392 0 0.0
.dram0.bss 75840 75840 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 247412 247412 0 0.0
.flash.text 1074047 1074051 4 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 643708 643708 0 0.0
.bss 69712 69712 0 0.0
.data 2044 2044 0 0.0
.text 569224 569224 0 0.0
lock k32w0+release (read/write) 701140 701140 0 0.0
.bss 70184 70184 0 0.0
.data 2052 2052 0 0.0
.text 626176 626176 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10007228 10005596 -1632 -0.0
(read/write) 695153 695121 -32 -0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 640360 640336 -24 -0.0
.dynamic 560 560 0 0.0
.got 13656 13656 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 474124 474124 0 0.0
.text 7903428 7901908 -1520 -0.0
thermostat-no-ble arm64 (read only) 2351100 2351100 0 0.0
(read/write) 141681 141681 0 0.0
.bss 55313 55313 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75880 75880 0 0.0
.dynamic 560 560 0 0.0
.got 5040 5040 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 139716 139716 0 0.0
.text 1973856 1973856 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452720 2452720 0 0.0
.bss 214556 214556 0 0.0
.data 5872 5872 0 0.0
.text 1415364 1415364 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1178023 1178023 0 0.0
bss 143222 143222 0 0.0
rodata 142776 142776 0 0.0
text 813172 813172 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1158047 1158047 0 0.0
bss 142460 142460 0 0.0
rodata 134472 134472 0 0.0
text 802292 802292 0 0.0
p6 all-clusters-app default (read only) 881520 881520 0 0.0
(read/write) 1694004 1694004 0 0.0
.bss 149168 149168 0 0.0
.data 2656 2656 0 0.0
.text 1533792 1533792 0 0.0
all-clusters-minimal-app default (read only) 882240 882240 0 0.0
(read/write) 1638172 1638172 0 0.0
.bss 148448 148448 0 0.0
.data 2656 2656 0 0.0
.text 1478680 1478680 0 0.0
light-app default (read only) 890560 890560 0 0.0
(read/write) 1556860 1556860 0 0.0
.bss 140336 140336 0 0.0
.data 2448 2448 0 0.0
.text 1405688 1405688 0 0.0
lock-app default (read only) 886064 886064 0 0.0
(read/write) 1594172 1594172 0 0.0
.bss 144816 144816 0 0.0
.data 2464 2464 0 0.0
.text 1438504 1438504 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 806184 806184 0 0.0
bss 70976 70976 0 0.0
noinit 43488 43488 0 0.0
text 569888 569886 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 827984 827992 8 0.0
bss 71820 71820 0 0.0
noinit 43488 43488 0 0.0
text 587860 587862 2 0.0

@woody-apple woody-apple force-pushed the emargolis/feature/update-mbedtls-callback-implementation branch from 65e2245 to e7ff106 Compare August 10, 2022 05:46
@github-actions
Copy link

github-actions bot commented Aug 10, 2022

PR #21741: Size comparison from 397d642 to e7ff106

Increases (3 builds for cc13x2_26x2, esp32)
platform target config section 397d642 e7ff106 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 180312 180320 8 0.0
pump-app LP_CC2652R7 (read only) 683155 683163 8 0.0
.text 593356 593364 8 0.0
esp32 all-clusters-app m5stack (read only) 1079499 1079503 4 0.0
.flash.text 1074115 1074119 4 0.0
Decreases (10 builds for bl602, cc13x2_26x2, cyw30739, linux, telink)
platform target config section 397d642 e7ff106 change % change
bl602 lighting-app bl602 .text 1048348 1048344 -4 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 671071 671063 -8 -0.0
.text 582284 582276 -8 -0.0
pump-app LP_CC2652R7 (read/write) 159220 159212 -8 -0.0
cyw30739 ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 597098 597090 -8 -0.0
.app_xip_area 474620 474612 -8 -0.0
linux chip-tool debug (read only) 10600785 1059920 -1584 -0.0
(read/write) 647520 647488 -32 -0.0
.got 5104 5096 -8 -0.2
.text 8558068 8556580 -1488 -0.0
chip-tool-ipv6only arm64 (read only) 10009948 10008316 -1632 -0.0
(read/write) 695217 695185 -32 -0.0
.data.rel.ro 640416 640392 -24 -0.0
.text 7905684 7904164 -1520 -0.0
tv-app debug (read only) 3169617 3168049 -1568 -0.0
.got 4864 4856 -8 -0.2
.text 2721698 2720226 -1472 -0.1
tv-casting-app debug (read only) 5410321 5408737 -1584 -0.0
.got 4784 4776 -8 -0.2
.text 4800594 4799106 -1488 -0.0
telink light-switch-app tlsr9518adk80d text 569992 569990 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 828096 828088 -8 -0.0
text 587968 587964 -4 -0.0
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 397d642 e7ff106 change % change
bl602 lighting-app bl602 (read/write) 1380170 1380170 0 0.0
.bss 119746 119746 0 0.0
.data 4480 4480 0 0.0
.text 1048348 1048344 -4 -0.0
bl602+rpc (read/write) 1425426 1425426 0 0.0
.bss 127186 127186 0 0.0
.data 4600 4600 0 0.0
.text 1079848 1079848 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 671071 671063 -8 -0.0
(read/write) 180312 180320 8 0.0
.bss 74276 74276 0 0.0
.data 3372 3372 0 0.0
.rodata 88471 88471 0 0.0
.text 582284 582276 -8 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 636599 636599 0 0.0
(read/write) 157844 157844 0 0.0
.bss 73556 73556 0 0.0
.data 3372 3372 0 0.0
.rodata 77727 77727 0 0.0
.text 558548 558548 0 0.0
lock-ftd LP_CC2652R7 (read only) 672907 672907 0 0.0
(read/write) 168660 168660 0 0.0
.bss 71348 71348 0 0.0
.data 3296 3296 0 0.0
.rodata 76411 76411 0 0.0
.text 596016 596016 0 0.0
lock-mtd LP_CC2652R7 (read only) 655515 655515 0 0.0
(read/write) 181740 181740 0 0.0
.bss 67036 67036 0 0.0
.data 3296 3296 0 0.0
.rodata 101363 101363 0 0.0
.text 553672 553672 0 0.0
pump-app LP_CC2652R7 (read only) 683155 683163 8 0.0
(read/write) 159220 159212 -8 -0.0
.bss 71388 71388 0 0.0
.data 3296 3296 0 0.0
.rodata 89315 89315 0 0.0
.text 593356 593364 8 0.0
pump-controller-app LP_CC2652R7 (read only) 667615 667615 0 0.0
(read/write) 174896 174896 0 0.0
.bss 71524 71524 0 0.0
.data 3292 3292 0 0.0
.rodata 84863 84863 0 0.0
.text 582272 582272 0 0.0
shell LP_CC2652R7 (read only) 663746 663746 0 0.0
(read/write) 183156 183156 0 0.0
.bss 76596 76596 0 0.0
.data 3376 3376 0 0.0
.rodata 85418 85418 0 0.0
.text 578012 578012 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 584774 584774 0 0.0
.app_xip_area 461576 461576 0 0.0
.bss 65640 65640 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) 590710 590710 0 0.0
.app_xip_area 462728 462728 0 0.0
.bss 70424 70424 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 597098 597090 -8 -0.0
.app_xip_area 474620 474612 -8 -0.0
.bss 64952 64952 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1096596 1096596 0 0.0
.bss 132844 132844 0 0.0
.data 2068 2068 0 0.0
.text 961660 961660 0 0.0
BRD4161A+rpc (read/write) 1150860 1150860 0 0.0
.bss 149532 149532 0 0.0
.data 2280 2280 0 0.0
.text 999028 999028 0 0.0
BRD4161A+rs911x (read/write) 986116 986116 0 0.0
.bss 162184 162184 0 0.0
.data 2056 2056 0 0.0
.text 821856 821856 0 0.0
lock-app BRD4161A+wf200 (read/write) 1136692 1136692 0 0.0
.bss 144824 144824 0 0.0
.data 2064 2064 0 0.0
.text 989784 989784 0 0.0
window-app BRD4161A (read/write) 1088328 1088328 0 0.0
.bss 134292 134292 0 0.0
.data 2096 2096 0 0.0
.text 951920 951920 0 0.0
esp32 all-clusters-app c3devkit (read only) 1026246 1026246 0 0.0
(read/write) 1487426 1487426 0 0.0
.dram0.bss 70336 70336 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 217056 217056 0 0.0
.flash.text 1026246 1026246 0 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1079499 1079503 4 0.0
(read/write) 489392 489392 0 0.0
.dram0.bss 75840 75840 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 247412 247412 0 0.0
.flash.text 1074115 1074119 4 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 643772 643772 0 0.0
.bss 69712 69712 0 0.0
.data 2044 2044 0 0.0
.text 569288 569288 0 0.0
lock k32w0+release (read/write) 701204 701204 0 0.0
.bss 70184 70184 0 0.0
.data 2052 2052 0 0.0
.text 626240 626240 0 0.0
linux all-clusters-app debug (read only) 3026897 3026897 0 0.0
(read/write) 155752 155752 0 0.0
.bss 61888 61888 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 85416 85416 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 273419 273419 0 0.0
.text 2574546 2574546 0 0.0
all-clusters-minimal-app debug (read only) 2867169 2867169 0 0.0
(read/write) 147488 147488 0 0.0
.bss 61152 61152 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 78008 78008 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 273547 273547 0 0.0
.text 2417394 2417394 0 0.0
bridge-app debug+rpc (read only) 2366345 2366345 0 0.0
(read/write) 127416 127416 0 0.0
.bss 50592 50592 0 0.0
.data 3600 3600 0 0.0
.data.rel.ro 67368 67368 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 202504 202504 0 0.0
.text 2001362 2001362 0 0.0
chip-tool debug (read only) 10600785 1059920 -1584 -0.0
(read/write) 647520 647488 -32 -0.0
.bss 24856 24856 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 612856 612856 0 0.0
.dynamic 608 608 0 0.0
.got 5104 5096 -8 -0.2
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 543861 543861 0 0.0
.text 8558068 8556580 -1488 -0.0
chip-tool-ipv6only arm64 (read only) 10009948 10008316 -1632 -0.0
(read/write) 695217 695185 -32 -0.0
.bss 32897 32897 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 640416 640392 -24 -0.0
.dynamic 560 560 0 0.0
.got 13664 13664 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 474396 474396 0 0.0
.text 7905684 7904164 -1520 -0.0
lighting-app debug+rpc (read only) 2589785 2589785 0 0.0
(read/write) 130008 130008 0 0.0
.bss 49728 49728 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72248 72248 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 912 912 0 0.0
.rodata 219184 219184 0 0.0
.text 2200034 2200034 0 0.0
lock-app debug (read only) 2574225 2574225 0 0.0
(read/write) 125376 125376 0 0.0
.bss 48256 48256 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69416 69416 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 236272 236272 0 0.0
.text 2171442 2171442 0 0.0
ota-provider-app debug (read only) 2351537 2351537 0 0.0
(read/write) 118848 118848 0 0.0
.bss 47808 47808 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63224 63224 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 208344 208344 0 0.0
.text 1979842 1979842 0 0.0
ota-requestor-app debug (read only) 2516361 2516361 0 0.0
(read/write) 127152 127152 0 0.0
.bss 50272 50272 0 0.0
.data 2304 2304 0 0.0
.data.rel.ro 68632 68632 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 840 840 0 0.0
.rodata 214944 214944 0 0.0
.text 2128994 2128994 0 0.0
shell debug (read only) 2595281 2595281 0 0.0
(read/write) 141904 141904 0 0.0
.bss 57800 57800 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 77024 77024 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1024 1024 0 0.0
.rodata 233554 233554 0 0.0
.text 2203522 2203522 0 0.0
thermostat-no-ble arm64 (read only) 2351468 2351468 0 0.0
(read/write) 141681 141681 0 0.0
.bss 55313 55313 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75880 75880 0 0.0
.dynamic 560 560 0 0.0
.got 5040 5040 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 139716 139716 0 0.0
.text 1974224 1974224 0 0.0
tv-app debug (read only) 3169617 3168049 -1568 -0.0
(read/write) 257864 257864 0 0.0
.bss 167480 167480 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79096 79096 0 0.0
.dynamic 608 608 0 0.0
.got 4864 4856 -8 -0.2
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 258152 258152 0 0.0
.text 2721698 2720226 -1472 -0.1
tv-casting-app debug (read only) 5410321 5408737 -1584 -0.0
(read/write) 158984 158984 0 0.0
.bss 51448 51448 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 98672 98672 0 0.0
.dynamic 608 608 0 0.0
.got 4784 4776 -8 -0.2
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 341425 341425 0 0.0
.text 4800594 4799106 -1488 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452848 2452848 0 0.0
.bss 214556 214556 0 0.0
.data 5872 5872 0 0.0
.text 1415492 1415492 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1178087 1178087 0 0.0
bss 143222 143222 0 0.0
rodata 142776 142776 0 0.0
text 813240 813240 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1158111 1158111 0 0.0
bss 142460 142460 0 0.0
rodata 134472 134472 0 0.0
text 802360 802360 0 0.0
p6 all-clusters-app default (read only) 881520 881520 0 0.0
(read/write) 1694084 1694084 0 0.0
.bss 149168 149168 0 0.0
.data 2656 2656 0 0.0
.text 1533872 1533872 0 0.0
all-clusters-minimal-app default (read only) 882240 882240 0 0.0
(read/write) 1638268 1638268 0 0.0
.bss 148448 148448 0 0.0
.data 2656 2656 0 0.0
.text 1478776 1478776 0 0.0
light-app default (read only) 890560 890560 0 0.0
(read/write) 1556956 1556956 0 0.0
.bss 140336 140336 0 0.0
.data 2448 2448 0 0.0
.text 1405784 1405784 0 0.0
lock-app default (read only) 886064 886064 0 0.0
(read/write) 1594268 1594268 0 0.0
.bss 144816 144816 0 0.0
.data 2464 2464 0 0.0
.text 1438600 1438600 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 806288 806288 0 0.0
bss 70976 70976 0 0.0
noinit 43488 43488 0 0.0
text 569992 569990 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 828096 828088 -8 -0.0
bss 71820 71820 0 0.0
noinit 43488 43488 0 0.0
text 587968 587964 -4 -0.0

  - Updated mbedTLS callback function to implement Matter cautom certificate chain
    validity logic.
  - Implemented the same changes in the TinyCrypt library.
  - Removed IsCertificateValidAtIssuance() checks from the DefaultDeviceAttestationVerifier.cpp
    because these checks are now performed by the ValidateCertificateChain() function.
  - Added new negative test cases.
@emargolis emargolis force-pushed the emargolis/feature/update-mbedtls-callback-implementation branch from 6b2b5a1 to fff0eab Compare August 11, 2022 19:27
@github-actions
Copy link

github-actions bot commented Aug 11, 2022

PR #21741: Size comparison from 0d64c0b to fff0eab

Increases (7 builds for bl602, cc13x2_26x2, cyw30739, esp32, telink)
platform target config section 0d64c0b fff0eab change % change
bl602 lighting-app bl602 (read/write) 1380634 1380642 8 0.0
.text 1048708 1048712 4 0.0
bl602+rpc .text 1080208 1080212 4 0.0
cc13x2_26x2 pump-app LP_CC2652R7 (read/write) 159036 159044 8 0.0
cyw30739 ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 597634 597642 8 0.0
.app_xip_area 475140 475148 8 0.0
esp32 all-clusters-app m5stack (read only) 1079875 1079879 4 0.0
.flash.text 1074491 1074495 4 0.0
telink light-switch-app tlsr9518adk80d text 570240 570244 4 0.0
lighting-app tlsr9518adk80d text 588318 588320 2 0.0
Decreases (6 builds for cc13x2_26x2, esp32, linux)
platform target config section 0d64c0b fff0eab change % change
cc13x2_26x2 pump-app LP_CC2652R7 (read only) 683355 683347 -8 -0.0
.text 593476 593468 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1026544 1026540 -4 -0.0
.flash.text 1026544 1026540 -4 -0.0
linux chip-tool debug (read only) 10656625 10655041 -1584 -0.0
.got 5104 5096 -8 -0.2
.text 8598996 8597508 -1488 -0.0
chip-tool-ipv6only arm64 (read only) 10067292 10065644 -1648 -0.0
(read/write) 698577 698545 -32 -0.0
.data.rel.ro 643344 643320 -24 -0.0
.text 7947476 7945940 -1536 -0.0
tv-app debug (read only) 3170361 3168777 -1584 -0.0
.got 4864 4856 -8 -0.2
.text 2722194 2720706 -1488 -0.1
tv-casting-app debug (read only) 5410809 5409241 -1568 -0.0
.got 4784 4776 -8 -0.2
.text 4800834 4799362 -1472 -0.0
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 0d64c0b fff0eab change % change
bl602 lighting-app bl602 (read/write) 1380634 1380642 8 0.0
.bss 119762 119762 0 0.0
.data 4480 4480 0 0.0
.text 1048708 1048712 4 0.0
bl602+rpc (read/write) 1425890 1425890 0 0.0
.bss 127202 127202 0 0.0
.data 4600 4600 0 0.0
.text 1080208 1080212 4 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 671367 671367 0 0.0
(read/write) 180024 180024 0 0.0
.bss 74284 74284 0 0.0
.data 3372 3372 0 0.0
.rodata 88559 88559 0 0.0
.text 582492 582492 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 636759 636759 0 0.0
(read/write) 157860 157860 0 0.0
.bss 73572 73572 0 0.0
.data 3372 3372 0 0.0
.rodata 77815 77815 0 0.0
.text 558620 558620 0 0.0
lock-ftd LP_CC2652R7 (read only) 673115 673115 0 0.0
(read/write) 168468 168468 0 0.0
.bss 71364 71364 0 0.0
.data 3296 3296 0 0.0
.rodata 76499 76499 0 0.0
.text 596136 596136 0 0.0
lock-mtd LP_CC2652R7 (read only) 655723 655723 0 0.0
(read/write) 181548 181548 0 0.0
.bss 67052 67052 0 0.0
.data 3296 3296 0 0.0
.rodata 101451 101451 0 0.0
.text 553792 553792 0 0.0
pump-app LP_CC2652R7 (read only) 683355 683347 -8 -0.0
(read/write) 159036 159044 8 0.0
.bss 71404 71404 0 0.0
.data 3296 3296 0 0.0
.rodata 89395 89395 0 0.0
.text 593476 593468 -8 -0.0
pump-controller-app LP_CC2652R7 (read only) 667807 667807 0 0.0
(read/write) 174704 174704 0 0.0
.bss 71524 71524 0 0.0
.data 3292 3292 0 0.0
.rodata 84943 84943 0 0.0
.text 582384 582384 0 0.0
shell LP_CC2652R7 (read only) 664050 664050 0 0.0
(read/write) 182860 182860 0 0.0
.bss 76604 76604 0 0.0
.data 3376 3376 0 0.0
.rodata 85506 85506 0 0.0
.text 578228 578228 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 585166 585166 0 0.0
.app_xip_area 461952 461952 0 0.0
.bss 65656 65656 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) 590966 590966 0 0.0
.app_xip_area 462968 462968 0 0.0
.bss 70440 70440 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 597634 597642 8 0.0
.app_xip_area 475140 475148 8 0.0
.bss 64968 64968 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1097340 1097340 0 0.0
.bss 132860 132860 0 0.0
.data 2068 2068 0 0.0
.text 962388 962388 0 0.0
BRD4161A+rpc (read/write) 1151604 1151604 0 0.0
.bss 149548 149548 0 0.0
.data 2280 2280 0 0.0
.text 999756 999756 0 0.0
BRD4161A+rs911x (read/write) 986748 986748 0 0.0
.bss 162200 162200 0 0.0
.data 2056 2056 0 0.0
.text 822472 822472 0 0.0
lock-app BRD4161A+wf200 (read/write) 1137068 1137068 0 0.0
.bss 144840 144840 0 0.0
.data 2064 2064 0 0.0
.text 990144 990144 0 0.0
window-app BRD4161A (read/write) 1088776 1088776 0 0.0
.bss 134292 134292 0 0.0
.data 2096 2096 0 0.0
.text 952368 952368 0 0.0
esp32 all-clusters-app c3devkit (read only) 1026544 1026540 -4 -0.0
(read/write) 1487570 1487570 0 0.0
.dram0.bss 70360 70360 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 217168 217168 0 0.0
.flash.text 1026544 1026540 -4 -0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1079875 1079879 4 0.0
(read/write) 489528 489528 0 0.0
.dram0.bss 75864 75864 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 247524 247524 0 0.0
.flash.text 1074491 1074495 4 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 644076 644076 0 0.0
.bss 69728 69728 0 0.0
.data 2044 2044 0 0.0
.text 569576 569576 0 0.0
lock k32w0+release (read/write) 701364 701364 0 0.0
.bss 70200 70200 0 0.0
.data 2052 2052 0 0.0
.text 626384 626384 0 0.0
linux all-clusters-app debug (read only) 3028281 3028281 0 0.0
(read/write) 155760 155760 0 0.0
.bss 61888 61888 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 85416 85416 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 273643 273643 0 0.0
.text 2575682 2575682 0 0.0
all-clusters-minimal-app debug (read only) 2868105 2868105 0 0.0
(read/write) 147496 147496 0 0.0
.bss 61152 61152 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 78008 78008 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 273803 273803 0 0.0
.text 2418050 2418050 0 0.0
bridge-app debug+rpc (read only) 2366929 2366929 0 0.0
(read/write) 127456 127456 0 0.0
.bss 50624 50624 0 0.0
.data 3600 3600 0 0.0
.data.rel.ro 67368 67368 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 202600 202600 0 0.0
.text 2001826 2001826 0 0.0
chip-tool debug (read only) 10656625 10655041 -1584 -0.0
(read/write) 650816 650816 0 0.0
.bss 25240 25240 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 615784 615784 0 0.0
.dynamic 608 608 0 0.0
.got 5104 5096 -8 -0.2
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 551861 551861 0 0.0
.text 8598996 8597508 -1488 -0.0
chip-tool-ipv6only arm64 (read only) 10067292 10065644 -1648 -0.0
(read/write) 698577 698545 -32 -0.0
.bss 33281 33281 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 643344 643320 -24 -0.0
.dynamic 560 560 0 0.0
.got 13712 13712 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 482892 482892 0 0.0
.text 7947476 7945940 -1536 -0.0
lighting-app debug+rpc (read only) 2590945 2590945 0 0.0
(read/write) 130048 130048 0 0.0
.bss 49760 49760 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72248 72248 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 219376 219376 0 0.0
.text 2200978 2200978 0 0.0
lock-app debug (read only) 2574921 2574921 0 0.0
(read/write) 125416 125416 0 0.0
.bss 48288 48288 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69416 69416 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 896 896 0 0.0
.rodata 236496 236496 0 0.0
.text 2171890 2171890 0 0.0
ota-provider-app debug (read only) 2352049 2352049 0 0.0
(read/write) 118848 118848 0 0.0
.bss 47808 47808 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63224 63224 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 208440 208440 0 0.0
.text 1980258 1980258 0 0.0
ota-requestor-app debug (read only) 2517745 2517745 0 0.0
(read/write) 127192 127192 0 0.0
.bss 50304 50304 0 0.0
.data 2304 2304 0 0.0
.data.rel.ro 68632 68632 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 848 848 0 0.0
.rodata 215168 215168 0 0.0
.text 2130130 2130130 0 0.0
shell debug (read only) 2596601 2596601 0 0.0
(read/write) 141912 141912 0 0.0
.bss 57800 57800 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 77024 77024 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 233778 233778 0 0.0
.text 2204594 2204594 0 0.0
thermostat-no-ble arm64 (read only) 2352012 2352012 0 0.0
(read/write) 141681 141681 0 0.0
.bss 55313 55313 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75880 75880 0 0.0
.dynamic 560 560 0 0.0
.got 5040 5040 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 139828 139828 0 0.0
.text 1974656 1974656 0 0.0
tv-app debug (read only) 3170361 3168777 -1584 -0.0
(read/write) 257872 257872 0 0.0
.bss 167480 167480 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79096 79096 0 0.0
.dynamic 608 608 0 0.0
.got 4864 4856 -8 -0.2
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 258376 258376 0 0.0
.text 2722194 2720706 -1488 -0.1
tv-casting-app debug (read only) 5410809 5409241 -1568 -0.0
(read/write) 158992 158992 0 0.0
.bss 51448 51448 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 98672 98672 0 0.0
.dynamic 608 608 0 0.0
.got 4784 4776 -8 -0.2
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 341649 341649 0 0.0
.text 4800834 4799362 -1472 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452976 2452976 0 0.0
.bss 214572 214572 0 0.0
.data 5872 5872 0 0.0
.text 1415620 1415620 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1178535 1178535 0 0.0
bss 143230 143230 0 0.0
rodata 142888 142888 0 0.0
text 813580 813580 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1158555 1158555 0 0.0
bss 142468 142468 0 0.0
rodata 134580 134580 0 0.0
text 802568 802568 0 0.0
p6 all-clusters-app default (read only) 881512 881512 0 0.0
(read/write) 1694516 1694516 0 0.0
.bss 149176 149176 0 0.0
.data 2656 2656 0 0.0
.text 1534296 1534296 0 0.0
all-clusters-minimal-app default (read only) 882232 882232 0 0.0
(read/write) 1638556 1638556 0 0.0
.bss 148456 148456 0 0.0
.data 2656 2656 0 0.0
.text 1479056 1479056 0 0.0
light-app default (read only) 890552 890552 0 0.0
(read/write) 1557244 1557244 0 0.0
.bss 140344 140344 0 0.0
.data 2448 2448 0 0.0
.text 1406064 1406064 0 0.0
lock-app default (read only) 886056 886056 0 0.0
(read/write) 1594412 1594412 0 0.0
.bss 144824 144824 0 0.0
.data 2464 2464 0 0.0
.text 1438736 1438736 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 806648 806648 0 0.0
bss 70976 70976 0 0.0
noinit 43488 43488 0 0.0
text 570240 570244 4 0.0
lighting-app tlsr9518adk80d (read/write) 828576 828576 0 0.0
bss 71832 71832 0 0.0
noinit 43488 43488 0 0.0
text 588318 588320 2 0.0

@woody-apple woody-apple merged commit acfe0d7 into project-chip:master Aug 11, 2022
isiu-apple pushed a commit to isiu-apple/connectedhomeip that referenced this pull request Sep 16, 2022
- Updated mbedTLS callback function to implement Matter cautom certificate chain
    validity logic.
  - Implemented the same changes in the TinyCrypt library.
  - Removed IsCertificateValidAtIssuance() checks from the DefaultDeviceAttestationVerifier.cpp
    because these checks are now performed by the ValidateCertificateChain() function.
  - Added new negative test cases.
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.

3 participants