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

[cherry-pick] #22837 and #22810 to earlgrey_es_sival branch #22968

Merged

Conversation

timothytrippel
Copy link
Contributor

See #22837 and #22810 for details.

This was split off from #22907 due to CI issues.

This adds a CRC over the host-->device UJSON communication to improve
test reliability.

Signed-off-by: Tim Trippel <[email protected]>
(cherry picked from commit b561be4)
The LC read test utility was not waiting for the lc_ctrl to be ready to
receive transactions before reading the LC state. This increases the
reliability of this utility, and test cases that use it, specifically,
the `ft_provision` test case.

Additionally, this move the `ft_provision` silicon exec_env to the
`teacup` interface (a minor cleanup).

Signed-off-by: Tim Trippel <[email protected]>
(cherry picked from commit 8312753)
This refactor's the `personalize_functest` to optimize code reuse.

Signed-off-by: Tim Trippel <[email protected]>
(cherry picked from commit fcb75f7)
This refactors the OTBN boot services library, and silicon_creator
keymgr driver to enable generating two types attestation keys:
1. DICE keys, that are based on the attestation side of the key ladder,
   and
2. TPM keys, that are based on the sealing side of the key ladder.

This fixes lowRISC#22622.

Signed-off-by: Tim Trippel <[email protected]>
(cherry picked from commit 641d4e0)
The `otbn_boot_services_functest` must run in the ROM_EXT slot since it
manipulates the keygmr state, which normally is done by the ROM_EXT.

This partially addresses lowRISC#21706.

Signed-off-by: Tim Trippel <[email protected]>
(cherry picked from commit 698b5a6)
This refactors the dice lib to optimize code reuse and follow lib asset
naming conventions.

Signed-off-by: Tim Trippel <[email protected]>
(cherry picked from commit b217f41)
@timothytrippel timothytrippel merged commit 5fc9807 into lowRISC:earlgrey_es_sival May 4, 2024
29 checks passed
@timothytrippel timothytrippel deleted the cherry-pick-2 branch May 4, 2024 06:00
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