Skip to content

Commit

Permalink
[chip, dv] Update test description of chip_sw_keymgr_sideload_kmac_error
Browse files Browse the repository at this point in the history
Addressed the TBD in the testplan

Signed-off-by: Weicai Yang <[email protected]>
  • Loading branch information
weicaiyang committed Dec 2, 2022
1 parent d8ebe91 commit eac52c7
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions hw/top_earlgrey/data/chip_testplan.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -2434,13 +2434,18 @@
{
name: chip_sw_keymgr_sideload_kmac_error
desc: '''
Verify the effect of KMAC returning an error during keymgr sideload operation.
Verify the effect of KMAC returning an error during a keymgr operation.

- Follow the steps in `chip_sw_keymgr_sideload_kmac` test.
- Configure keymgr to enter any of the 3 working states.
- Issue a keymgr operations.
- While the KMAC is actively computing the digest, glitch the KMAC app sparse FSM to
trigger a fault.
- Verify that KMAC returns an error signal to the keymgr.
- TBD
- Verify that KMAC returns an error signal to the keymgr via checking keymgr CSRs, when
the operation is done:
- Check `op_status` is set to `DONE_ERROR`.
- Check `fault_status.kmac_done` is set to 1.
- Note: at end of the C test, issue a reset if the test is running in DV, otherwise, the
fatal alert will prevent the simulation from finishing.
'''
stage: V3
tests: []
Expand Down

0 comments on commit eac52c7

Please sign in to comment.