From 12670ecf2d938ba9050b0c9363ee83ff8b1976d8 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Sat, 7 Jan 2023 00:35:34 -0500 Subject: [PATCH 1/2] Align naming in Administrator Commissioning cluster XML with the spec. --- .../administrator-commissioning-server.cpp | 2 +- .../suites/certification/Test_TC_CADMIN_1_11.yaml | 8 ++++---- .../suites/certification/Test_TC_CADMIN_1_13.yaml | 10 +++++----- .../suites/certification/Test_TC_CADMIN_1_15.yaml | 6 +++--- .../suites/certification/Test_TC_CADMIN_1_22.yaml | 4 ++-- .../suites/certification/Test_TC_CADMIN_1_24.yaml | 4 ++-- .../tests/suites/certification/Test_TC_CADMIN_1_3.yaml | 6 +++--- .../tests/suites/certification/Test_TC_CADMIN_1_5.yaml | 10 +++++----- .../tests/suites/certification/Test_TC_CADMIN_1_9.yaml | 2 +- .../chip/administrator-commissioning-cluster.xml | 2 +- src/controller/CommissioningWindowOpener.cpp | 2 +- src/controller/python/test/test_scripts/base.py | 2 +- src/darwin/Framework/CHIP/templates/availability.yaml | 9 +++++++++ 13 files changed, 38 insertions(+), 29 deletions(-) diff --git a/src/app/clusters/administrator-commissioning-server/administrator-commissioning-server.cpp b/src/app/clusters/administrator-commissioning-server/administrator-commissioning-server.cpp index 24d3e37d8635e4..a78ccaf4c6ab9f 100644 --- a/src/app/clusters/administrator-commissioning-server/administrator-commissioning-server.cpp +++ b/src/app/clusters/administrator-commissioning-server/administrator-commissioning-server.cpp @@ -82,7 +82,7 @@ bool emberAfAdministratorCommissioningClusterOpenCommissioningWindowCallback( const Commands::OpenCommissioningWindow::DecodableType & commandData) { auto commissioningTimeout = System::Clock::Seconds16(commandData.commissioningTimeout); - auto & pakeVerifier = commandData.PAKEVerifier; + auto & pakeVerifier = commandData.PAKEPasscodeVerifier; auto & discriminator = commandData.discriminator; auto & iterations = commandData.iterations; auto & salt = commandData.salt; diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_11.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_11.yaml index eee3a87604bb41..01b4346d7dd741 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_11.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_11.yaml @@ -77,7 +77,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator @@ -146,7 +146,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator @@ -186,7 +186,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator @@ -207,7 +207,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml index 83ef331cee1d76..942bebf92c6f7c 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml @@ -284,7 +284,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator @@ -331,7 +331,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator @@ -386,7 +386,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator @@ -433,7 +433,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator @@ -452,7 +452,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_15.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_15.yaml index d26e0c6207da11..2ca257d2b6bb8d 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_15.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_15.yaml @@ -77,7 +77,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator @@ -118,7 +118,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator @@ -268,7 +268,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_22.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_22.yaml index 42a8d19b800339..84e037d2b82867 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_22.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_22.yaml @@ -68,7 +68,7 @@ tests: values: - name: "CommissioningTimeout" value: 900 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator @@ -103,7 +103,7 @@ tests: values: - name: "CommissioningTimeout" value: 901 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_24.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_24.yaml index 794fd7362998f4..5a2b03b10de03f 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_24.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_24.yaml @@ -68,7 +68,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator @@ -103,7 +103,7 @@ tests: values: - name: "CommissioningTimeout" value: 179 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_3.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_3.yaml index ee32c447850692..8a820898be43c4 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_3.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_3.yaml @@ -71,7 +71,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator @@ -261,7 +261,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator @@ -297,7 +297,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_5.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_5.yaml index b44ec1edf8ca01..b8e661252cc609 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_5.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_5.yaml @@ -82,7 +82,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator @@ -144,7 +144,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator @@ -208,7 +208,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: IncorrectPakeVerifier - name: "discriminator" value: discriminator @@ -229,7 +229,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator @@ -247,7 +247,7 @@ tests: values: - name: "CommissioningTimeout" value: 180 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml index aaedd3de548812..f1b77997567ffb 100644 --- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml +++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml @@ -82,7 +82,7 @@ tests: values: - name: "CommissioningTimeout" value: 900 - - name: "PAKEVerifier" + - name: "PAKEPasscodeVerifier" value: PakeVerifier - name: "discriminator" value: discriminator diff --git a/src/app/zap-templates/zcl/data-model/chip/administrator-commissioning-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/administrator-commissioning-cluster.xml index be76275b14b6f1..ede89c9600affe 100644 --- a/src/app/zap-templates/zcl/data-model/chip/administrator-commissioning-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/administrator-commissioning-cluster.xml @@ -45,7 +45,7 @@ limitations under the License. This command is used by a current Administrator to instruct a Node to go into commissioning mode using enhanced commissioning method. - + diff --git a/src/controller/CommissioningWindowOpener.cpp b/src/controller/CommissioningWindowOpener.cpp index 99f7a0946e8615..71cb87b88e080d 100644 --- a/src/controller/CommissioningWindowOpener.cpp +++ b/src/controller/CommissioningWindowOpener.cpp @@ -141,7 +141,7 @@ CHIP_ERROR CommissioningWindowOpener::OpenCommissioningWindowInternal(Messaging: AdministratorCommissioning::Commands::OpenCommissioningWindow::Type request; request.commissioningTimeout = mCommissioningWindowTimeout.count(); - request.PAKEVerifier = serializedVerifierSpan; + request.PAKEPasscodeVerifier = serializedVerifierSpan; request.discriminator = mSetupPayload.discriminator.GetLongValue(); request.iterations = mPBKDFIterations; request.salt = mPBKDFSalt; diff --git a/src/controller/python/test/test_scripts/base.py b/src/controller/python/test/test_scripts/base.py index 9995492c26c135..eea623c674ef1e 100644 --- a/src/controller/python/test/test_scripts/base.py +++ b/src/controller/python/test/test_scripts/base.py @@ -349,7 +349,7 @@ def TestFailsafe(self, nodeid: int): "Attempting to open enhanced commissioning window - this should fail since the failsafe is armed") try: res = asyncio.run(self.devCtrl.SendCommand(nodeid, 0, Clusters.AdministratorCommissioning.Commands.OpenCommissioningWindow( - commissioningTimeout=180, PAKEVerifier=verifier, discriminator=discriminator, iterations=iterations, salt=salt), timedRequestTimeoutMs=10000)) + commissioningTimeout=180, PAKEPasscodeVerifier=verifier, discriminator=discriminator, iterations=iterations, salt=salt), timedRequestTimeoutMs=10000)) # we actually want the exception here because we want to see a failure, so return False here self.logger.error( 'Incorrectly succeeded in opening enhanced commissioning window') diff --git a/src/darwin/Framework/CHIP/templates/availability.yaml b/src/darwin/Framework/CHIP/templates/availability.yaml index 79c7d3aa093c36..7166d3f9f6ce93 100644 --- a/src/darwin/Framework/CHIP/templates/availability.yaml +++ b/src/darwin/Framework/CHIP/templates/availability.yaml @@ -4945,6 +4945,9 @@ RetrieveLogsResponse: - logContent - utcTimeStamp + AdministratorCommissioning: + OpenCommissioningWindow: + - pakePasscodeVerifier structs: OTASoftwareUpdateRequestor: - ProviderLocation @@ -5303,6 +5306,9 @@ RetrieveLogsResponse: - content - timeStamp + AdministratorCommissioning: + OpenCommissioningWindow: + - pakeVerifier structs: Descriptor: - DeviceType @@ -5445,6 +5451,9 @@ RetrieveLogsResponse: logContent: content utcTimeStamp: timeStamp + AdministratorCommissioning: + OpenCommissioningWindow: + pakePasscodeVerifier: pakeVerifier structs: AccessControl: AccessControlEntryStruct: AccessControlEntry From 6e66b82f557bd21f202d5ef89415ee0227e15b10 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Sat, 7 Jan 2023 00:42:51 -0500 Subject: [PATCH 2/2] Regenerate generated code. --- .../all-clusters-app.matter | 2 +- .../all-clusters-minimal-app.matter | 2 +- .../bridge-common/bridge-app.matter | 2 +- ...p_rootnode_dimmablelight_bCwGYSDpoe.matter | 2 +- ...de_colortemperaturelight_hbUnzYVeyn.matter | 2 +- .../rootnode_contactsensor_lFAGG1bfRO.matter | 2 +- .../rootnode_dimmablelight_bCwGYSDpoe.matter | 2 +- .../rootnode_doorlock_aNKYAreMXE.matter | 2 +- ...tnode_extendedcolorlight_8lcaaYJVAa.matter | 2 +- .../devices/rootnode_fan_7N2TobIlOX.matter | 2 +- .../rootnode_flowsensor_1zVxHedlaV.matter | 2 +- ...tnode_heatingcoolingunit_ncdGai1E5a.matter | 2 +- .../rootnode_humiditysensor_Xyj4gda6Hb.matter | 2 +- .../rootnode_lightsensor_lZQycTFcJK.matter | 2 +- ...rootnode_occupancysensor_iHyVgifZuo.matter | 2 +- .../rootnode_onofflight_bbs1b7IaOV.matter | 2 +- ...ootnode_onofflightswitch_FsPlMr090Q.matter | 2 +- ...rootnode_onoffpluginunit_Wtf8ss5EBY.matter | 2 +- .../rootnode_pressuresensor_s0qC9wLH4k.matter | 2 +- .../rootnode_speaker_RpzeXdimqA.matter | 2 +- ...otnode_temperaturesensor_Qy1zkNW7c3.matter | 2 +- .../rootnode_thermostat_bm3fb8dhYi.matter | 2 +- .../rootnode_windowcovering_RLCxaGi9Yx.matter | 2 +- .../contact-sensor-app.matter | 2 +- .../bridge-common/bridge-app.matter | 2 +- .../light-switch-app.matter | 2 +- .../lighting-common/lighting-app.matter | 2 +- .../nxp/zap/lighting-on-off.matter | 2 +- examples/lock-app/lock-common/lock-app.matter | 2 +- .../ota-provider-app.matter | 2 +- .../ota-requestor-app.matter | 2 +- .../placeholder/linux/apps/app1/config.matter | 2 +- .../placeholder/linux/apps/app2/config.matter | 2 +- examples/pump-app/pump-common/pump-app.matter | 2 +- .../pump-controller-app.matter | 2 +- .../esp32/main/temperature-measurement.matter | 2 +- .../thermostat-common/thermostat.matter | 2 +- examples/tv-app/tv-common/tv-app.matter | 2 +- .../tv-casting-common/tv-casting-app.matter | 2 +- examples/window-app/common/window-app.matter | 2 +- .../data_model/controller-clusters.matter | 2 +- .../chip/devicecontroller/ChipClusters.java | 6 +-- .../devicecontroller/ClusterInfoMapping.java | 10 ++-- .../python/chip/clusters/CHIPClusters.py | 2 +- .../python/chip/clusters/Objects.py | 4 +- .../CHIP/zap-generated/MTRBaseClusters.mm | 2 +- .../CHIP/zap-generated/MTRClusters.mm | 2 +- .../zap-generated/MTRCommandPayloadsObjc.h | 8 ++- .../zap-generated/MTRCommandPayloadsObjc.mm | 25 +++++++--- .../zap-generated/cluster-objects.cpp | 7 +-- .../zap-generated/cluster-objects.h | 6 +-- .../zap-generated/cluster/Commands.h | 2 +- .../chip-tool/zap-generated/test/Commands.h | 50 +++++++++---------- .../zap-generated/cluster/Commands.h | 5 +- 54 files changed, 116 insertions(+), 95 deletions(-) diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter index 81cf25fc84a2b6..0c1ed58a9f447b 100644 --- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter +++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter @@ -1561,7 +1561,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter index 03701fc1b20c53..a5ded576ab032e 100644 --- a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter +++ b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter @@ -1411,7 +1411,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/bridge-app/bridge-common/bridge-app.matter b/examples/bridge-app/bridge-common/bridge-app.matter index 3c1b616b3feac5..96eaa7d2a43451 100644 --- a/examples/bridge-app/bridge-common/bridge-app.matter +++ b/examples/bridge-app/bridge-common/bridge-app.matter @@ -1236,7 +1236,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter index 504061e0f58d39..c9aedbf6f73fa5 100644 --- a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter +++ b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter @@ -1088,7 +1088,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter index 9c5a387c3a47f0..646e671d8c5099 100644 --- a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter +++ b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter @@ -907,7 +907,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter index fc111c096b4830..85ec3ef4904db2 100644 --- a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter +++ b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter @@ -823,7 +823,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter index b79a4a9ed301ad..708866d753f5fe 100644 --- a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter +++ b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter @@ -972,7 +972,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter index f9065c571e73f0..b4de442d70a541 100644 --- a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter +++ b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter @@ -823,7 +823,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter index 07dd8cc4dbb24a..ff2274d09351ac 100644 --- a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter +++ b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter @@ -972,7 +972,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter index 38d0ae6a8d3eae..a9375f81d28389 100644 --- a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter +++ b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter @@ -827,7 +827,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter index 0df49dec4fddad..e671e8dccf12a3 100644 --- a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter +++ b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter @@ -836,7 +836,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter index d1c5e67fc79862..edc993acf9a769 100644 --- a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter +++ b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter @@ -965,7 +965,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter index 46478dc8eb4e20..6ee3e855b8f58c 100644 --- a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter +++ b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter @@ -836,7 +836,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter index 52bc8a6a235616..e7c094f3a76aa0 100644 --- a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter +++ b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter @@ -836,7 +836,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter index 973f496f56c8fc..52c01225827a7a 100644 --- a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter +++ b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter @@ -836,7 +836,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter index c04de798ba0f0d..722a0df95f96ba 100644 --- a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter +++ b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter @@ -972,7 +972,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter index f9eee7ddeafaef..aac203eacac3d2 100644 --- a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter +++ b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter @@ -915,7 +915,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter index b26bc9a9ae6dba..325870b830d9ca 100644 --- a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter +++ b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter @@ -873,7 +873,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter index 05724a4da55c9c..bb1d8f24a27a16 100644 --- a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter +++ b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter @@ -841,7 +841,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter index d3c88eb27cb9a7..5a08c4af22d6e8 100644 --- a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter +++ b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter @@ -963,7 +963,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter index 6192a201ddf6d3..f6f64a1d6ddece 100644 --- a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter +++ b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter @@ -836,7 +836,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter index be4033d3193a83..6e0a9e3e9919cb 100644 --- a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter +++ b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter @@ -823,7 +823,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter index aa61ccb2b9d257..c59cffc099e4a6 100644 --- a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter +++ b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter @@ -823,7 +823,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter index fac8abe275b249..d29552fbce38f7 100644 --- a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter +++ b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter @@ -1033,7 +1033,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/dynamic-bridge-app/bridge-common/bridge-app.matter b/examples/dynamic-bridge-app/bridge-common/bridge-app.matter index 3c1b616b3feac5..96eaa7d2a43451 100644 --- a/examples/dynamic-bridge-app/bridge-common/bridge-app.matter +++ b/examples/dynamic-bridge-app/bridge-common/bridge-app.matter @@ -1236,7 +1236,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/light-switch-app/light-switch-common/light-switch-app.matter b/examples/light-switch-app/light-switch-common/light-switch-app.matter index 304a3b013c2cdd..d080701a9be31d 100644 --- a/examples/light-switch-app/light-switch-common/light-switch-app.matter +++ b/examples/light-switch-app/light-switch-common/light-switch-app.matter @@ -1283,7 +1283,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/lighting-app/lighting-common/lighting-app.matter b/examples/lighting-app/lighting-common/lighting-app.matter index 6941b5c4c7c1c9..48e8db0a618a33 100644 --- a/examples/lighting-app/lighting-common/lighting-app.matter +++ b/examples/lighting-app/lighting-common/lighting-app.matter @@ -1234,7 +1234,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/lighting-app/nxp/zap/lighting-on-off.matter b/examples/lighting-app/nxp/zap/lighting-on-off.matter index c76cc902b026b1..f231fee8a556a3 100644 --- a/examples/lighting-app/nxp/zap/lighting-on-off.matter +++ b/examples/lighting-app/nxp/zap/lighting-on-off.matter @@ -1005,7 +1005,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/lock-app/lock-common/lock-app.matter b/examples/lock-app/lock-common/lock-app.matter index 2fcd9006309e29..b0b50059f88c2a 100644 --- a/examples/lock-app/lock-common/lock-app.matter +++ b/examples/lock-app/lock-common/lock-app.matter @@ -1107,7 +1107,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter b/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter index 631d8303ffa7c8..1723dc88ae668e 100644 --- a/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter +++ b/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter @@ -615,7 +615,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter index a2ce3e2b02aa6f..ddcc2e3c1016e1 100644 --- a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter +++ b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter @@ -780,7 +780,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/placeholder/linux/apps/app1/config.matter b/examples/placeholder/linux/apps/app1/config.matter index 735bc9df2e3d7d..20a9848e1dab93 100644 --- a/examples/placeholder/linux/apps/app1/config.matter +++ b/examples/placeholder/linux/apps/app1/config.matter @@ -1311,7 +1311,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/placeholder/linux/apps/app2/config.matter b/examples/placeholder/linux/apps/app2/config.matter index dfb8f49b950deb..b7a2805a28ef93 100644 --- a/examples/placeholder/linux/apps/app2/config.matter +++ b/examples/placeholder/linux/apps/app2/config.matter @@ -1288,7 +1288,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/pump-app/pump-common/pump-app.matter b/examples/pump-app/pump-common/pump-app.matter index 5ceb261f6af7cc..4f3286aca8a9a5 100644 --- a/examples/pump-app/pump-common/pump-app.matter +++ b/examples/pump-app/pump-common/pump-app.matter @@ -894,7 +894,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter index a0d543be5c3e48..f9b7c988dd3605 100644 --- a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter +++ b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter @@ -793,7 +793,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter b/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter index 44b5f9c7eba810..68a93e7cd7fa47 100644 --- a/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter +++ b/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter @@ -628,7 +628,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/thermostat/thermostat-common/thermostat.matter b/examples/thermostat/thermostat-common/thermostat.matter index 78c1f6d91045c2..06126dcadbe147 100644 --- a/examples/thermostat/thermostat-common/thermostat.matter +++ b/examples/thermostat/thermostat-common/thermostat.matter @@ -1187,7 +1187,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/tv-app/tv-common/tv-app.matter b/examples/tv-app/tv-common/tv-app.matter index dd3ed3a662be02..7c0c05bb962459 100644 --- a/examples/tv-app/tv-common/tv-app.matter +++ b/examples/tv-app/tv-common/tv-app.matter @@ -1234,7 +1234,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter index 6eaf640fc0afae..4f8922ba0a0885 100644 --- a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter +++ b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter @@ -1451,7 +1451,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/examples/window-app/common/window-app.matter b/examples/window-app/common/window-app.matter index e16d40ae2aa4de..a0ed59703d8a3e 100644 --- a/examples/window-app/common/window-app.matter +++ b/examples/window-app/common/window-app.matter @@ -1246,7 +1246,7 @@ server cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter index 66c8abac48aab6..dc858bd6c920f8 100644 --- a/src/controller/data_model/controller-clusters.matter +++ b/src/controller/data_model/controller-clusters.matter @@ -1792,7 +1792,7 @@ client cluster AdministratorCommissioning = 60 { request struct OpenCommissioningWindowRequest { INT16U commissioningTimeout = 0; - OCTET_STRING PAKEVerifier = 1; + OCTET_STRING PAKEPasscodeVerifier = 1; INT16U discriminator = 2; INT32U iterations = 3; OCTET_STRING salt = 4; diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java index 9f3d52253c5244..26413a9e1523e3 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java @@ -9723,7 +9723,7 @@ public AdministratorCommissioningCluster(long devicePtr, int endpointId) { public void openCommissioningWindow( DefaultClusterCallback callback, Integer commissioningTimeout, - byte[] PAKEVerifier, + byte[] PAKEPasscodeVerifier, Integer discriminator, Long iterations, byte[] salt, @@ -9732,7 +9732,7 @@ public void openCommissioningWindow( chipClusterPtr, callback, commissioningTimeout, - PAKEVerifier, + PAKEPasscodeVerifier, discriminator, iterations, salt, @@ -9754,7 +9754,7 @@ private native void openCommissioningWindow( long chipClusterPtr, DefaultClusterCallback Callback, Integer commissioningTimeout, - byte[] PAKEVerifier, + byte[] PAKEPasscodeVerifier, Integer discriminator, Long iterations, byte[] salt, diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java b/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java index b66c3be90ad143..62165ff4177a74 100644 --- a/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java +++ b/src/controller/java/zap-generated/chip/devicecontroller/ClusterInfoMapping.java @@ -9194,11 +9194,11 @@ public Map> getCommandMap() { administratorCommissioningopenCommissioningWindowcommissioningTimeoutCommandParameterInfo); CommandParameterInfo - administratorCommissioningopenCommissioningWindowPAKEVerifierCommandParameterInfo = - new CommandParameterInfo("PAKEVerifier", byte[].class, byte[].class); + administratorCommissioningopenCommissioningWindowPAKEPasscodeVerifierCommandParameterInfo = + new CommandParameterInfo("PAKEPasscodeVerifier", byte[].class, byte[].class); administratorCommissioningopenCommissioningWindowCommandParams.put( - "PAKEVerifier", - administratorCommissioningopenCommissioningWindowPAKEVerifierCommandParameterInfo); + "PAKEPasscodeVerifier", + administratorCommissioningopenCommissioningWindowPAKEPasscodeVerifierCommandParameterInfo); CommandParameterInfo administratorCommissioningopenCommissioningWindowdiscriminatorCommandParameterInfo = @@ -9226,7 +9226,7 @@ public Map> getCommandMap() { .openCommissioningWindow( (DefaultClusterCallback) callback, (Integer) commandArguments.get("commissioningTimeout"), - (byte[]) commandArguments.get("PAKEVerifier"), + (byte[]) commandArguments.get("PAKEPasscodeVerifier"), (Integer) commandArguments.get("discriminator"), (Long) commandArguments.get("iterations"), (byte[]) commandArguments.get("salt"), diff --git a/src/controller/python/chip/clusters/CHIPClusters.py b/src/controller/python/chip/clusters/CHIPClusters.py index c5b4f9a33ce088..1b340c93c45701 100644 --- a/src/controller/python/chip/clusters/CHIPClusters.py +++ b/src/controller/python/chip/clusters/CHIPClusters.py @@ -3020,7 +3020,7 @@ class ChipClusters: "commandName": "OpenCommissioningWindow", "args": { "commissioningTimeout": "int", - "PAKEVerifier": "bytes", + "PAKEPasscodeVerifier": "bytes", "discriminator": "int", "iterations": "int", "salt": "bytes", diff --git a/src/controller/python/chip/clusters/Objects.py b/src/controller/python/chip/clusters/Objects.py index dc59a90dc3045e..5f768afea67e40 100644 --- a/src/controller/python/chip/clusters/Objects.py +++ b/src/controller/python/chip/clusters/Objects.py @@ -11267,7 +11267,7 @@ def descriptor(cls) -> ClusterObjectDescriptor: return ClusterObjectDescriptor( Fields = [ ClusterObjectFieldDescriptor(Label="commissioningTimeout", Tag=0, Type=uint), - ClusterObjectFieldDescriptor(Label="PAKEVerifier", Tag=1, Type=bytes), + ClusterObjectFieldDescriptor(Label="PAKEPasscodeVerifier", Tag=1, Type=bytes), ClusterObjectFieldDescriptor(Label="discriminator", Tag=2, Type=uint), ClusterObjectFieldDescriptor(Label="iterations", Tag=3, Type=uint), ClusterObjectFieldDescriptor(Label="salt", Tag=4, Type=bytes), @@ -11278,7 +11278,7 @@ def must_use_timed_invoke(cls) -> bool: return True commissioningTimeout: 'uint' = 0 - PAKEVerifier: 'bytes' = b"" + PAKEPasscodeVerifier: 'bytes' = b"" discriminator: 'uint' = 0 iterations: 'uint' = 0 salt: 'bytes' = b"" diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm index 8fef3b8f231927..270f429fba5c9c 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm @@ -39428,7 +39428,7 @@ - (void)openCommissioningWindowWithParams:(MTRAdministratorCommissioningClusterO timedInvokeTimeoutMs.SetValue(10000); } request.commissioningTimeout = params.commissioningTimeout.unsignedShortValue; - request.PAKEVerifier = [self asByteSpan:params.pakeVerifier]; + request.PAKEPasscodeVerifier = [self asByteSpan:params.pakePasscodeVerifier]; request.discriminator = params.discriminator.unsignedShortValue; request.iterations = params.iterations.unsignedIntValue; request.salt = [self asByteSpan:params.salt]; diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm index fa256ffa99ce71..14f7c9e0d07cfb 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRClusters.mm @@ -9812,7 +9812,7 @@ - (void)openCommissioningWindowWithParams:(MTRAdministratorCommissioningClusterO timedInvokeTimeoutMs.SetValue(10000); } request.commissioningTimeout = params.commissioningTimeout.unsignedShortValue; - request.PAKEVerifier = [self asByteSpan:params.pakeVerifier]; + request.PAKEPasscodeVerifier = [self asByteSpan:params.pakePasscodeVerifier]; request.discriminator = params.discriminator.unsignedShortValue; request.iterations = params.iterations.unsignedIntValue; request.salt = [self asByteSpan:params.salt]; diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.h b/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.h index ce896e4df4794b..c8f732c0a0b1d3 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.h +++ b/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.h @@ -2263,7 +2263,7 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) @property (nonatomic, copy) NSNumber * _Nonnull commissioningTimeout API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) ; -@property (nonatomic, copy) NSData * _Nonnull pakeVerifier API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); +@property (nonatomic, copy) NSData * _Nonnull pakePasscodeVerifier MTR_NEWLY_AVAILABLE; @property (nonatomic, copy) NSNumber * _Nonnull discriminator API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)); @@ -2287,6 +2287,12 @@ API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) @property (nonatomic, copy, nullable) NSNumber * timedInvokeTimeoutMs; @end +@interface MTRAdministratorCommissioningClusterOpenCommissioningWindowParams (Deprecated) + +@property (nonatomic, copy) NSData * _Nonnull pakeVerifier API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) + MTR_NEWLY_DEPRECATED("Please use pakePasscodeVerifier"); +@end + API_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1)) @interface MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams : NSObject diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm b/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm index efc4fee32f2c5d..7f6c9b1544398d 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm @@ -3168,7 +3168,7 @@ - (instancetype)init _commissioningTimeout = @(0); - _pakeVerifier = [NSData data]; + _pakePasscodeVerifier = [NSData data]; _discriminator = @(0); @@ -3185,7 +3185,7 @@ - (id)copyWithZone:(NSZone * _Nullable)zone; auto other = [[MTRAdministratorCommissioningClusterOpenCommissioningWindowParams alloc] init]; other.commissioningTimeout = self.commissioningTimeout; - other.pakeVerifier = self.pakeVerifier; + other.pakePasscodeVerifier = self.pakePasscodeVerifier; other.discriminator = self.discriminator; other.iterations = self.iterations; other.salt = self.salt; @@ -3196,13 +3196,26 @@ - (id)copyWithZone:(NSZone * _Nullable)zone; - (NSString *)description { - NSString * descriptionString = - [NSString stringWithFormat:@"<%@: commissioningTimeout:%@; pakeVerifier:%@; discriminator:%@; iterations:%@; salt:%@; >", - NSStringFromClass([self class]), _commissioningTimeout, [_pakeVerifier base64EncodedStringWithOptions:0], - _discriminator, _iterations, [_salt base64EncodedStringWithOptions:0]]; + NSString * descriptionString = [NSString + stringWithFormat:@"<%@: commissioningTimeout:%@; pakePasscodeVerifier:%@; discriminator:%@; iterations:%@; salt:%@; >", + NSStringFromClass([self class]), _commissioningTimeout, [_pakePasscodeVerifier base64EncodedStringWithOptions:0], + _discriminator, _iterations, [_salt base64EncodedStringWithOptions:0]]; return descriptionString; } +@end + +@implementation MTRAdministratorCommissioningClusterOpenCommissioningWindowParams (Deprecated) + +- (void)setPakeVerifier:(NSData * _Nonnull)pakeVerifier +{ + self.pakePasscodeVerifier = pakeVerifier; +} + +- (NSData * _Nonnull)pakeVerifier +{ + return self.pakePasscodeVerifier; +} @end @implementation MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams - (instancetype)init diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp index 1ccecd57afd1cf..d3104b25e78eca 100644 --- a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp +++ b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp @@ -8715,7 +8715,8 @@ CHIP_ERROR Type::Encode(TLV::TLVWriter & writer, TLV::Tag tag) const ReturnErrorOnFailure(writer.StartContainer(tag, TLV::kTLVType_Structure, outer)); ReturnErrorOnFailure( DataModel::Encode(writer, TLV::ContextTag(to_underlying(Fields::kCommissioningTimeout)), commissioningTimeout)); - ReturnErrorOnFailure(DataModel::Encode(writer, TLV::ContextTag(to_underlying(Fields::kPAKEVerifier)), PAKEVerifier)); + ReturnErrorOnFailure( + DataModel::Encode(writer, TLV::ContextTag(to_underlying(Fields::kPAKEPasscodeVerifier)), PAKEPasscodeVerifier)); ReturnErrorOnFailure(DataModel::Encode(writer, TLV::ContextTag(to_underlying(Fields::kDiscriminator)), discriminator)); ReturnErrorOnFailure(DataModel::Encode(writer, TLV::ContextTag(to_underlying(Fields::kIterations)), iterations)); ReturnErrorOnFailure(DataModel::Encode(writer, TLV::ContextTag(to_underlying(Fields::kSalt)), salt)); @@ -8740,8 +8741,8 @@ CHIP_ERROR DecodableType::Decode(TLV::TLVReader & reader) case to_underlying(Fields::kCommissioningTimeout): ReturnErrorOnFailure(DataModel::Decode(reader, commissioningTimeout)); break; - case to_underlying(Fields::kPAKEVerifier): - ReturnErrorOnFailure(DataModel::Decode(reader, PAKEVerifier)); + case to_underlying(Fields::kPAKEPasscodeVerifier): + ReturnErrorOnFailure(DataModel::Decode(reader, PAKEPasscodeVerifier)); break; case to_underlying(Fields::kDiscriminator): ReturnErrorOnFailure(DataModel::Decode(reader, discriminator)); diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h index aad029b966fa5e..c7c50b2d7f22e0 100644 --- a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h +++ b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h @@ -11050,7 +11050,7 @@ namespace OpenCommissioningWindow { enum class Fields { kCommissioningTimeout = 0, - kPAKEVerifier = 1, + kPAKEPasscodeVerifier = 1, kDiscriminator = 2, kIterations = 3, kSalt = 4, @@ -11064,7 +11064,7 @@ struct Type static constexpr ClusterId GetClusterId() { return Clusters::AdministratorCommissioning::Id; } uint16_t commissioningTimeout = static_cast(0); - chip::ByteSpan PAKEVerifier; + chip::ByteSpan PAKEPasscodeVerifier; uint16_t discriminator = static_cast(0); uint32_t iterations = static_cast(0); chip::ByteSpan salt; @@ -11083,7 +11083,7 @@ struct DecodableType static constexpr ClusterId GetClusterId() { return Clusters::AdministratorCommissioning::Id; } uint16_t commissioningTimeout = static_cast(0); - chip::ByteSpan PAKEVerifier; + chip::ByteSpan PAKEPasscodeVerifier; uint16_t discriminator = static_cast(0); uint32_t iterations = static_cast(0); chip::ByteSpan salt; diff --git a/zzz_generated/chip-tool/zap-generated/cluster/Commands.h b/zzz_generated/chip-tool/zap-generated/cluster/Commands.h index 617d112ed44026..e800abfb463e36 100644 --- a/zzz_generated/chip-tool/zap-generated/cluster/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/cluster/Commands.h @@ -3058,7 +3058,7 @@ class AdministratorCommissioningOpenCommissioningWindow : public ClusterCommand ClusterCommand("open-commissioning-window", credsIssuerConfig) { AddArgument("CommissioningTimeout", 0, UINT16_MAX, &mRequest.commissioningTimeout); - AddArgument("PAKEVerifier", &mRequest.PAKEVerifier); + AddArgument("PAKEPasscodeVerifier", &mRequest.PAKEPasscodeVerifier); AddArgument("Discriminator", 0, UINT16_MAX, &mRequest.discriminator); AddArgument("Iterations", 0, UINT32_MAX, &mRequest.iterations); AddArgument("Salt", &mRequest.salt); diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index ba21aaad6fbec5..b63301afac73fc 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -91537,7 +91537,7 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -91588,7 +91588,7 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -91629,7 +91629,7 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -91655,7 +91655,7 @@ class Test_TC_CADMIN_1_11Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -92103,7 +92103,7 @@ class Test_TC_CADMIN_1_15Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -92144,7 +92144,7 @@ class Test_TC_CADMIN_1_15Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -92239,7 +92239,7 @@ class Test_TC_CADMIN_1_15Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -93145,7 +93145,7 @@ class Test_TC_CADMIN_1_22Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 900U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -93182,7 +93182,7 @@ class Test_TC_CADMIN_1_22Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 901U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -93427,7 +93427,7 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -93545,7 +93545,7 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -93582,7 +93582,7 @@ class Test_TC_CADMIN_1_3Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -94151,7 +94151,7 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -94201,7 +94201,7 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -94271,7 +94271,7 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mIncorrectPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mIncorrectPakeVerifier.HasValue() ? mIncorrectPakeVerifier.Value() : chip::ByteSpan(chip::Uint8::from_const_char( "\x06\xc7\x56\xdf\xfc\xd7\x22\x65\x34\x52\xa1\x2d\xcd\x94\x5d\x8c\x54\xda\x2b\x0f\x3c\xbd\x1b" @@ -94294,7 +94294,7 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -94318,7 +94318,7 @@ class Test_TC_CADMIN_1_5Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -94895,7 +94895,7 @@ class Test_TC_CADMIN_1_9Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 900U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -95937,7 +95937,7 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -95974,7 +95974,7 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -96014,7 +96014,7 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -96051,7 +96051,7 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -96075,7 +96075,7 @@ class Test_TC_CADMIN_1_13Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -96405,7 +96405,7 @@ class Test_TC_CADMIN_1_24Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 180U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( @@ -96442,7 +96442,7 @@ class Test_TC_CADMIN_1_24Suite : public TestCommand ListFreer listFreer; chip::app::Clusters::AdministratorCommissioning::Commands::OpenCommissioningWindow::Type value; value.commissioningTimeout = 179U; - value.PAKEVerifier = mPakeVerifier.HasValue() + value.PAKEPasscodeVerifier = mPakeVerifier.HasValue() ? mPakeVerifier.Value() : chip::ByteSpan( chip::Uint8::from_const_char( diff --git a/zzz_generated/darwin-framework-tool/zap-generated/cluster/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/cluster/Commands.h index 1e576e960e6289..eb3b899ba2834f 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/cluster/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/cluster/Commands.h @@ -32597,7 +32597,7 @@ class AdministratorCommissioningOpenCommissioningWindow : public ClusterCommand : ClusterCommand("open-commissioning-window") { AddArgument("CommissioningTimeout", 0, UINT16_MAX, &mRequest.commissioningTimeout); - AddArgument("PAKEVerifier", &mRequest.PAKEVerifier); + AddArgument("PAKEPasscodeVerifier", &mRequest.PAKEPasscodeVerifier); AddArgument("Discriminator", 0, UINT16_MAX, &mRequest.discriminator); AddArgument("Iterations", 0, UINT32_MAX, &mRequest.iterations); AddArgument("Salt", &mRequest.salt); @@ -32616,7 +32616,8 @@ class AdministratorCommissioningOpenCommissioningWindow : public ClusterCommand params.timedInvokeTimeoutMs = mTimedInteractionTimeoutMs.HasValue() ? [NSNumber numberWithUnsignedShort:mTimedInteractionTimeoutMs.Value()] : nil; params.commissioningTimeout = [NSNumber numberWithUnsignedShort:mRequest.commissioningTimeout]; - params.pakeVerifier = [NSData dataWithBytes:mRequest.PAKEVerifier.data() length:mRequest.PAKEVerifier.size()]; + params.pakePasscodeVerifier = [NSData dataWithBytes:mRequest.PAKEPasscodeVerifier.data() + length:mRequest.PAKEPasscodeVerifier.size()]; params.discriminator = [NSNumber numberWithUnsignedShort:mRequest.discriminator]; params.iterations = [NSNumber numberWithUnsignedInt:mRequest.iterations]; params.salt = [NSData dataWithBytes:mRequest.salt.data() length:mRequest.salt.size()];