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

[ICD] Implement storing of persistent keys in PSA for ICD server #34925

Merged
merged 8 commits into from
Sep 16, 2024

Conversation

maciejbaczmanski
Copy link
Contributor

Description

Previously keys for ICD server were store as volatile keys in PSA, causing failures in Check-In Protocol after device reboot. This PR implements storing of persistent keys in PSA for ICD server.

  • Refactor Key Attibutes classes, Implement keyAttributesBase and add persistent lifetime functionality.
  • Implement FindFreeKeySlotInRange for PSA key slots
  • Fix ICD CIP related build dependencies
  • Remake ICDMonitoringTable::Find() not to overwrite all entry fields - If entry is not found its key handle field must not be filled with last checked entry when using PSA as it will cause key slot to be cleared by accident.
  • Implement setting key persitence for ICD server

Testing
Tested on nRF52840 DK with PSA Crypto API enabled

Copy link

Review changes with SemanticDiff.

@github-actions github-actions bot added crypto app test driver icd Intermittently Connected Devices labels Aug 12, 2024
Copy link

github-actions bot commented Aug 12, 2024

PR #34925: Size comparison from 3b90fed to 0c8a91e

Full report (5 builds for cc32xx, stm32, tizen)
platform target config section 3b90fed 0c8a91e change % change
cc32xx air-purifier CC3235SF_LAUNCHXL FLASH 613106 613102 -4 -0.0
RAM 205404 205396 -8 -0.0
lock CC3235SF_LAUNCHXL FLASH 655074 655074 0 0.0
RAM 205620 205612 -8 -0.0
stm32 light STM32WB5MM-DK FLASH 478304 478304 0 0.0
RAM 144764 144764 0 0.0
tizen all-clusters-app arm unknown 4796 4796 0 0.0
FLASH 1697032 1697036 4 0.0
RAM 89292 89284 -8 -0.0
chip-tool-ubsan arm unknown 10236 10236 0 0.0
FLASH 17307046 17307046 0 0.0
RAM 7560508 7560508 0 0.0

Copy link

github-actions bot commented Sep 3, 2024

PR #34925: Size comparison from c552dda to 1616225

Full report (88 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section c552dda 1616225 change % change
bl602 lighting-app bl602 FLASH 1279092 1279116 24 0.0
RAM 95880 95872 -8 -0.0
bl602+mfd FLASH 1293202 1293226 24 0.0
RAM 96024 96024 0 0.0
bl602+rpc FLASH 1318056 1318080 24 0.0
RAM 104304 104296 -8 -0.0
bl702 lighting-app bl702 FLASH 944678 944694 16 0.0
RAM 15209 15201 -8 -0.1
bl702+mfd FLASH 947078 947094 16 0.0
RAM 15353 15353 0 0.0
bl702+rpc FLASH 1039734 1039750 16 0.0
RAM 24221 24221 0 0.0
bl706-eth FLASH 647494 647510 16 0.0
RAM 25305 25297 -8 -0.0
bl706-wifi FLASH 894908 894944 36 0.0
RAM 14525 14525 0 0.0
bl702l lighting-app bl702l FLASH 961082 961098 16 0.0
RAM 16868 16860 -8 -0.0
bl702l+mfd FLASH 963704 963720 16 0.0
RAM 17012 17012 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 676809 676825 16 0.0
RAM 78300 78292 -8 -0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 696669 696685 16 0.0
RAM 80932 80932 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 696669 696685 16 0.0
RAM 80932 80932 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 653597 653613 16 0.0
RAM 73368 73360 -8 -0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 611193 611209 16 0.0
RAM 71292 71292 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 630821 630837 16 0.0
RAM 73844 73836 -8 -0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 630821 630837 16 0.0
RAM 73844 73836 -8 -0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 629233 629249 16 0.0
RAM 74308 74308 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 648941 648957 16 0.0
RAM 76860 76852 -8 -0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 648941 648957 16 0.0
RAM 76860 76852 -8 -0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 603501 603517 16 0.0
RAM 68348 68340 -8 -0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 623361 623377 16 0.0
RAM 70980 70980 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 623361 623377 16 0.0
RAM 70980 70980 0 0.0
efr32 lighting-app BRD4187C FLASH 934916 934916 0 0.0
RAM 135096 135092 -4 -0.0
lock-app BRD4338a FLASH 740980 740988 8 0.0
RAM 209516 209516 0 0.0
window-app BRD4187C FLASH 1015936 1015944 8 0.0
RAM 127036 127032 -4 -0.0
esp32 all-clusters-app c3devkit DRAM 94200 94192 -8 -0.0
FLASH 1539894 1539910 16 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115136 115136 0 0.0
FLASH 1550502 1550534 32 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4624 4624 0 0.0
FLASH 2763665 2763851 186 0.0
RAM 128536 128568 32 0.0
all-clusters-app debug unknown 5408 5408 0 0.0
FLASH 6076348 6076532 184 0.0
RAM 510408 510440 32 0.0
all-clusters-minimal-app debug unknown 5304 5304 0 0.0
FLASH 5401164 5401348 184 0.0
RAM 240248 240280 32 0.0
bridge-app debug unknown 5288 5288 0 0.0
FLASH 4732250 4732434 184 0.0
RAM 217368 217400 32 0.0
chip-tool debug unknown 5832 5832 0 0.0
FLASH 12650916 12651102 186 0.0
RAM 558354 558386 32 0.0
chip-tool-ipv6only arm64 unknown 20352 20352 0 0.0
FLASH 11322796 11322956 160 0.0
RAM 608424 608440 16 0.0
fabric-admin debug unknown 5664 5664 0 0.0
FLASH 10949697 10949883 186 0.0
RAM 557066 557082 16 0.0
fabric-bridge-app debug unknown 4520 4520 0 0.0
FLASH 4555270 4555456 186 0.0
RAM 204016 204048 32 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5682561 5682737 176 0.0
RAM 228056 228088 32 0.0
lock-app debug unknown 5224 5224 0 0.0
FLASH 4787074 4787260 186 0.0
RAM 203768 203800 32 0.0
ota-provider-app debug unknown 4600 4600 0 0.0
FLASH 4426612 4426796 184 0.0
RAM 197752 197784 32 0.0
ota-requestor-app debug unknown 4536 4536 0 0.0
FLASH 4565198 4565384 186 0.0
RAM 202288 202320 32 0.0
shell debug unknown 4176 4176 0 0.0
FLASH 3103469 3103661 192 0.0
RAM 159040 159072 32 0.0
thermostat-no-ble arm64 unknown 9296 9296 0 0.0
FLASH 4325900 4326060 160 0.0
RAM 241896 241904 8 0.0
tv-app debug unknown 5504 5504 0 0.0
FLASH 6011589 6011781 192 0.0
RAM 583192 583192 0 0.0
tv-casting-app debug unknown 5168 5168 0 0.0
FLASH 10854957 10855037 80 0.0
RAM 645768 645800 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 915096 914796 -300 -0.0
RAM 142219 142127 -92 -0.1
nrf7002dk_nrf5340_cpuapp FLASH 886400 886108 -292 -0.0
RAM 140358 140270 -88 -0.1
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 846364 846068 -296 -0.0
RAM 141038 140946 -92 -0.1
light-switch-app nrf52840dk_nrf52840 FLASH 791544 791552 8 0.0
RAM 132217 132217 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 936012 936000 -12 -0.0
RAM 130782 130778 -4 -0.0
lighting-app nrf52840dk_nrf52840+rpc FLASH 884132 883832 -300 -0.0
RAM 146612 146520 -92 -0.1
nrf52840dongle_nrf52840 FLASH 825228 824932 -296 -0.0
RAM 154474 154382 -92 -0.1
nrf5340dk_nrf5340_cpuapp FLASH 781516 781220 -296 -0.0
RAM 145622 145530 -92 -0.1
nrf7002dk_nrf5340_cpuapp FLASH 936012 936000 -12 -0.0
RAM 130782 130778 -4 -0.0
lock-app nrf52840dk_nrf52840 FLASH 805584 805592 8 0.0
RAM 132744 132744 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 731152 731160 8 0.0
RAM 132874 132874 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 950964 950952 -12 -0.0
RAM 131309 131305 -4 -0.0
pump-app nrf52840dk_nrf52840 FLASH 756964 756664 -300 -0.0
RAM 131465 131373 -92 -0.1
pump-controller-app nrf52840dk_nrf52840 FLASH 742400 742100 -300 -0.0
RAM 131224 131132 -92 -0.1
nxp contact k32w0+release FLASH 577796 577804 8 0.0
RAM 70444 70436 -8 -0.0
k32w1+release FLASH 590416 590432 16 0.0
RAM 62488 62488 0 0.0
light k32w0+release FLASH 613224 613232 8 0.0
RAM 69916 69908 -8 -0.0
k32w1+release FLASH 675104 675120 16 0.0
RAM 71472 71472 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1647340 1647356 16 0.0
RAM 210920 210920 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1551156 1551188 32 0.0
RAM 207632 207632 0 0.0
light cy8ckit_062s2_43012 FLASH 1469948 1469964 16 0.0
RAM 200728 200720 -8 -0.0
lock cy8ckit_062s2_43012 FLASH 1463636 1463652 16 0.0
RAM 225064 225056 -8 -0.0
qpg lighting-app qpg6105+debug FLASH 656348 656364 16 0.0
RAM 105128 105128 0 0.0
lock-app qpg6105+debug FLASH 614208 614224 16 0.0
RAM 99612 99604 -8 -0.0
stm32 light STM32WB5MM-DK FLASH 482744 482760 16 0.0
RAM 144716 144716 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620504 620512 8 0.0
RAM 50932 50932 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 687022 686668 -354 -0.1
RAM 149552 149464 -88 -0.1
all-clusters-minimal-app tlsr9528a FLASH 779332 778978 -354 -0.0
RAM 110712 110624 -88 -0.1
bridge-app tlsr9258a FLASH 679234 678880 -354 -0.1
RAM 91588 91492 -96 -0.1
contact-sensor-app tlsr9528a_retention FLASH 622096 622104 8 0.0
RAM 50972 50972 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 708106 708114 8 0.0
RAM 74312 74312 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 625166 624812 -354 -0.1
RAM 145532 145444 -88 -0.1
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 811298 810944 -354 -0.0
RAM 99456 99368 -88 -0.1
lock-app-dfu tlsr9528a FLASH 655078 655086 8 0.0
RAM 67008 67008 0 0.0
ota-requestor-app tlsr9258a FLASH 697362 697008 -354 -0.1
RAM 91272 91176 -96 -0.1
pump-app-usb tlsr9518adk80d FLASH 631542 631550 8 0.0
RAM 55752 55752 0 0.0
pump-controller-app tlsr9518adk80d FLASH 609052 609060 8 0.0
RAM 52996 52996 0 0.0
shell tlsr9518adk80d FLASH 466890 466890 0 0.0
RAM 68660 68660 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 628882 629076 194 0.0
RAM 52692 52692 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 653034 653042 8 0.0
RAM 56632 56632 0 0.0
thermostat tlsr9518adk80d FLASH 635784 635792 8 0.0
RAM 53400 53400 0 0.0
window-covering tlsr9118bdk40d FLASH 523038 523016 -22 -0.0
RAM 98532 98532 0 0.0
tizen all-clusters-app arm unknown 4848 4848 0 0.0
FLASH 1723564 1723632 68 0.0
RAM 89380 89388 8 0.0
chip-tool-ubsan arm unknown 10272 10272 0 0.0
FLASH 17511094 17511158 64 0.0
RAM 7601308 7601324 16 0.0

@maciejbaczmanski maciejbaczmanski force-pushed the matter_icd_psa branch 2 times, most recently from e3687d9 to 85eae56 Compare September 4, 2024 07:34
Copy link

github-actions bot commented Sep 4, 2024

PR #34925: Size comparison from 30cff8e to 85eae56

Full report (88 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 30cff8e 85eae56 change % change
bl602 lighting-app bl602 FLASH 1279604 1279628 24 0.0
RAM 95904 95896 -8 -0.0
bl602+mfd FLASH 1293458 1293482 24 0.0
RAM 96048 96048 0 0.0
bl602+rpc FLASH 1318568 1318592 24 0.0
RAM 104328 104320 -8 -0.0
bl702 lighting-app bl702 FLASH 945190 945206 16 0.0
RAM 15209 15201 -8 -0.1
bl702+mfd FLASH 947334 947350 16 0.0
RAM 15353 15353 0 0.0
bl702+rpc FLASH 1040246 1040262 16 0.0
RAM 24221 24221 0 0.0
bl706-eth FLASH 648006 648022 16 0.0
RAM 25305 25297 -8 -0.0
bl706-wifi FLASH 895420 895456 36 0.0
RAM 14525 14525 0 0.0
bl702l lighting-app bl702l FLASH 961594 961610 16 0.0
RAM 16868 16860 -8 -0.0
bl702l+mfd FLASH 964216 964232 16 0.0
RAM 17012 17012 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 677257 677273 16 0.0
RAM 78324 78316 -8 -0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 697117 697133 16 0.0
RAM 80956 80956 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 697117 697133 16 0.0
RAM 80956 80956 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 654045 654061 16 0.0
RAM 73392 73384 -8 -0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 611193 611209 16 0.0
RAM 71292 71292 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 630821 630837 16 0.0
RAM 73844 73836 -8 -0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 630821 630837 16 0.0
RAM 73844 73836 -8 -0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 629233 629249 16 0.0
RAM 74308 74308 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 648941 648957 16 0.0
RAM 76860 76852 -8 -0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 648941 648957 16 0.0
RAM 76860 76852 -8 -0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 603501 603517 16 0.0
RAM 68348 68340 -8 -0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 623361 623377 16 0.0
RAM 70980 70980 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 623361 623377 16 0.0
RAM 70980 70980 0 0.0
efr32 lighting-app BRD4187C FLASH 935316 935324 8 0.0
RAM 135120 135116 -4 -0.0
lock-app BRD4338a FLASH 740764 740796 32 0.0
RAM 197184 197184 0 0.0
window-app BRD4187C FLASH 1017456 1017464 8 0.0
RAM 127060 127056 -4 -0.0
esp32 all-clusters-app c3devkit DRAM 94224 94216 -8 -0.0
FLASH 1540250 1540266 16 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115160 115160 0 0.0
FLASH 1550698 1550714 16 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4624 4624 0 0.0
FLASH 2763665 2763851 186 0.0
RAM 128536 128568 32 0.0
all-clusters-app debug unknown 5408 5408 0 0.0
FLASH 6078532 6078716 184 0.0
RAM 510536 510568 32 0.0
all-clusters-minimal-app debug unknown 5304 5304 0 0.0
FLASH 5402956 5403140 184 0.0
RAM 240376 240408 32 0.0
bridge-app debug unknown 5288 5288 0 0.0
FLASH 4732472 4732656 184 0.0
RAM 217368 217400 32 0.0
chip-tool debug unknown 5832 5832 0 0.0
FLASH 12651036 12651222 186 0.0
RAM 558354 558386 32 0.0
chip-tool-ipv6only arm64 unknown 20352 20352 0 0.0
FLASH 11322892 11323052 160 0.0
RAM 608424 608440 16 0.0
fabric-admin debug unknown 5664 5664 0 0.0
FLASH 10957287 10957473 186 0.0
RAM 557354 557402 48 0.0
fabric-bridge-app debug unknown 4520 4520 0 0.0
FLASH 4555270 4555456 186 0.0
RAM 204016 204048 32 0.0
lighting-app debug+rpc+ui unknown 5936 5936 0 0.0
FLASH 5684369 5684561 192 0.0
RAM 228184 228216 32 0.0
lock-app debug unknown 5224 5224 0 0.0
FLASH 4787074 4787260 186 0.0
RAM 203768 203800 32 0.0
ota-provider-app debug unknown 4600 4600 0 0.0
FLASH 4426612 4426796 184 0.0
RAM 197752 197784 32 0.0
ota-requestor-app debug unknown 4536 4536 0 0.0
FLASH 4565198 4565384 186 0.0
RAM 202288 202320 32 0.0
shell debug unknown 4176 4176 0 0.0
FLASH 3105277 3105469 192 0.0
RAM 159168 159200 32 0.0
thermostat-no-ble arm64 unknown 9296 9296 0 0.0
FLASH 4325900 4326060 160 0.0
RAM 241896 241904 8 0.0
tv-app debug unknown 5504 5504 0 0.0
FLASH 6011813 6012005 192 0.0
RAM 583192 583192 0 0.0
tv-casting-app debug unknown 5168 5168 0 0.0
FLASH 10854957 10855037 80 0.0
RAM 645768 645800 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 915384 915088 -296 -0.0
RAM 142243 142151 -92 -0.1
nrf7002dk_nrf5340_cpuapp FLASH 886616 886328 -288 -0.0
RAM 140382 140294 -88 -0.1
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 846812 846512 -300 -0.0
RAM 141062 140970 -92 -0.1
light-switch-app nrf52840dk_nrf52840 FLASH 791544 791552 8 0.0
RAM 132217 132217 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 936012 936000 -12 -0.0
RAM 130782 130778 -4 -0.0
lighting-app nrf52840dk_nrf52840+rpc FLASH 884596 884300 -296 -0.0
RAM 146636 146544 -92 -0.1
nrf52840dongle_nrf52840 FLASH 825692 825400 -292 -0.0
RAM 154498 154406 -92 -0.1
nrf5340dk_nrf5340_cpuapp FLASH 781976 781676 -300 -0.0
RAM 145646 145554 -92 -0.1
nrf7002dk_nrf5340_cpuapp FLASH 936012 936000 -12 -0.0
RAM 130782 130778 -4 -0.0
lock-app nrf52840dk_nrf52840 FLASH 805584 805592 8 0.0
RAM 132744 132744 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 731152 731160 8 0.0
RAM 132874 132874 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 950964 950952 -12 -0.0
RAM 131309 131305 -4 -0.0
pump-app nrf52840dk_nrf52840 FLASH 757160 756860 -300 -0.0
RAM 131465 131373 -92 -0.1
pump-controller-app nrf52840dk_nrf52840 FLASH 742400 742100 -300 -0.0
RAM 131224 131132 -92 -0.1
nxp contact k32w0+release FLASH 577796 577804 8 0.0
RAM 70444 70436 -8 -0.0
k32w1+release FLASH 593248 593264 16 0.0
RAM 62712 62712 0 0.0
light k32w0+release FLASH 613416 613440 24 0.0
RAM 69908 69900 -8 -0.0
k32w1+release FLASH 676872 676888 16 0.0
RAM 47848 47848 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1647932 1647948 16 0.0
RAM 210944 210944 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1551604 1551636 32 0.0
RAM 207656 207656 0 0.0
light cy8ckit_062s2_43012 FLASH 1470396 1470412 16 0.0
RAM 200752 200744 -8 -0.0
lock cy8ckit_062s2_43012 FLASH 1463636 1463652 16 0.0
RAM 225064 225056 -8 -0.0
qpg lighting-app qpg6105+debug FLASH 656812 656828 16 0.0
RAM 105152 105152 0 0.0
lock-app qpg6105+debug FLASH 614208 614224 16 0.0
RAM 99612 99604 -8 -0.0
stm32 light STM32WB5MM-DK FLASH 483216 483232 16 0.0
RAM 144740 144740 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 620504 620512 8 0.0
RAM 50932 50932 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 687434 687080 -354 -0.1
RAM 149576 149488 -88 -0.1
all-clusters-minimal-app tlsr9528a FLASH 779874 779520 -354 -0.0
RAM 110736 110648 -88 -0.1
bridge-app tlsr9258a FLASH 679496 679142 -354 -0.1
RAM 91588 91492 -96 -0.1
contact-sensor-app tlsr9528a_retention FLASH 622096 622104 8 0.0
RAM 50972 50972 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 708106 708114 8 0.0
RAM 74312 74312 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 625734 625380 -354 -0.1
RAM 145556 145468 -88 -0.1
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 811866 811512 -354 -0.0
RAM 99480 99392 -88 -0.1
lock-app-dfu tlsr9528a FLASH 655078 655086 8 0.0
RAM 67008 67008 0 0.0
ota-requestor-app tlsr9258a FLASH 697362 697008 -354 -0.1
RAM 91272 91176 -96 -0.1
pump-app-usb tlsr9518adk80d FLASH 631804 631812 8 0.0
RAM 55752 55752 0 0.0
pump-controller-app tlsr9518adk80d FLASH 609052 609060 8 0.0
RAM 52996 52996 0 0.0
shell tlsr9518adk80d FLASH 466890 466890 0 0.0
RAM 68660 68660 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 628882 629076 194 0.0
RAM 52692 52692 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 653034 653042 8 0.0
RAM 56632 56632 0 0.0
thermostat tlsr9518adk80d FLASH 635784 635792 8 0.0
RAM 53400 53400 0 0.0
window-covering tlsr9118bdk40d FLASH 523038 523016 -22 -0.0
RAM 98532 98532 0 0.0
tizen all-clusters-app arm unknown 4840 4840 0 0.0
FLASH 1724876 1724952 76 0.0
RAM 89500 89508 8 0.0
chip-tool-ubsan arm unknown 10272 10272 0 0.0
FLASH 17511238 17511302 64 0.0
RAM 7601356 7601372 16 0.0

Copy link
Contributor

@Damian-Nordic Damian-Nordic left a comment

Choose a reason for hiding this comment

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

A couple of final nits and suggestions but looks good overall.

src/lib/core/CHIPConfig.h Outdated Show resolved Hide resolved
src/crypto/SessionKeystore.h Outdated Show resolved Hide resolved
src/crypto/PSASessionKeystore.cpp Outdated Show resolved Hide resolved
src/crypto/PSASessionKeystore.cpp Outdated Show resolved Hide resolved
src/crypto/PSASessionKeystore.cpp Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Sep 12, 2024

PR #34925: Size comparison from 22db90a to 1baec8b

Full report (44 builds for bl602, bl702, bl702l, nrfconnect, stm32, telink, tizen)
platform target config section 22db90af 1baec8b change % change
bl602 lighting-app bl602 FLASH 1278156 1278156 0 0.0
RAM 95832 95824 -8 -0.0
bl602+mfd FLASH 1292010 1292010 0 0.0
RAM 95968 95968 0 0.0
bl602+rpc FLASH 1317120 1317120 0 0.0
RAM 104256 104248 -8 -0.0
bl702 lighting-app bl702 FLASH 943860 943860 0 0.0
RAM 15153 15145 -8 -0.1
bl702+mfd FLASH 946260 946260 0 0.0
RAM 15305 15305 0 0.0
bl702+rpc FLASH 1039180 1039180 0 0.0
RAM 24173 24173 0 0.0
bl706-eth FLASH 646056 646056 0 0.0
RAM 25241 25233 -8 -0.0
bl706-wifi FLASH 894048 894048 0 0.0
RAM 14477 14477 0 0.0
bl702l lighting-app bl702l FLASH 960520 960520 0 0.0
RAM 16812 16804 -8 -0.0
bl702l+mfd FLASH 963142 963142 0 0.0
RAM 16964 16964 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 915168 914852 -316 -0.0
RAM 142272 142180 -92 -0.1
nrf7002dk_nrf5340_cpuapp FLASH 886472 886172 -300 -0.0
RAM 140411 140323 -88 -0.1
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 846520 846208 -312 -0.0
RAM 141090 140998 -92 -0.1
light-switch-app nrf52840dk_nrf52840 FLASH 790480 790472 -8 -0.0
RAM 132155 132155 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 934820 934796 -24 -0.0
RAM 130720 130716 -4 -0.0
lighting-app nrf52840dk_nrf52840+rpc FLASH 882016 881704 -312 -0.0
RAM 146574 146482 -92 -0.1
nrf52840dongle_nrf52840 FLASH 823108 822800 -308 -0.0
RAM 154436 154344 -92 -0.1
nrf5340dk_nrf5340_cpuapp FLASH 779376 779060 -316 -0.0
RAM 145584 145492 -92 -0.1
nrf7002dk_nrf5340_cpuapp FLASH 934820 934796 -24 -0.0
RAM 130720 130716 -4 -0.0
lock-app nrf52840dk_nrf52840 FLASH 805564 805556 -8 -0.0
RAM 132710 132710 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 731108 731100 -8 -0.0
RAM 132840 132840 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 950832 950804 -28 -0.0
RAM 131275 131271 -4 -0.0
pump-app nrf52840dk_nrf52840 FLASH 758372 758060 -312 -0.0
RAM 131493 131401 -92 -0.1
pump-controller-app nrf52840dk_nrf52840 FLASH 743568 743252 -316 -0.0
RAM 131252 131160 -92 -0.1
stm32 light STM32WB5MM-DK FLASH 480544 480544 0 0.0
RAM 144676 144668 -8 -0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 621718 621718 0 0.0
RAM 50964 50964 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 687326 686964 -362 -0.1
RAM 149608 149520 -88 -0.1
all-clusters-minimal-app tlsr9528a FLASH 779908 779546 -362 -0.0
RAM 110768 110680 -88 -0.1
bridge-app tlsr9258a FLASH 680802 680440 -362 -0.1
RAM 91620 91524 -96 -0.1
contact-sensor-app tlsr9528a_retention FLASH 621482 621482 0 0.0
RAM 50916 50916 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 707514 707514 0 0.0
RAM 74256 74256 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 623742 623380 -362 -0.1
RAM 145500 145412 -88 -0.1
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 810036 809674 -362 -0.0
RAM 99424 99336 -88 -0.1
lock-app-dfu tlsr9528a FLASH 655346 655346 0 0.0
RAM 66976 66976 0 0.0
ota-requestor-app tlsr9258a FLASH 696778 696416 -362 -0.1
RAM 91212 91116 -96 -0.1
pump-app-usb tlsr9518adk80d FLASH 633094 633094 0 0.0
RAM 55784 55784 0 0.0
pump-controller-app tlsr9518adk80d FLASH 610282 610282 0 0.0
RAM 53028 53028 0 0.0
shell tlsr9518adk80d FLASH 467196 467196 0 0.0
RAM 68668 68668 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 628260 628450 190 0.0
RAM 52636 52636 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 652418 652418 0 0.0
RAM 56576 56576 0 0.0
thermostat tlsr9518adk80d FLASH 637014 637014 0 0.0
RAM 53432 53432 0 0.0
window-covering tlsr9118bdk40d FLASH 522258 522228 -30 -0.0
RAM 98476 98476 0 0.0
tizen all-clusters-app arm unknown 4852 4852 0 0.0
FLASH 1724808 1724812 4 0.0
RAM 89608 89608 0 0.0
chip-tool-ubsan arm unknown 10284 10284 0 0.0
FLASH 17532010 17532010 0 0.0
RAM 7609740 7609740 0 0.0

Copy link

github-actions bot commented Sep 12, 2024

PR #34925: Size comparison from 0adae42 to cb16562

Full report (90 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section 0adae42 cb16562 change % change
bl602 lighting-app bl602 FLASH 1278156 1278168 12 0.0
RAM 95832 95824 -8 -0.0
bl602+mfd FLASH 1292010 1292022 12 0.0
RAM 95968 95968 0 0.0
bl602+rpc FLASH 1317120 1317132 12 0.0
RAM 104256 104248 -8 -0.0
bl702 lighting-app bl702 FLASH 943860 943868 8 0.0
RAM 15153 15145 -8 -0.1
bl702+mfd FLASH 946260 946268 8 0.0
RAM 15305 15305 0 0.0
bl702+rpc FLASH 1039180 1039188 8 0.0
RAM 24173 24173 0 0.0
bl706-eth FLASH 646056 646064 8 0.0
RAM 25241 25233 -8 -0.0
bl706-wifi FLASH 894048 894066 18 0.0
RAM 14477 14477 0 0.0
bl702l lighting-app bl702l FLASH 960520 960528 8 0.0
RAM 16812 16804 -8 -0.0
bl702l+mfd FLASH 963142 963150 8 0.0
RAM 16964 16964 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 677233 677245 12 0.0
RAM 78492 78492 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 697085 697097 12 0.0
RAM 81132 81124 -8 -0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 697085 697097 12 0.0
RAM 81132 81124 -8 -0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 654021 654025 4 0.0
RAM 73560 73560 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 613433 613445 12 0.0
RAM 71460 71452 -8 -0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 633069 633073 4 0.0
RAM 74004 74004 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 633069 633073 4 0.0
RAM 74004 74004 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 632545 632557 12 0.0
RAM 74508 74500 -8 -0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 652261 652273 12 0.0
RAM 77052 77052 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 652261 652273 12 0.0
RAM 77052 77052 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 608057 608069 12 0.0
RAM 68596 68596 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 627909 627921 12 0.0
RAM 71236 71228 -8 -0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 627909 627921 12 0.0
RAM 71236 71228 -8 -0.0
efr32 lighting-app BRD4187C FLASH 932464 932468 4 0.0
RAM 135060 135056 -4 -0.0
lock-app BRD4338a FLASH 740572 740568 -4 -0.0
RAM 231244 231228 -16 -0.0
window-app BRD4187C FLASH 1015500 1015504 4 0.0
RAM 127000 126996 -4 -0.0
esp32 all-clusters-app c3devkit DRAM 94168 94160 -8 -0.0
FLASH 1539596 1539608 12 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115112 115112 0 0.0
FLASH 1549894 1549902 8 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2771087 2771213 126 0.0
RAM 128928 128944 16 0.0
all-clusters-app debug unknown 5456 5456 0 0.0
FLASH 6082608 6082732 124 0.0
RAM 514432 514448 16 0.0
all-clusters-minimal-app debug unknown 5352 5352 0 0.0
FLASH 5406670 5406762 92 0.0
RAM 240784 240800 16 0.0
bridge-app debug unknown 5336 5336 0 0.0
FLASH 4740144 4740268 124 0.0
RAM 217824 217840 16 0.0
chip-tool debug unknown 5888 5888 0 0.0
FLASH 12676228 12676354 126 0.0
RAM 562250 562282 32 0.0
chip-tool-ipv6only arm64 unknown 20384 20384 0 0.0
FLASH 11341508 11341604 96 0.0
RAM 612376 612384 8 0.0
fabric-admin debug unknown 5720 5720 0 0.0
FLASH 10978807 10978933 126 0.0
RAM 561306 561322 16 0.0
fabric-bridge-app debug unknown 4568 4568 0 0.0
FLASH 4562880 4563006 126 0.0
RAM 204440 204456 16 0.0
lighting-app debug+rpc+ui unknown 5984 5984 0 0.0
FLASH 5676465 5676577 112 0.0
RAM 228112 228128 16 0.0
lock-app debug unknown 5272 5272 0 0.0
FLASH 4789428 4789554 126 0.0
RAM 203912 203928 16 0.0
ota-provider-app debug unknown 4648 4648 0 0.0
FLASH 4422612 4422736 124 0.0
RAM 197616 197632 16 0.0
ota-requestor-app debug unknown 4584 4584 0 0.0
FLASH 4561356 4561482 126 0.0
RAM 202184 202200 16 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3107773 3107901 128 0.0
RAM 159624 159640 16 0.0
thermostat-no-ble arm64 unknown 9336 9336 0 0.0
FLASH 4333156 4333252 96 0.0
RAM 242400 242400 0 0.0
tv-app debug unknown 5552 5552 0 0.0
FLASH 6022117 6022229 112 0.0
RAM 587104 587088 -16 -0.0
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 10883789 10883789 0 0.0
RAM 650224 650256 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 915168 914860 -308 -0.0
RAM 142272 142180 -92 -0.1
nrf7002dk_nrf5340_cpuapp FLASH 886472 886184 -288 -0.0
RAM 140411 140323 -88 -0.1
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 846520 846216 -304 -0.0
RAM 141090 140998 -92 -0.1
light-switch-app nrf52840dk_nrf52840 FLASH 790480 790480 0 0.0
RAM 132155 132155 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 934820 934804 -16 -0.0
RAM 130720 130716 -4 -0.0
lighting-app nrf52840dk_nrf52840+rpc FLASH 882016 881712 -304 -0.0
RAM 146574 146482 -92 -0.1
nrf52840dongle_nrf52840 FLASH 823108 822808 -300 -0.0
RAM 154436 154344 -92 -0.1
nrf5340dk_nrf5340_cpuapp FLASH 779376 779068 -308 -0.0
RAM 145584 145492 -92 -0.1
nrf7002dk_nrf5340_cpuapp FLASH 934820 934804 -16 -0.0
RAM 130720 130716 -4 -0.0
lock-app nrf52840dk_nrf52840 FLASH 805564 805564 0 0.0
RAM 132710 132710 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 731108 731108 0 0.0
RAM 132840 132840 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 950832 950812 -20 -0.0
RAM 131275 131271 -4 -0.0
pump-app nrf52840dk_nrf52840 FLASH 758372 758068 -304 -0.0
RAM 131493 131401 -92 -0.1
pump-controller-app nrf52840dk_nrf52840 FLASH 743568 743260 -308 -0.0
RAM 131252 131160 -92 -0.1
nxp contact k32w0+release FLASH 580500 580504 4 0.0
RAM 70712 70712 0 0.0
k32w1+release FLASH 593176 593184 8 0.0
RAM 62536 62528 -8 -0.0
mcxw71+release FLASH 592936 592944 8 0.0
RAM 62536 62528 -8 -0.0
light k32w0+release FLASH 616296 616300 4 0.0
RAM 70176 70176 0 0.0
k32w1+release FLASH 679448 679448 0 0.0
RAM 48160 48160 0 0.0
mcxw71+release FLASH 679464 679464 0 0.0
RAM 48160 48160 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1646988 1647012 24 0.0
RAM 210968 210960 -8 -0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1550612 1550636 24 0.0
RAM 207680 207672 -8 -0.0
light cy8ckit_062s2_43012 FLASH 1466436 1466452 16 0.0
RAM 200672 200672 0 0.0
lock cy8ckit_062s2_43012 FLASH 1462956 1462972 16 0.0
RAM 225024 225024 0 0.0
qpg lighting-app qpg6105+debug FLASH 659060 659072 12 0.0
RAM 105220 105212 -8 -0.0
lock-app qpg6105+debug FLASH 616968 616980 12 0.0
RAM 99688 99688 0 0.0
stm32 light STM32WB5MM-DK FLASH 480544 480552 8 0.0
RAM 144676 144668 -8 -0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 621718 621722 4 0.0
RAM 50964 50964 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 687326 686968 -358 -0.1
RAM 149608 149520 -88 -0.1
all-clusters-minimal-app tlsr9528a FLASH 779908 779550 -358 -0.0
RAM 110768 110680 -88 -0.1
bridge-app tlsr9258a FLASH 680802 680444 -358 -0.1
RAM 91620 91524 -96 -0.1
contact-sensor-app tlsr9528a_retention FLASH 621482 621486 4 0.0
RAM 50916 50916 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 707514 707518 4 0.0
RAM 74256 74256 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 623742 623384 -358 -0.1
RAM 145500 145412 -88 -0.1
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 810036 809678 -358 -0.0
RAM 99424 99336 -88 -0.1
lock-app-dfu tlsr9528a FLASH 655346 655350 4 0.0
RAM 66976 66976 0 0.0
ota-requestor-app tlsr9258a FLASH 696778 696420 -358 -0.1
RAM 91212 91116 -96 -0.1
pump-app-usb tlsr9518adk80d FLASH 633094 633098 4 0.0
RAM 55784 55784 0 0.0
pump-controller-app tlsr9518adk80d FLASH 610282 610286 4 0.0
RAM 53028 53028 0 0.0
shell tlsr9518adk80d FLASH 467196 467196 0 0.0
RAM 68668 68668 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 628260 628450 190 0.0
RAM 52636 52636 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 652418 652422 4 0.0
RAM 56576 56576 0 0.0
thermostat tlsr9518adk80d FLASH 637014 637018 4 0.0
RAM 53432 53432 0 0.0
window-covering tlsr9118bdk40d FLASH 522258 522232 -26 -0.0
RAM 98476 98476 0 0.0
tizen all-clusters-app arm unknown 4852 4852 0 0.0
FLASH 1724808 1724848 40 0.0
RAM 89608 89616 8 0.0
chip-tool-ubsan arm unknown 10284 10284 0 0.0
FLASH 17532010 17532050 40 0.0
RAM 7609740 7609748 8 0.0

Modify implementation of `PersistICDKey` not to depend on type
of ICD key handle (AES, HMAC)
Copy link

github-actions bot commented Sep 16, 2024

PR #34925: Size comparison from ba9faf2 to cc7a642

Full report (93 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section ba9faf2 cc7a642 change % change
bl602 lighting-app bl602 FLASH 1278156 1278168 12 0.0
RAM 95832 95824 -8 -0.0
bl602+mfd FLASH 1292266 1292278 12 0.0
RAM 95968 95968 0 0.0
bl602+rpc FLASH 1317120 1317132 12 0.0
RAM 104256 104248 -8 -0.0
bl702 lighting-app bl702 FLASH 943866 943874 8 0.0
RAM 15153 15145 -8 -0.1
bl702+mfd FLASH 946266 946274 8 0.0
RAM 15305 15305 0 0.0
bl702+rpc FLASH 1039186 1039194 8 0.0
RAM 24173 24173 0 0.0
bl706-eth FLASH 646062 646070 8 0.0
RAM 25241 25233 -8 -0.0
bl706-wifi FLASH 894064 894082 18 0.0
RAM 14477 14477 0 0.0
bl702l lighting-app bl702l FLASH 960526 960534 8 0.0
RAM 16812 16804 -8 -0.0
bl702l+mfd FLASH 963148 963156 8 0.0
RAM 16964 16964 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 677249 677261 12 0.0
RAM 78492 78492 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 697101 697113 12 0.0
RAM 81132 81124 -8 -0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 697101 697113 12 0.0
RAM 81132 81124 -8 -0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 654037 654041 4 0.0
RAM 73560 73560 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 613441 613453 12 0.0
RAM 71460 71452 -8 -0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 633077 633081 4 0.0
RAM 74004 74004 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 633077 633081 4 0.0
RAM 74004 74004 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 632561 632573 12 0.0
RAM 74508 74500 -8 -0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 652277 652289 12 0.0
RAM 77052 77052 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 652277 652289 12 0.0
RAM 77052 77052 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 608073 608085 12 0.0
RAM 68596 68596 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 627925 627937 12 0.0
RAM 71236 71228 -8 -0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 627925 627937 12 0.0
RAM 71236 71228 -8 -0.0
efr32 lighting-app BRD4187C FLASH 932464 932468 4 0.0
RAM 135060 135056 -4 -0.0
lock-app BRD2605a FLASH 739956 739952 -4 -0.0
RAM 231212 231212 0 0.0
BRD4338a FLASH 740604 740600 -4 -0.0
RAM 231244 231244 0 0.0
window-app BRD4187C FLASH 1015500 1015536 36 0.0
RAM 127000 126996 -4 -0.0
esp32 all-clusters-app c3devkit DRAM 94168 94160 -8 -0.0
FLASH 1539610 1539622 12 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115112 115112 0 0.0
FLASH 1549934 1549942 8 0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2771107 2771233 126 0.0
RAM 128928 128944 16 0.0
all-clusters-app debug unknown 5456 5456 0 0.0
FLASH 6082634 6082758 124 0.0
RAM 514432 514448 16 0.0
all-clusters-minimal-app debug unknown 5352 5352 0 0.0
FLASH 5406690 5406782 92 0.0
RAM 240784 240800 16 0.0
bridge-app debug unknown 5336 5336 0 0.0
FLASH 4740170 4740294 124 0.0
RAM 217824 217840 16 0.0
chip-tool debug unknown 5888 5888 0 0.0
FLASH 12676228 12676354 126 0.0
RAM 562250 562282 32 0.0
chip-tool-ipv6only arm64 unknown 20384 20384 0 0.0
FLASH 11341508 11341604 96 0.0
RAM 612376 612384 8 0.0
fabric-admin debug unknown 5720 5720 0 0.0
FLASH 10978783 10978909 126 0.0
RAM 561306 561322 16 0.0
fabric-bridge-app debug unknown 4568 4568 0 0.0
FLASH 4562906 4563032 126 0.0
RAM 204440 204456 16 0.0
lighting-app debug+rpc+ui unknown 5984 5984 0 0.0
FLASH 5676481 5676609 128 0.0
RAM 228112 228128 16 0.0
lock-app debug unknown 5272 5272 0 0.0
FLASH 4789448 4789574 126 0.0
RAM 203912 203928 16 0.0
ota-provider-app debug unknown 4648 4648 0 0.0
FLASH 4422638 4422762 124 0.0
RAM 197616 197632 16 0.0
ota-requestor-app debug unknown 4584 4584 0 0.0
FLASH 4561382 4561508 126 0.0
RAM 202184 202200 16 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3107805 3107933 128 0.0
RAM 159624 159640 16 0.0
thermostat-no-ble arm64 unknown 9336 9336 0 0.0
FLASH 4333172 4333268 96 0.0
RAM 242400 242400 0 0.0
tv-app debug unknown 5552 5552 0 0.0
FLASH 6022133 6022261 128 0.0
RAM 587104 587088 -16 -0.0
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 10883805 10883805 0 0.0
RAM 650224 650256 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 915220 915220 0 0.0
RAM 142272 142272 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 886524 886536 12 0.0
RAM 140411 140411 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 846560 846560 0 0.0
RAM 141090 141090 0 0.0
light-switch-app nrf52840dk_nrf52840 FLASH 790520 790520 0 0.0
RAM 132155 132155 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 934860 934868 8 0.0
RAM 130720 130720 0 0.0
lighting-app nrf52840dk_nrf52840+rpc FLASH 882068 882068 0 0.0
RAM 146574 146574 0 0.0
nrf52840dongle_nrf52840 FLASH 823160 823160 0 0.0
RAM 154436 154436 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 779428 779428 0 0.0
RAM 145584 145584 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 934860 934868 8 0.0
RAM 130720 130720 0 0.0
lock-app nrf52840dk_nrf52840 FLASH 805604 805604 0 0.0
RAM 132710 132710 0 0.0
nrf5340dk_nrf5340_cpuapp FLASH 731148 731148 0 0.0
RAM 132840 132840 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 950872 950880 8 0.0
RAM 131275 131275 0 0.0
pump-app nrf52840dk_nrf52840 FLASH 758424 758424 0 0.0
RAM 131493 131493 0 0.0
pump-controller-app nrf52840dk_nrf52840 FLASH 743620 743620 0 0.0
RAM 131252 131252 0 0.0
nxp contact k32w0+release FLASH 580516 580520 4 0.0
RAM 70720 70720 0 0.0
k32w1+release FLASH 593264 593272 8 0.0
RAM 62560 62552 -8 -0.0
mcxw71+release FLASH 593016 593024 8 0.0
RAM 62560 62552 -8 -0.0
light k32w0+release FLASH 616312 616316 4 0.0
RAM 70184 70184 0 0.0
k32w1+release FLASH 679512 679512 0 0.0
RAM 48176 48176 0 0.0
mcxw71+release FLASH 679528 679528 0 0.0
RAM 48176 48176 0 0.0
lock k32w1+release FLASH 701824 701824 0 0.0
RAM 66716 66708 -8 -0.0
mcxw71+release FLASH 701832 701832 0 0.0
RAM 66716 66708 -8 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1647004 1647012 8 0.0
RAM 210968 210960 -8 -0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1550628 1550652 24 0.0
RAM 207680 207672 -8 -0.0
light cy8ckit_062s2_43012 FLASH 1466436 1466468 32 0.0
RAM 200672 200672 0 0.0
lock cy8ckit_062s2_43012 FLASH 1462956 1462988 32 0.0
RAM 225024 225024 0 0.0
qpg lighting-app qpg6105+debug FLASH 659084 659096 12 0.0
RAM 105220 105212 -8 -0.0
lock-app qpg6105+debug FLASH 616976 616988 12 0.0
RAM 99688 99688 0 0.0
stm32 light STM32WB5MM-DK FLASH 480560 480568 8 0.0
RAM 144676 144668 -8 -0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 621704 621708 4 0.0
RAM 50964 50964 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 688206 688210 4 0.0
RAM 148400 148400 0 0.0
all-clusters-minimal-app tlsr9528a FLASH 779888 779892 4 0.0
RAM 110768 110768 0 0.0
bridge-app tlsr9258a FLASH 680724 680728 4 0.0
RAM 91620 91620 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 621468 621472 4 0.0
RAM 50916 50916 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 707400 707404 4 0.0
RAM 74256 74256 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 624622 624626 4 0.0
RAM 144292 144292 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 810030 810034 4 0.0
RAM 99424 99424 0 0.0
lock-app-dfu tlsr9528a FLASH 655220 655224 4 0.0
RAM 66976 66976 0 0.0
ota-requestor-app tlsr9258a FLASH 696700 696704 4 0.0
RAM 91212 91212 0 0.0
pump-app-usb tlsr9518adk80d FLASH 633056 633060 4 0.0
RAM 55792 55792 0 0.0
pump-controller-app tlsr9518adk80d FLASH 610246 610250 4 0.0
RAM 53036 53036 0 0.0
shell tlsr9518adk80d FLASH 467176 467176 0 0.0
RAM 68668 68668 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 628246 628436 190 0.0
RAM 52636 52636 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 652382 652386 4 0.0
RAM 56584 56584 0 0.0
thermostat tlsr9518adk80d FLASH 636976 636980 4 0.0
RAM 53440 53440 0 0.0
window-covering tlsr9118bdk40d FLASH 523152 523156 4 0.0
RAM 97268 97268 0 0.0
tizen all-clusters-app arm unknown 4852 4852 0 0.0
FLASH 1724820 1724856 36 0.0
RAM 89608 89616 8 0.0
chip-tool-ubsan arm unknown 10284 10284 0 0.0
FLASH 17532010 17532050 40 0.0
RAM 7609740 7609748 8 0.0

@mergify mergify bot merged commit 04e21d9 into project-chip:master Sep 16, 2024
68 checks passed
@maciejbaczmanski maciejbaczmanski deleted the matter_icd_psa branch September 16, 2024 10:01
yyzhong-g pushed a commit to yyzhong-g/connectedhomeip that referenced this pull request Dec 12, 2024
…ject-chip#34925)

* Refactor Key Attributes classes

Implement `keyAttributesBase` and add
persistent lifetime functionality.

* Implement `FindFreeKeySlotInRange` for PSA key slots

* Fix ICD CIP related build dependencies

* Remake `ICDMonitoringTable::Find()` not to overwrite all entry fields

If entry is not found its key handle field must not be filled with
last checked entry when using PSA as it will cause key slot to be
cleared by accident.

* Add ICD CIP and DAC key slots for PSA

* Implement `PersistICDKey` API

* Implement setting key persitence for ICD server

* Address PR comments

Modify implementation of `PersistICDKey` not to depend on type
of ICD key handle (AES, HMAC)
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.

5 participants