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

Add functions to validate a DPE Instance #183

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

sree-revoori1
Copy link
Contributor

This commit adds a function that validates a DPEInstance's context array, to ensure it represents a properly-formed tree. We also add functions to retrieve the current tci from a context, and get the index of a context whose locality and tci_type are equal to some parameters. These functions will be called from caliptra rt-fw when it validates the DPE instance loaded from SRAM upon a warm reset.

dpe/src/dpe_instance.rs Outdated Show resolved Hide resolved
dpe/src/dpe_instance.rs Outdated Show resolved Hide resolved
dpe/src/dpe_instance.rs Show resolved Hide resolved
This commit adds a function that validates a DPEInstance's
context array, to ensure it represents a properly-formed
tree. This function will be called from caliptra rt-fw when it validates
the DPE instance loaded from SRAM upon a warm reset.
@jhand2 jhand2 merged commit 729f517 into chipsalliance:main Sep 27, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants