Skip to content

Conversation

shubhamdp
Copy link
Contributor

  • ESP32: Add APIs to get random values from secure cert partition

  • address review from gemini

  • add some comments and fix names

Summary

Back porting #40563 to v1.4-branch

Related issues

Testing

Flashed a partition which contains the random values and verified that the same random values are being read using the newly introduced APIs.

…ect-chip#40563)

* ESP32: Add APIs to get random values from secure cert partition

* address review from gemini

* add some comments and fix names
@shubhamdp shubhamdp requested a review from a team as a code owner August 17, 2025 09:56
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds APIs to retrieve two 32-byte fixed random values from the secure certificate partition on ESP32 devices. The changes introduce new MatterTLVSubType enum values for these random values and add GetFixedRandom1 and GetFixedRandom2 static methods to ESP32SecureCertDataProvider. The implementation is straightforward and consistent with the existing code style in the file. The changes look good and have been implemented correctly.

@shubhamdp shubhamdp changed the title ESP32: Add APIs to get random values from secure cert partition (#40563) [v1.4] ESP32: Add APIs to get random values from secure cert partition (#40563) Aug 18, 2025
@andy31415 andy31415 merged commit 2acb65b into project-chip:v1.4-branch Aug 19, 2025
61 of 73 checks passed
@shubhamdp shubhamdp deleted the esp32-sec-cert-randoms-1-4 branch August 19, 2025 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants