Skip to content

Conversation

@cfrantz
Copy link
Contributor

@cfrantz cfrantz commented Dec 19, 2024

This is a manual cherry-pick of #24479 to master.

The tests added by this change are all simple variations on the ownership transfer test added in #24419. They involve verifying the different modes and error conditions (e.g. using the wrong key).

Adds the following tests:

Signed-off-by: Chris Frantz [email protected]
(cherry picked from commit 4d520bd)

@cfrantz cfrantz requested a review from a team as a code owner December 19, 2024 19:47
@moidx moidx removed the request for review from a team December 19, 2024 23:11
The tests added by this change are all simple variations on
the ownership transfer test added in lowRISC#24419.  They involve verifying the
different modes and error conditions (e.g. using the wrong key).

Adds the following tests:
- `bad_unlock_test`; Fixes lowRISC#24466
- `bad_activate_test`; Fixes lowRISC#24467
- `bad_owner_block_test`; Fixes lowRISC#24468
- `bad_app_key_test`; Fixes lowRISC#24469
- `transfer_endorsed_test`; Fixes lowRISC#24470
- `bad_endorsee_test`; Fixes lowRISC#24471
- `locked_update_test`; Fixes lowRISC#24472
- `bad_locked_update_test` & `bad_locked_update_no_exec_test`; Fixes lowRISC#24473

Signed-off-by: Chris Frantz <[email protected]>
(cherry picked from commit 4d520bd)
@cfrantz cfrantz merged commit 32a567c into lowRISC:master Jan 15, 2025
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment