[entropy_src, OTBN] Consider renaming or removing the FIPS signal #20949
Labels
Component:RTL
Earlgrey-PROD Candidate
Temporary label to triage issues into Earlgrey-PROD Milestones
Hotlist:Security
Security Opinion Needed
IP:entropy_src
IP:otbn
Subsystem:Entropy
entropy_src, csrng, or edn related issues
Milestone
Description
The entropy complex can be operated in a FIPS-compatible manner (SP 800-90B) using the provided HW elements (e.g. health tests in entropy_src) or through a FW override / bypass mode. This is helpful for flexibility regarding (additional) health testing and bit width of raw data samples.
There is a FIPS compliance HW bit for entropy which is deasserted in case of FW bypass and single bit mode (asserted otherwise).
It might make sense to remove said FIPS bit and instead manage the FIPS state of the entropy complex in SW. Alternatively, the conditions for assertion should at least be reviewed.
Note that FIPS-compatible random numbers are needed for selected purposes.
In OTBN, there is an automatically asserted error upon using random numbers with a deasserted FIPS signal. This is inconvenient in case of FW FIPS mode. Depending on changes to the entropy_src this needs to be revisited.
Issue created after discussion b/w: @moidx @johannheyszl VadimS @vogelpi @zi-v @h-filali
The text was updated successfully, but these errors were encountered: