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

[csrng/edn/rtl] Ensure enable in every state in main fsms #14534

Merged
merged 1 commit into from
Aug 24, 2022

Conversation

senelson7
Copy link
Contributor

Add enable into every state in csrng & edn main fsms.

Signed-off-by: Steve Nelson [email protected]

@@ -193,7 +195,9 @@ module csrng_cmd_stage import csrng_pkg::*; #(
.cnt_next_o(),
.err_o(cmd_gen_cnt_err_o)
);


Choose a reason for hiding this comment

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

⚠️ [verible-verilog-lint] reported by reviewdog 🐶
Remove trailing spaces. [Style: trailing-spaces] [no-trailing-spaces]

Copy link
Contributor

@mwbranstad mwbranstad left a comment

Choose a reason for hiding this comment

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

LGTM

@mwbranstad mwbranstad merged commit 98b4cad into lowRISC:master Aug 24, 2022
@senelson7 senelson7 deleted the rtl branch August 29, 2022 13:23
@tjaychen tjaychen mentioned this pull request Sep 14, 2022
19 tasks
vogelpi added a commit to vogelpi/opentitan that referenced this pull request Nov 16, 2022
The reverted commit was originally introduced as part of
lowRISC#14410 to work around a temporary issue until
lowRISC#14534 got merged. It seems we forgot to remove that
temporary work around before merging the PR.

The workaround is critical because it weakens a security countermeasure
inside CSRNG: errors injected into the command stage FSMs are no longer
fatal. By disabling and re-enabling the module these FSMs can be made to
leave the "terminal" error state.

For this reason, we need to remove this workaround. This reverts commit
f4df12f.

Signed-off-by: Pirmin Vogel <[email protected]>
vogelpi added a commit to vogelpi/opentitan that referenced this pull request Nov 16, 2022
The reverted commit was originally introduced as part of
lowRISC#14410 to work around a temporary issue until
lowRISC#14534 got merged. It seems we forgot to remove that
temporary workaround before merging the PR.

The workaround is critical because it weakens a security countermeasure
inside CSRNG: errors injected into the command stage FSMs are no longer
fatal. By disabling and re-enabling the module these FSMs can be made to
leave the "terminal" error state.

For this reason, we need to remove this workaround. This reverts commit
f4df12f.

Signed-off-by: Pirmin Vogel <[email protected]>
vogelpi added a commit that referenced this pull request Nov 17, 2022
The reverted commit was originally introduced as part of
#14410 to work around a temporary issue until
#14534 got merged. It seems we forgot to remove that
temporary workaround before merging the PR.

The workaround is critical because it weakens a security countermeasure
inside CSRNG: errors injected into the command stage FSMs are no longer
fatal. By disabling and re-enabling the module these FSMs can be made to
leave the "terminal" error state.

For this reason, we need to remove this workaround. This reverts commit
f4df12f.

Signed-off-by: Pirmin Vogel <[email protected]>
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