Skip to content

Commit

Permalink
Revert "Added bazel target for aes_interrupt_encr"
Browse files Browse the repository at this point in the history
This reverts commit 607e841.
Signed-off-by: Ramesh Prakash <[email protected]>
  • Loading branch information
rprakas-gsc committed Jan 11, 2025
1 parent 3f88f6d commit c108c17
Showing 1 changed file with 47 additions and 2 deletions.
49 changes: 47 additions & 2 deletions hw/top_earlgrey/data/ip/chip_aes_testplan.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
stage: V2
si_stage: SV3
lc_states: ["PROD"]
tests: ["chip_sw_aes_prng_reseed"]
tests: []
bazel: ["//sw/device/tests:aes_prng_reseed_test"]
}
{
Expand Down Expand Up @@ -267,9 +267,54 @@
stage: V2
si_stage: SV3
lc_states: ["PROD"]
tests: ["chip_sw_aes_force_prng_reseed"]
tests: []
bazel: ["//sw/device/tests:aes_force_prng_reseed_test"]
}
{
name: chip_sw_aes_stall_test
desc: '''Verify that the AES module's stall bit assertion
when multiple input blocks are loaded without reading
output data, and resumes encryption once the output data is read.

Procedure:
- Initialize the AES.
- Configure the AES encryption operation with the following settings:
- Operation: Encrypt
- Mode: ECB
- Key Length: 128 bits
- Key Provider: Software-provided key
- Mask Reseeding: Reseed per block
- Manual Operation: Auto
- Reseed on Key Change: Enabled
- Force Masks: Enabled
- Generate an AES key and load it for encryption.
- Prepare input blocks with random plaintext data.
- Load multiple blocks into AES without reading output data to simulate
a stall condition.
- Verify that `kDifAesStatusStall` is set.
- Once the AES is stalled, read the output blocks one by one.
- Verify that reading the output clears the stall condition.
- Ensure the AES encryption operation completes successfully
and that the AES module reaches the idle state at the end of the test.

Expected Outcome:
- AES enters a stall condition when multiple input blocks are loaded without
reading output.
- Reading the output clears the stall condition, allowing AES to resume
encryption.
- The test verifies correct handling of the stall condition and that
the AES operation completes as expected.
'''
features: [
"AES.MODE.ECB",
"AES.STATUS.STALL",
]
stage: V3
si_stage: SV3
lc_states: ["PROD"]
tests: []
bazel: ["//sw/device/tests:aes_stall_test"]
}
{
name: chip_sw_aes_idle
desc: '''Verify AES idle signaling to clkmgr.
Expand Down

0 comments on commit c108c17

Please sign in to comment.