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.
[keymgr,keymgr_dpe] Change reseed counter to count PRNG updates inste…
…ad of cycles Previously, the reseed counter was counting clock cycles which was problematic for the following reasons: - Once started, the counter couldn't be stopped anymore and keymgr would repeatedly request entropy even if being completely idle. This is bad for power. - The number of clock cycles since the last reseed operation is no good indication for the seed lifetime. Therefore, this commit changes the design to only advance the counter when the PRNG is updated. Such updates only happen while keymgr is busy and the number of PRNG updates is a more accurate measure for the seed lifetime. Co-authored-by: Andreas Kurth <[email protected]> Signed-off-by: Pirmin Vogel <[email protected]>
- Loading branch information
Showing
5 changed files
with
38 additions
and
14 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
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
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