lowRISC / lowRISC/opentitan

[entropy_src] Enabling ENTROPY_DATA prevents CSRNG from getting entropy

Open
#23,947 4 comments 0 reactions 1 assignee Claimed by @vogelpi View on GitHub
IP:entropy_src Subsystem:Entropy Type:FutureRelease Type:Question
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

### Description

When ENTROPY_DATA register is enabled for software, CSRNG can no longer be instantiated with entropy directly from entropy source ([flag0=false](https://opentitan.org/book/hw/ip/csrng/doc/theory_of_operation.html#command-description)). While this is [documented behavior](https://opentitan.org/book/hw/ip/entropy_src/doc/theory_of_operation.html#routing-entropy-to-firmware), it is not desirable.
Current workaround - withdraw entropy in software and provide it with instantiate command to CSRNG (both for software and for EDN use), but it drops FIPS bit.

@moidx , @vogelpi

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.