Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hmac,rtl] HMAC FSM fixes for SAR #23432

Merged
merged 1 commit into from
Jun 2, 2024

Conversation

gdessouky
Copy link
Contributor

@gdessouky gdessouky commented Jun 1, 2024

This implements RTL changes to the HMAC FSM to handle context switching (transitions to StDone to wait on hash result, and then StIdle from where every context ought to start/continue) and aligns triggering of idle and done. With this change, the SAR smoke test passes on @martin-velay's SAR DV branch (#23116) which tests out SAR across 2 contexts (HMAC + same digest size 256).

This hasn't been tested out thoroughly, and I think other issues will come up as DV proceeds. I'm also running a block-level regression at my end. @ballifatih this should close this issue #23352, but I wouldn't be surprised if something else comes up next.

This implements changes to the HMAC FSM to handle SAR
and aligns triggering of idle and done.

Signed-off-by: Ghada Dessouky <[email protected]>
Copy link
Contributor

@andreaskurth andreaskurth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thx @gdessouky and @martin-velay

@andreaskurth andreaskurth merged commit f489ff7 into lowRISC:master Jun 2, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants