Skip to content

Commit

Permalink
[aes/dv] Test plan updates for AES GCM
Browse files Browse the repository at this point in the history
Signed-off-by: Pirmin Vogel <[email protected]>
  • Loading branch information
vogelpi committed Nov 12, 2024
1 parent 537e756 commit 5006f70
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions hw/ip/aes/data/aes_testplan.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,18 @@
stage: V2
tests: ["aes_stress_all"]
}
{
name: gcm_save_and_restore
desc: '''
Verify that saving and restoring contexts in GCM works correctly.
- When triggered, two different scenarios are possible:
- Save and restore the same context
- Save and restore with a different message scheduled in between
- This feature may be randomly exercised during tests, alternatively a dedicated but randomized test sequence may be used.
'''
stage: V2
tests: []
}
{
name: reseeding
desc: '''
Expand Down Expand Up @@ -181,6 +193,18 @@ covergroups: [
All valid combinations of these will be crossed.
'''
}
{
name: ctrl_gcm_reg_cg
desc: '''
Covers that all valid settings have been tested.
Further more it covers that also illegal values have been tested.
Individual control settings that are covered include:
- phase (all phases including illegal values)
- restore after init/aad/text
- save after aad/text
- num_valid_bytes (all valid numbers from 1 to 16 for the last AAD and last TEXT block, all invalid values)
'''
}
{
name: ctrl_aux_cg
desc: '''
Expand Down

0 comments on commit 5006f70

Please sign in to comment.