forked from lowRISC/opentitan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[csrng] Add per-instance internal state read enable
Previously, the design featured a single read enable switch plus an OTP fuse controlling read access for all three CTR_DRBG instances. This is non-ideal as firmware may want to perform known-answer testing of individual instances after enabling and then lock down instances individually. This commit thus adds a per-instance internal state read enable on top of the previously implemented mechanisms. After enabling, the internal state of all instances can be read and firmware can disable read access on a per-instance basis. Once firmware is done with the known-answer testing, it can lock the per-instance internal state read enable settings until the next reset. This resolves lowRISC#21141. Signed-off-by: Pirmin Vogel <[email protected]>
- Loading branch information
1 parent
ef421b8
commit fb67c57
Showing
7 changed files
with
302 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.