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

Fix retrieval of attestation challenge in Java #18867

Conversation

g-coppock
Copy link
Contributor

When not using the auto-commissioning flow, the mDeviceBeingCommissioned
proxy is no longer assigned, so the default behavior of retrieving the
attestation challenge fails.

Since at the time of use we already have a reference to the correct
DeviceProxy, added an overload to pass the proxy along to retrieve the
challenge.

@github-actions
Copy link

github-actions bot commented May 26, 2022

PR #18867: Size comparison from 3956a9d to cdca933

Full report (37 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 3956a9d cdca933 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 644979 644979 0 0.0
(read/write) 159144 159144 0 0.0
.bss 74828 74828 0 0.0
.data 3400 3400 0 0.0
.rodata 83747 83747 0 0.0
.text 560996 560996 0 0.0
lock-ftd LP_CC2652R7 (read only) 679295 679295 0 0.0
(read/write) 163776 163776 0 0.0
.bss 72852 72852 0 0.0
.data 3264 3264 0 0.0
.rodata 96055 96055 0 0.0
.text 582756 582756 0 0.0
lock-mtd LP_CC2652R7 (read only) 628695 628695 0 0.0
(read/write) 145968 145968 0 0.0
.bss 68588 68588 0 0.0
.data 3264 3264 0 0.0
.rodata 95935 95935 0 0.0
.text 532268 532268 0 0.0
pump-app LP_CC2652R7 (read only) 675715 675715 0 0.0
(read/write) 168524 168524 0 0.0
.bss 73252 73252 0 0.0
.data 3300 3300 0 0.0
.rodata 88531 88531 0 0.0
.text 586700 586700 0 0.0
pump-controller-app LP_CC2652R7 (read only) 653643 653643 0 0.0
(read/write) 190452 190452 0 0.0
.bss 73108 73108 0 0.0
.data 3260 3260 0 0.0
.rodata 83275 83275 0 0.0
.text 569888 569888 0 0.0
shell LP_CC2652R7 (read only) 637986 637986 0 0.0
(read/write) 154708 154708 0 0.0
.bss 77188 77188 0 0.0
.data 3404 3404 0 0.0
.rodata 80722 80722 0 0.0
.text 557032 557032 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 621510 621510 0 0.0
.app_xip_area 524788 524788 0 0.0
.bss 79364 79364 0 0.0
.data 704 704 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 630210 630210 0 0.0
.app_xip_area 534960 534960 0 0.0
.bss 77924 77924 0 0.0
.data 672 672 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 570614 570614 0 0.0
.app_xip_area 465684 465684 0 0.0
.bss 87284 87284 0 0.0
.data 612 612 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 913936 913936 0 0.0
(read/write) 133448 133448 0 0.0
.bss 131352 131352 0 0.0
.data 2092 2092 0 0.0
.text 913928 913928 0 0.0
BRD4161A+rpc (read only) 948108 948108 0 0.0
(read/write) 150136 150136 0 0.0
.bss 147840 147840 0 0.0
.data 2296 2296 0 0.0
.text 948100 948100 0 0.0
BRD4161A+rs911x (read only) 788508 788508 0 0.0
(read/write) 129712 129712 0 0.0
.bss 127612 127612 0 0.0
.data 2100 2100 0 0.0
.text 788500 788500 0 0.0
lock-app BRD4161A+wf200 (read only) 953864 953864 0 0.0
(read/write) 128484 128484 0 0.0
.bss 126420 126420 0 0.0
.data 2064 2064 0 0.0
.text 953856 953856 0 0.0
window-app BRD4161A (read only) 898880 898880 0 0.0
(read/write) 133504 133504 0 0.0
.bss 131416 131416 0 0.0
.data 2088 2088 0 0.0
.text 898872 898872 0 0.0
esp32 all-clusters-app c3devkit (read only) 1002224 1002224 0 0.0
(read/write) 1479314 1479314 0 0.0
.dram0.bss 69400 69400 0 0.0
.dram0.data 14640 14640 0 0.0
.flash.rodata 209840 209840 0 0.0
.flash.text 1002224 1002224 0 0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1057135 1057135 0 0.0
(read/write) 481288 481288 0 0.0
.dram0.bss 74912 74912 0 0.0
.dram0.data 34208 34208 0 0.0
.flash.rodata 240172 240172 0 0.0
.flash.text 1051751 1051751 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 680744 680744 0 0.0
.bss 80424 80424 0 0.0
.data 2008 2008 0 0.0
.text 596608 596608 0 0.0
lock k32w061+release (read/write) 732084 732084 0 0.0
.bss 80856 80856 0 0.0
.data 1976 1976 0 0.0
.text 647548 647548 0 0.0
linux all-clusters-app debug (read only) 2751177 2751177 0 0.0
(read/write) 178240 178240 0 0.0
.bss 86496 86496 0 0.0
.data 2032 2032 0 0.0
.data.rel.ro 83560 83560 0 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 242013 242013 0 0.0
.text 2335570 2335570 0 0.0
bridge-app debug+rpc (read only) 2023745 2023745 0 0.0
(read/write) 147896 147896 0 0.0
.bss 73120 73120 0 0.0
.data 3936 3936 0 0.0
.data.rel.ro 65272 65272 0 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 168096 168096 0 0.0
.text 1699490 1699490 0 0.0
chip-tool debug (read only) 9633029 9633029 0 0.0
(read/write) 596016 596016 0 0.0
.bss 23936 23936 0 0.0
.data 1120 1120 0 0.0
.data.rel.ro 564656 564656 0 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 494141 494141 0 0.0
.text 7761269 7761269 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9376100 9376100 0 0.0
(read/write) 662145 662145 0 0.0
.bss 42225 42225 0 0.0
.data 1176 1176 0 0.0
.data.rel.ro 599960 599960 0 0.0
.dynamic 560 560 0 0.0
.got 14936 14936 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 457932 457932 0 0.0
.text 7405588 7405588 0 0.0
lighting-app debug+rpc (read only) 2314097 2314097 0 0.0
(read/write) 153536 153536 0 0.0
.bss 74944 74944 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 70776 70776 0 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 186760 186760 0 0.0
.text 1961970 1961970 0 0.0
lock-app debug (read only) 2253241 2253241 0 0.0
(read/write) 148600 148600 0 0.0
.bss 73632 73632 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 67704 67704 0 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 200168 200168 0 0.0
.text 1893138 1893138 0 0.0
ota-provider-app debug (read only) 2066369 2066369 0 0.0
(read/write) 141360 141360 0 0.0
.bss 73024 73024 0 0.0
.data 1768 1768 0 0.0
.data.rel.ro 60776 60776 0 0.0
.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 179768 179768 0 0.0
.text 1728034 1728034 0 0.0
ota-requestor-app debug (read only) 2095585 2095585 0 0.0
(read/write) 144200 144200 0 0.0
.bss 73728 73728 0 0.0
.data 1960 1960 0 0.0
.data.rel.ro 62872 62872 0 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 175776 175776 0 0.0
.text 1759778 1759778 0 0.0
shell debug (read only) 2555537 2555537 0 0.0
(read/write) 201744 201744 0 0.0
.bss 117416 117416 0 0.0
.data 1376 1376 0 0.0
.data.rel.ro 77208 77208 0 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 222194 222194 0 0.0
.text 2174258 2174258 0 0.0
thermostat-no-ble arm64 (read only) 2359708 2359708 0 0.0
(read/write) 177377 177377 0 0.0
.bss 88177 88177 0 0.0
.data 1520 1520 0 0.0
.data.rel.ro 79872 79872 0 0.0
.dynamic 560 560 0 0.0
.got 4768 4768 0 0.0
.init 24 24 0 0.0
.init_array 376 376 0 0.0
.rodata 147404 147404 0 0.0
.text 1983344 1983344 0 0.0
tv-app debug (read only) 2875017 2875017 0 0.0
(read/write) 280368 280368 0 0.0
.bss 191304 191304 0 0.0
.data 4672 4672 0 0.0
.data.rel.ro 78120 78120 0 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 221728 221728 0 0.0
.text 2470802 2470802 0 0.0
tv-casting-app debug (read only) 5432729 5432729 0 0.0
(read/write) 226256 226256 0 0.0
.bss 78888 78888 0 0.0
.data 2400 2400 0 0.0
.data.rel.ro 138736 138736 0 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 339264 339264 0 0.0
.text 4734114 4734114 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2423816 2423816 0 0.0
.bss 202868 202868 0 0.0
.data 5872 5872 0 0.0
.text 1386460 1386460 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1181375 1181375 0 0.0
bss 139532 139532 0 0.0
rodata 152656 152656 0 0.0
text 810288 810288 0 0.0
p6 all-clusters-app default (read/write) 2536592 2536592 0 0.0
.bss 137352 137352 0 0.0
.data 2800 2800 0 0.0
.text 1494856 1494856 0 0.0
light-app default (read/write) 2419880 2419880 0 0.0
.bss 129688 129688 0 0.0
.data 2600 2600 0 0.0
.text 1378144 1378144 0 0.0
lock-app default (read/write) 2437912 2437912 0 0.0
.bss 129496 129496 0 0.0
.data 2568 2568 0 0.0
.text 1396176 1396176 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 779400 779400 0 0.0
bss 70824 70824 0 0.0
noinit 40416 40416 0 0.0
text 551116 551116 0 0.0
lighting-app tlsr9518adk80d (read/write) 799424 799424 0 0.0
bss 71076 71076 0 0.0
noinit 40416 40416 0 0.0
text 567850 567850 0 0.0

When not using the auto-commissioning flow, the mDeviceBeingCommissioned
proxy is no longer assigned, so the default behavior of retrieving the
attestation challenge fails.

Since at the time of use we already have a reference to the correct
DeviceProxy, added an overload to pass the proxy along to retrieve the
challenge.
@g-coppock g-coppock force-pushed the pr/coppock/fix_attestation_challenge_target branch from cdca933 to 5705d4d Compare May 27, 2022 19:54
@boring-cyborg boring-cyborg bot added the app label May 27, 2022
@github-actions
Copy link

github-actions bot commented May 27, 2022

PR #18867: Size comparison from d2a6470 to 5705d4d

Increases (37 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section d2a6470 5705d4d change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 645135 645251 116 0.0
.rodata 83783 83795 12 0.0
.text 561116 561220 104 0.0
lock-ftd LP_CC2652R7 (read only) 679435 679535 100 0.0
.rodata 96075 96087 12 0.0
.text 582876 582964 88 0.0
lock-mtd LP_CC2652R7 (read only) 628843 628951 108 0.0
.rodata 95955 95967 12 0.0
.text 532396 532492 96 0.0
pump-app LP_CC2652R7 (read only) 675863 675971 108 0.0
.rodata 88551 88563 12 0.0
.text 586828 586924 96 0.0
pump-controller-app LP_CC2652R7 (read only) 653791 653899 108 0.0
.rodata 83295 83307 12 0.0
.text 570016 570112 96 0.0
shell LP_CC2652R7 (read only) 638142 638242 100 0.0
.rodata 80758 80770 12 0.0
.text 557152 557240 88 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 621662 621762 100 0.0
.app_xip_area 524928 525028 100 0.0
lock cyw930739m2evb_01 (read/write) 630370 630478 108 0.0
.app_xip_area 535108 535216 108 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 570758 570874 116 0.0
.app_xip_area 465816 465932 116 0.0
efr32 lighting-app BRD4161A (read only) 914152 914308 156 0.0
.text 914144 914300 156 0.0
BRD4161A+rpc (read only) 948324 948480 156 0.0
.text 948316 948472 156 0.0
BRD4161A+rs911x (read only) 788724 788880 156 0.0
(read/write) 129736 129740 4 0.0
.text 788716 788872 156 0.0
lock-app BRD4161A+wf200 (read only) 954012 954128 116 0.0
.text 954004 954120 116 0.0
window-app BRD4161A (read only) 899096 899252 156 0.0
.text 899088 899244 156 0.0
esp32 all-clusters-app c3devkit (read only) 1002366 1002472 106 0.0
(read/write) 1479362 1479370 8 0.0
.flash.rodata 209872 209880 8 0.0
.flash.text 1002366 1002472 106 0.0
m5stack (read only) 1057635 1057743 108 0.0
(read/write) 481616 481624 8 0.0
.flash.rodata 240468 240476 8 0.0
.flash.text 1052251 1052359 108 0.0
k32w light k32w061+release (read/write) 680892 680992 100 0.0
.text 596740 596840 100 0.0
lock k32w061+release (read/write) 732232 732332 100 0.0
.text 647680 647780 100 0.0
linux all-clusters-app debug (read only) 2751465 2751801 336 0.0
.data.rel.ro 83608 83624 16 0.0
.text 2335666 2335954 288 0.0
bridge-app debug+rpc (read only) 2024001 2024337 336 0.0
.data.rel.ro 65320 65336 16 0.0
.text 1699586 1699874 288 0.0
chip-tool debug (read only) 9680229 9680589 360 0.0
(read/write) 602512 602544 32 0.0
.data.rel.ro 571136 571160 24 0.0
.text 7790373 7790661 288 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9423772 9424092 320 0.0
(read/write) 668833 668849 16 0.0
.data.rel.ro 606528 606552 24 0.0
.text 7434724 7434980 256 0.0
lighting-app debug+rpc (read only) 2314385 2314705 320 0.0
.text 1962066 1962338 272 0.0
lock-app debug (read only) 2253497 2253817 320 0.0
.text 1893234 1893506 272 0.0
ota-provider-app debug (read only) 2066657 2066993 336 0.0
.data.rel.ro 60824 60840 16 0.0
.text 1728130 1728418 288 0.0
ota-requestor-app debug (read only) 2095873 2096209 336 0.0
.data.rel.ro 62920 62936 16 0.0
.text 1759874 1760162 288 0.0
shell debug (read only) 2555825 2556161 336 0.0
.data.rel.ro 77256 77272 16 0.0
.text 2174354 2174642 288 0.0
thermostat-no-ble arm64 (read only) 2359836 2360140 304 0.0
(read/write) 177585 177601 16 0.0
.data.rel.ro 80008 80024 16 0.0
.text 1982960 1983216 256 0.0
tv-app debug (read only) 2875169 2875529 360 0.0
(read/write) 280464 280496 32 0.0
.data.rel.ro 78152 78176 24 0.0
.text 2470866 2471154 288 0.0
tv-casting-app debug (read only) 5426113 5426449 336 0.0
.data.rel.ro 138576 138584 8 0.0
.text 4728082 4728370 288 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2423968 2424104 136 0.0
.text 1386612 1386748 136 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183439 1183543 104 0.0
rodata 153112 153120 8 0.0
text 811892 811988 96 0.0
p6 all-clusters-app default (read/write) 2536808 2536960 152 0.0
.text 1495072 1495224 152 0.0
light-app default (read/write) 2420080 2420224 144 0.0
.text 1378344 1378488 144 0.0
lock-app default (read/write) 2438112 2438264 152 0.0
.text 1396376 1396528 152 0.0
telink light-switch-app tlsr9518adk80d (read/write) 779588 779700 112 0.0
text 551262 551368 106 0.0
lighting-app tlsr9518adk80d (read/write) 799612 799732 120 0.0
text 567996 568102 106 0.0
Decreases (4 builds for cc13x2_26x2, efr32)
platform target config section d2a6470 5705d4d change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 163660 163560 -100 -0.1
pump-app LP_CC2652R7 (read/write) 168400 168292 -108 -0.1
pump-controller-app LP_CC2652R7 (read/write) 190328 190220 -108 -0.1
efr32 lighting-app BRD4161A (read/write) 133464 133460 -4 -0.0
Full report (37 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section d2a6470 5705d4d change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 645135 645251 116 0.0
(read/write) 159168 159168 0 0.0
.bss 74852 74852 0 0.0
.data 3400 3400 0 0.0
.rodata 83783 83795 12 0.0
.text 561116 561220 104 0.0
lock-ftd LP_CC2652R7 (read only) 679435 679535 100 0.0
(read/write) 163660 163560 -100 -0.1
.bss 72876 72876 0 0.0
.data 3264 3264 0 0.0
.rodata 96075 96087 12 0.0
.text 582876 582964 88 0.0
lock-mtd LP_CC2652R7 (read only) 628843 628951 108 0.0
(read/write) 145992 145992 0 0.0
.bss 68612 68612 0 0.0
.data 3264 3264 0 0.0
.rodata 95955 95967 12 0.0
.text 532396 532492 96 0.0
pump-app LP_CC2652R7 (read only) 675863 675971 108 0.0
(read/write) 168400 168292 -108 -0.1
.bss 73276 73276 0 0.0
.data 3300 3300 0 0.0
.rodata 88551 88563 12 0.0
.text 586828 586924 96 0.0
pump-controller-app LP_CC2652R7 (read only) 653791 653899 108 0.0
(read/write) 190328 190220 -108 -0.1
.bss 73132 73132 0 0.0
.data 3260 3260 0 0.0
.rodata 83295 83307 12 0.0
.text 570016 570112 96 0.0
shell LP_CC2652R7 (read only) 638142 638242 100 0.0
(read/write) 154724 154724 0 0.0
.bss 77204 77204 0 0.0
.data 3404 3404 0 0.0
.rodata 80758 80770 12 0.0
.text 557152 557240 88 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 621662 621762 100 0.0
.app_xip_area 524928 525028 100 0.0
.bss 79376 79376 0 0.0
.data 704 704 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 630370 630478 108 0.0
.app_xip_area 535108 535216 108 0.0
.bss 77936 77936 0 0.0
.data 672 672 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 570758 570874 116 0.0
.app_xip_area 465816 465932 116 0.0
.bss 87296 87296 0 0.0
.data 612 612 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 914152 914308 156 0.0
(read/write) 133464 133460 -4 -0.0
.bss 131368 131368 0 0.0
.data 2092 2092 0 0.0
.text 914144 914300 156 0.0
BRD4161A+rpc (read only) 948324 948480 156 0.0
(read/write) 150152 150152 0 0.0
.bss 147856 147856 0 0.0
.data 2296 2296 0 0.0
.text 948316 948472 156 0.0
BRD4161A+rs911x (read only) 788724 788880 156 0.0
(read/write) 129736 129740 4 0.0
.bss 127636 127636 0 0.0
.data 2100 2100 0 0.0
.text 788716 788872 156 0.0
lock-app BRD4161A+wf200 (read only) 954012 954128 116 0.0
(read/write) 128508 128508 0 0.0
.bss 126444 126444 0 0.0
.data 2064 2064 0 0.0
.text 954004 954120 116 0.0
window-app BRD4161A (read only) 899096 899252 156 0.0
(read/write) 133520 133520 0 0.0
.bss 131432 131432 0 0.0
.data 2088 2088 0 0.0
.text 899088 899244 156 0.0
esp32 all-clusters-app c3devkit (read only) 1002366 1002472 106 0.0
(read/write) 1479362 1479370 8 0.0
.dram0.bss 69416 69416 0 0.0
.dram0.data 14640 14640 0 0.0
.flash.rodata 209872 209880 8 0.0
.flash.text 1002366 1002472 106 0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1057635 1057743 108 0.0
(read/write) 481616 481624 8 0.0
.dram0.bss 74944 74944 0 0.0
.dram0.data 34208 34208 0 0.0
.flash.rodata 240468 240476 8 0.0
.flash.text 1052251 1052359 108 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 680892 680992 100 0.0
.bss 80440 80440 0 0.0
.data 2008 2008 0 0.0
.text 596740 596840 100 0.0
lock k32w061+release (read/write) 732232 732332 100 0.0
.bss 80872 80872 0 0.0
.data 1976 1976 0 0.0
.text 647680 647780 100 0.0
linux all-clusters-app debug (read only) 2751465 2751801 336 0.0
(read/write) 178336 178336 0 0.0
.bss 86528 86528 0 0.0
.data 2032 2032 0 0.0
.data.rel.ro 83608 83624 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 242205 242205 0 0.0
.text 2335666 2335954 288 0.0
bridge-app debug+rpc (read only) 2024001 2024337 336 0.0
(read/write) 148024 148024 0 0.0
.bss 73184 73184 0 0.0
.data 3936 3936 0 0.0
.data.rel.ro 65320 65336 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 168256 168256 0 0.0
.text 1699586 1699874 288 0.0
chip-tool debug (read only) 9680229 9680589 360 0.0
(read/write) 602512 602544 32 0.0
.bss 23968 23968 0 0.0
.data 1120 1120 0 0.0
.data.rel.ro 571136 571160 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 497213 497213 0 0.0
.text 7790373 7790661 288 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9423772 9424092 320 0.0
(read/write) 668833 668849 16 0.0
.bss 42257 42257 0 0.0
.data 1176 1176 0 0.0
.data.rel.ro 606528 606552 24 0.0
.dynamic 560 560 0 0.0
.got 15024 15024 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 460916 460916 0 0.0
.text 7434724 7434980 256 0.0
lighting-app debug+rpc (read only) 2314385 2314705 320 0.0
(read/write) 153632 153632 0 0.0
.bss 75008 75008 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 70824 70824 0 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 186952 186952 0 0.0
.text 1962066 1962338 272 0.0
lock-app debug (read only) 2253497 2253817 320 0.0
(read/write) 148728 148728 0 0.0
.bss 73696 73696 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 67752 67752 0 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 200328 200328 0 0.0
.text 1893234 1893506 272 0.0
ota-provider-app debug (read only) 2066657 2066993 336 0.0
(read/write) 141456 141456 0 0.0
.bss 73056 73056 0 0.0
.data 1768 1768 0 0.0
.data.rel.ro 60824 60840 16 0.0
.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 179960 179960 0 0.0
.text 1728130 1728418 288 0.0
ota-requestor-app debug (read only) 2095873 2096209 336 0.0
(read/write) 144296 144296 0 0.0
.bss 73760 73760 0 0.0
.data 1960 1960 0 0.0
.data.rel.ro 62920 62936 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 175968 175968 0 0.0
.text 1759874 1760162 288 0.0
shell debug (read only) 2555825 2556161 336 0.0
(read/write) 201840 201840 0 0.0
.bss 117448 117448 0 0.0
.data 1376 1376 0 0.0
.data.rel.ro 77256 77272 16 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 222386 222386 0 0.0
.text 2174354 2174642 288 0.0
thermostat-no-ble arm64 (read only) 2359836 2360140 304 0.0
(read/write) 177585 177601 16 0.0
.bss 88209 88209 0 0.0
.data 1520 1520 0 0.0
.data.rel.ro 80008 80024 16 0.0
.dynamic 560 560 0 0.0
.got 4808 4808 0 0.0
.init 24 24 0 0.0
.init_array 376 376 0 0.0
.rodata 147532 147532 0 0.0
.text 1982960 1983216 256 0.0
tv-app debug (read only) 2875169 2875529 360 0.0
(read/write) 280464 280496 32 0.0
.bss 191368 191368 0 0.0
.data 4672 4672 0 0.0
.data.rel.ro 78152 78176 24 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 221888 221888 0 0.0
.text 2470866 2471154 288 0.0
tv-casting-app debug (read only) 5426113 5426449 336 0.0
(read/write) 226160 226160 0 0.0
.bss 78952 78952 0 0.0
.data 2400 2400 0 0.0
.data.rel.ro 138576 138584 8 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 339136 339136 0 0.0
.text 4728082 4728370 288 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2423968 2424104 136 0.0
.bss 202892 202892 0 0.0
.data 5872 5872 0 0.0
.text 1386612 1386748 136 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183439 1183543 104 0.0
bss 139552 139552 0 0.0
rodata 153112 153120 8 0.0
text 811892 811988 96 0.0
p6 all-clusters-app default (read/write) 2536808 2536960 152 0.0
.bss 137376 137376 0 0.0
.data 2800 2800 0 0.0
.text 1495072 1495224 152 0.0
light-app default (read/write) 2420080 2420224 144 0.0
.bss 129712 129712 0 0.0
.data 2600 2600 0 0.0
.text 1378344 1378488 144 0.0
lock-app default (read/write) 2438112 2438264 152 0.0
.bss 129520 129520 0 0.0
.data 2568 2568 0 0.0
.text 1396376 1396528 152 0.0
telink light-switch-app tlsr9518adk80d (read/write) 779588 779700 112 0.0
bss 70840 70840 0 0.0
noinit 40416 40416 0 0.0
text 551262 551368 106 0.0
lighting-app tlsr9518adk80d (read/write) 799612 799732 120 0.0
bss 71100 71100 0 0.0
noinit 40416 40416 0 0.0
text 567996 568102 106 0.0

*/
virtual CHIP_ERROR GetAttestationChallenge(ByteSpan & attestationChallenge)
{
Optional<SessionHandle> secureSessionHandle;
Copy link
Contributor

Choose a reason for hiding this comment

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

Might be better to put the implementation in the .cpp...

Copy link
Contributor

Choose a reason for hiding this comment

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

Seems no updates in a while on this PR. Assuming this can be done as a followup.

Copy link
Contributor

Choose a reason for hiding this comment

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

@andy31415 Is there an issue tracking tahg followup assigned to this PR's author?

I am fine with followups, but I want them to actually happen, and except for a few people our track record at them is very poor.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Followup is here: #19058

@bzbarsky-apple bzbarsky-apple linked an issue May 28, 2022 that may be closed by this pull request
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.

GetAttestationChallenge is a public API and doesn't make sense
3 participants