Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[hmac, rtl] Do not skip padding after a hash stop command
This commit removes some conditional FSM states transition that were deemed undesirable in `prim_sha2_pad`, see #23936. It made it possible to cancel an ongoing padding operation, which is disallowed by the HMAC module. As a side-effect, the removal plugs some existing FSM transition coverage holes in `prim_sha2_pad` whose manual exclusions can be removed as well. This change makes it impossible to transition into the `StFifoReceive` state from either `StPad80`, `StPad00`, `StLenHi` or `StLenLo` by asserting the `hash_go` signal. Signed-off-by: Andrea Caforio <[email protected]>
- Loading branch information