[entropy_src/rtl] optional new drop points when entropy overflows FIFOs
Requirements have changed such that the drop point where new entropy cannot be consumed by entropy_src should be changed. A proposal would be to make this selectable (config bits). The choices would be the current input to the FIFO chain, the tail of the final FIFO (keep prior entropy seeds), and the head of the final FIFO (always push old entropy seeds out).
The attached diagram shows where these points are in the entropy flow. drop_point_diag.pdf
For entropy meeting discussion: @tjaychen @martin-lueker @cdgori @felixmiller @moidx
forget @senelson7 @zi-v
Meeting consensus was that this should not be programmable, but rather just fixed, and that option #2 was preferred. Since this is trivial, that will be the direction of this issue.
Does "The choices would be the current input to the FIFO chain" drop point mean after the health tests and before the '2kB' FIFO?
not quite. If you click on mark's diagram, you'll see that drop point 2 is after the final FIFO. Which means data will get healthtested, conditioned via the sha3 and deposited into the FIFO. An older entry in the FIFO will simply just be evicted.
@mwbranstad let me know if i misunderstood.
The current drop point is at the very first FIFO, before the health tests. The proposed change is drop point #2, as @tjaychen has properly described.
@zi-v thanks Mark, this looks good to me.
LGTM as well. Thanks.
As we discussed this morning, LGTM.