commit | 2835ce19d77fa179dc648041522ccfe4227ab51a | [log] [tgz] |
---|---|---|
author | Martin Lueker-Boden <martin.lueker-boden@wdc.com> | Fri Aug 19 09:02:18 2022 -0700 |
committer | Martin Lueker-Boden <47870387+martin-lueker@users.noreply.github.com> | Mon Aug 29 12:25:03 2022 -0700 |
tree | 3a2908960b0774487d000b148ff188c67c064bf8 | |
parent | 5c42f8c4fe3aa48d020c2f70421cf4062c08cc1d [diff] |
[entropy_src/rtl] Fine-tune SHA3 in FW_OV mode. The PR makes a couple of minor adjustments after #14390, notably to revert the FIFO clear mechanism in FW_OV_INSERT_ENTROPY mode. Both changes treat minor corner cases, yet ones that come up often in regression. FW_OV mode requires special treatment as the FW_OV write FIFO does not apply any backpressure when the IP is disabled (which the RNG mode does have), thus we cannot assume that the user will not _try_ to insert entropy during this time. This is a narrow corner case, and one which generates an exception, but it is still important for the DUT to behave in a predictable fashion. This commit also corrects the cases where the user inserts entropy at a valid time, but then disables the DUT before the SHA3 block can accept it. This is technically legal, and should result in the word being accepted and remembered by the SHA3 block. Signed-off-by: Martin Lueker-Boden <martin.lueker-boden@wdc.com>
OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can access it online at docs.opentitan.org.
Have a look at CONTRIBUTING and our documentation on project organization and processes for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).