diff --git a/examples/platform/nxp/doc/manufacturing_flow.md b/examples/platform/nxp/doc/manufacturing_flow.md index e78d3e01394ac5..23bbb92c7cd6e4 100644 --- a/examples/platform/nxp/doc/manufacturing_flow.md +++ b/examples/platform/nxp/doc/manufacturing_flow.md @@ -80,5 +80,10 @@ It is possible for a final stage application to generate its own manufacturing d Implementation of manufacturing data provisioning has been validated using test certificates generated by OpenSSL 1.1.1l. Also, demo DAC, PAI and PAA certificates needed in case _chip_with_factory_data=1_ is used can be found in examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs. - These demo certificates are working with the CD installed in CHIPProjectConfig.h. + + dut1/dut2 folders contains different DACs/Private Keys and can be used for testing topologies with 2 DUTS. + + out_dut1.bin/out2_dut2.bin contains the corresponding DACs/PAIs generated using generate_nxp_chip_factory_bin.py script. The discriminator is 14014 and the passcode is 1000. + + These demo certificates are working with the CDs installed in CHIPProjectConfig.h. diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/Chip-DAC-NXP-1037-A220-Cert.der b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/Chip-DAC-NXP-1037-A220-Cert.der deleted file mode 100644 index 0c05d098af4183..00000000000000 Binary files a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/Chip-DAC-NXP-1037-A220-Cert.der and /dev/null differ diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/Chip-DAC-NXP-1037-A220-Key.der b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/Chip-DAC-NXP-1037-A220-Key.der deleted file mode 100644 index 02499dafe1d872..00000000000000 Binary files a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/Chip-DAC-NXP-1037-A220-Key.der and /dev/null differ diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/Chip-PAA-NXP-Cert.der b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/Chip-PAA-NXP-Cert.der deleted file mode 100644 index 01c845ea77fe7e..00000000000000 Binary files a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/Chip-PAA-NXP-Cert.der and /dev/null differ diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/Chip-PAI-NXP-1037-A220-Cert.der b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/Chip-PAI-NXP-1037-A220-Cert.der deleted file mode 100644 index 511f0a06dc1dfb..00000000000000 Binary files a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/Chip-PAI-NXP-1037-A220-Cert.der and /dev/null differ diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut1/Chip-DAC-NXP-1037-A220-Cert.der b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut1/Chip-DAC-NXP-1037-A220-Cert.der new file mode 100755 index 00000000000000..80eb11aa573fee Binary files /dev/null and b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut1/Chip-DAC-NXP-1037-A220-Cert.der differ diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut1/Chip-DAC-NXP-1037-A220-Cert.pem b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut1/Chip-DAC-NXP-1037-A220-Cert.pem new file mode 100755 index 00000000000000..e467b093f6a28a --- /dev/null +++ b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut1/Chip-DAC-NXP-1037-A220-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5jCCAYygAwIBAgIIZgPMHtK+Wn4wCgYIKoZIzj0EAwIwOzEjMCEGA1UEAwwa +TWF0dGVyIERldmVsb3BtZW50IFBBSSBOWFAxFDASBgorBgEEAYKifAIBDAQxMDM3 +MB4XDTIyMDYyMTEyMzUwMFoXDTQyMDYyMTEyMzQ1OVowVTEnMCUGA1UEAwweTWF0 +dGVyIERldmVsb3BtZW50IERBQyBOWFAgRFUxMRQwEgYKKwYBBAGConwCAQwEMTAz +NzEUMBIGCisGAQQBgqJ8AgIMBEEyMjAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNC +AAQ2xRRlWgCVrPUWGVwwXjd7BGCfeoxR43oFf0T955Yhyb62bfjGyxoqgVRhALev +xZ1HCOZFFgAArF+pTwTl9xHMo2AwXjAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQE +AwIHgDAdBgNVHQ4EFgQUBJFdqWUeMYS6IHLXMfkD8SnetdEwHwYDVR0jBBgwFoAU +fRAzA1R+yGDsCvy0Xa92l7FVBAcwCgYIKoZIzj0EAwIDSAAwRQIgTjcPmGhCLfkW +GmIyGbVmZlYjRcTy2PdkwPKRomH3KhkCIQCEqPhvzv7vQ8IHN/Fcrxx/7PJspPWX +oqjcqu2kLbw1gg== +-----END CERTIFICATE----- diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut1/Chip-DAC-NXP-1037-A220-Key.der b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut1/Chip-DAC-NXP-1037-A220-Key.der new file mode 100755 index 00000000000000..f0943691f6e016 Binary files /dev/null and b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut1/Chip-DAC-NXP-1037-A220-Key.der differ diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut1/Chip-DAC-NXP-1037-A220-Key.pem b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut1/Chip-DAC-NXP-1037-A220-Key.pem new file mode 100755 index 00000000000000..7e45934095653a --- /dev/null +++ b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut1/Chip-DAC-NXP-1037-A220-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIKmuMMUZ81nVyLaRPvz66ExigTk8agUMb2yICgB0rv9CoAoGCCqGSM49 +AwEHoUQDQgAENsUUZVoAlaz1FhlcMF43ewRgn3qMUeN6BX9E/eeWIcm+tm34xssa +KoFUYQC3r8WdRwjmRRYAAKxfqU8E5fcRzA== +-----END EC PRIVATE KEY----- diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut1/out_dut1.bin b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut1/out_dut1.bin new file mode 100644 index 00000000000000..44370e1deb3a2f Binary files /dev/null and b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut1/out_dut1.bin differ diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut2/Chip-DAC-NXP-1037-A220-Cert.der b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut2/Chip-DAC-NXP-1037-A220-Cert.der new file mode 100755 index 00000000000000..54dd60e3afc3c4 Binary files /dev/null and b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut2/Chip-DAC-NXP-1037-A220-Cert.der differ diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut2/Chip-DAC-NXP-1037-A220-Cert.pem b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut2/Chip-DAC-NXP-1037-A220-Cert.pem new file mode 100755 index 00000000000000..b1ca72c3fd85e5 --- /dev/null +++ b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut2/Chip-DAC-NXP-1037-A220-Cert.pem @@ -0,0 +1,13 @@ +-----BEGIN CERTIFICATE----- +MIIB5jCCAYygAwIBAgIIKgA7aa0WwLIwCgYIKoZIzj0EAwIwOzEjMCEGA1UEAwwa +TWF0dGVyIERldmVsb3BtZW50IFBBSSBOWFAxFDASBgorBgEEAYKifAIBDAQxMDM3 +MB4XDTIyMDYyMTEyMzUwMFoXDTQyMDYyMTEyMzQ1OVowVTEnMCUGA1UEAwweTWF0 +dGVyIERldmVsb3BtZW50IERBQyBOWFAgRFUyMRQwEgYKKwYBBAGConwCAQwEMTAz +NzEUMBIGCisGAQQBgqJ8AgIMBEEyMjAwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNC +AATt1g9trweSBeebJqzVEKEGbqb9d25stXL7rYpDDJW3ReN6fsZPE63wUNfCAR4r +1C5XLeDZ9iWik+aOjk6VrIP9o2AwXjAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQE +AwIHgDAdBgNVHQ4EFgQU/f51OzcNZuWpWCe/fJTPx+WHtO0wHwYDVR0jBBgwFoAU +fRAzA1R+yGDsCvy0Xa92l7FVBAcwCgYIKoZIzj0EAwIDSAAwRQIgH1isFOQqCvx7 +8qnqgWX+q1G51r75/T8GivnrXL0rXGUCIQCzb09PQFpbI2/ByhrcfzgnQ21IJU9o +oexByare1eLdKQ== +-----END CERTIFICATE----- diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut2/Chip-DAC-NXP-1037-A220-Key.der b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut2/Chip-DAC-NXP-1037-A220-Key.der new file mode 100755 index 00000000000000..a8e3adccff66d4 Binary files /dev/null and b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut2/Chip-DAC-NXP-1037-A220-Key.der differ diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut2/Chip-DAC-NXP-1037-A220-Key.pem b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut2/Chip-DAC-NXP-1037-A220-Key.pem new file mode 100755 index 00000000000000..df1f3ce731ebbf --- /dev/null +++ b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut2/Chip-DAC-NXP-1037-A220-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIDHJPAvGN+VO8BjTlewIRqc6zNpduVXS4g+t22jGRqcSoAoGCCqGSM49 +AwEHoUQDQgAE7dYPba8HkgXnmyas1RChBm6m/XdubLVy+62KQwyVt0Xjen7GTxOt +8FDXwgEeK9QuVy3g2fYlopPmjo5OlayD/Q== +-----END EC PRIVATE KEY----- diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut2/out_dut2.bin b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut2/out_dut2.bin new file mode 100644 index 00000000000000..f47a8b4c53a908 Binary files /dev/null and b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/dut2/out_dut2.bin differ diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/paa/Chip-PAA-NXP-Cert.der b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/paa/Chip-PAA-NXP-Cert.der new file mode 100755 index 00000000000000..6cac4f1b9b2bc4 Binary files /dev/null and b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/paa/Chip-PAA-NXP-Cert.der differ diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/paa/Chip-PAA-NXP-Cert.pem b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/paa/Chip-PAA-NXP-Cert.pem new file mode 100755 index 00000000000000..afe76f7d88289e --- /dev/null +++ b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/paa/Chip-PAA-NXP-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBrzCCAVagAwIBAgIIeg5y/dGw1n4wCgYIKoZIzj0EAwIwKjEoMCYGA1UEAwwf +TWF0dGVyIERldmVsb3BtZW50IFBBQSBOWFAgRFVUMTAeFw0yMjA2MjExMjM1MDBa +Fw00MjA2MjExMjM0NTlaMCoxKDAmBgNVBAMMH01hdHRlciBEZXZlbG9wbWVudCBQ +QUEgTlhQIERVVDEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQfWsi2VGaKXnUU +y5RGlxG6KpWa1Ah4kH4Y04awekKIP40ThTehyFjA5Eodk3iKHMWToql6qgb9bGI3 +dlZqcaJ/o2YwZDASBgNVHRMBAf8ECDAGAQH/AgEBMA4GA1UdDwEB/wQEAwIBBjAd +BgNVHQ4EFgQUGCGzIijRrTSwo2WQ/vNpHwXGDigwHwYDVR0jBBgwFoAUGCGzIijR +rTSwo2WQ/vNpHwXGDigwCgYIKoZIzj0EAwIDRwAwRAIgLrcK1ajZ9t3wFdvJSlTD +Pxs1vX9Yupo6gkTYPT402/gCIHI0t7/vBtbrIzkQjECaP8RKjZBRnHZMJKmq/iC1 +TE2d +-----END CERTIFICATE----- diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/paa/Chip-PAA-NXP-Key.pem b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/paa/Chip-PAA-NXP-Key.pem new file mode 100755 index 00000000000000..c23bda31c672bb --- /dev/null +++ b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/paa/Chip-PAA-NXP-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEIGCbZQaonIEp+xqd8cBnOBetY0DWNBhkZj6SV1HXqhtnoAoGCCqGSM49 +AwEHoUQDQgAEH1rItlRmil51FMuURpcRuiqVmtQIeJB+GNOGsHpCiD+NE4U3ochY +wORKHZN4ihzFk6KpeqoG/WxiN3ZWanGifw== +-----END EC PRIVATE KEY----- diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/pai/Chip-PAI-NXP-1037-A220-Cert.der b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/pai/Chip-PAI-NXP-1037-A220-Cert.der new file mode 100755 index 00000000000000..752de457abb0bf Binary files /dev/null and b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/pai/Chip-PAI-NXP-1037-A220-Cert.der differ diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/pai/Chip-PAI-NXP-1037-A220-Cert.pem b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/pai/Chip-PAI-NXP-1037-A220-Cert.pem new file mode 100755 index 00000000000000..851c024c11355a --- /dev/null +++ b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/pai/Chip-PAI-NXP-1037-A220-Cert.pem @@ -0,0 +1,12 @@ +-----BEGIN CERTIFICATE----- +MIIBwjCCAWegAwIBAgIIVqlFNQn5J8owCgYIKoZIzj0EAwIwKjEoMCYGA1UEAwwf +TWF0dGVyIERldmVsb3BtZW50IFBBQSBOWFAgRFVUMTAeFw0yMjA2MjExMjM1MDBa +Fw00MjA2MjExMjM0NTlaMDsxIzAhBgNVBAMMGk1hdHRlciBEZXZlbG9wbWVudCBQ +QUkgTlhQMRQwEgYKKwYBBAGConwCAQwEMTAzNzBZMBMGByqGSM49AgEGCCqGSM49 +AwEHA0IABO1YVFx9LQaA2mcD5DnpA0QTHmotGERCvb8ujV7k9h9VNQ9/4/moeLAa +aXmeEhbKQSfmffTtIkg4sbou5Lb/TW2jZjBkMBIGA1UdEwEB/wQIMAYBAf8CAQAw +DgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBR9EDMDVH7IYOwK/LRdr3aXsVUEBzAf +BgNVHSMEGDAWgBQYIbMiKNGtNLCjZZD+82kfBcYOKDAKBggqhkjOPQQDAgNJADBG +AiEAzaTJNdqkVxeRSuVEMhQj6TytmpcozfWQ4j3qAVETw0YCIQCmRN7DwYCowfAx +Czx5cgJwHbqbEVy5C39voNFTAMouFg== +-----END CERTIFICATE----- diff --git a/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/pai/Chip-PAI-NXP-1037-A220-Key.pem b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/pai/Chip-PAI-NXP-1037-A220-Key.pem new file mode 100755 index 00000000000000..8fdf7698dbc1e2 --- /dev/null +++ b/examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/pai/Chip-PAI-NXP-1037-A220-Key.pem @@ -0,0 +1,5 @@ +-----BEGIN EC PRIVATE KEY----- +MHcCAQEEICQz6OJVkUzCuN9bJOvSBzcO/YZke3JfahE5kMVTCv2moAoGCCqGSM49 +AwEHoUQDQgAE7VhUXH0tBoDaZwPkOekDRBMeai0YREK9vy6NXuT2H1U1D3/j+ah4 +sBppeZ4SFspBJ+Z99O0iSDixui7ktv9NbQ== +-----END EC PRIVATE KEY-----