[rom_ext_e2e] More ownership transfer tests #24479
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
bad_unlock_test
; Fixes Verify that ROM_EXT rejects an OwnershipUnlock operation with the wrong key. #24466bad_activate_test
; Fixes Verify that ROM_EXT rejects an OwnershipActivate operation with the wrong key. #24467bad_owner_block_test
; Fixes Verify that ROM_EXT rejects a bad ownership configuration. #24468bad_app_key_test
; Fixes Verify that ROM_EXT will not execute code signed with the wrong key. #24469transfer_endorsed_test
; Fixes Verify that ROM_EXT can unlock and transfer ownership to a specific owner. #24470bad_endorsee_test
; Fixes Verify that ROM_EXT rejects ownership transfer to a non-endorsed owner. #24471locked_update_test
; Fixes Verify that ROM_EXT accepts an owner configuration update. #24472bad_locked_update_test
&bad_locked_update_no_exec_test
; Fixes Verify that ROM_EXT rejects an owner configuration update. #24473Note: This PR# depends on #24419; you need only review the last commit.