opentitan icon indicating copy to clipboard operation
opentitan copied to clipboard

[hw/entropy] Integrity of random bits

Open moidx opened this issue 5 years ago • 6 comments

Parity along the data may be sufficient for checking entropy seed and output coming out of each stage. There are additional checks that could be added to ensure that the level of delivered entropy is within a reasonable range.

@tjaychen to provide inputs on scope and priority.

moidx avatar May 14 '21 20:05 moidx

@eunchan, @msfschaffner - Miguel pointed out what we do need to figure out integrity for entropy network.

dsandrs avatar May 26 '21 23:05 dsandrs

looping in WD as well @martin-lueker @mwbranstad

msfschaffner avatar May 27 '21 19:05 msfschaffner

which part of the "network" are you thinking about checking. The seed coming out of entropy_src has been checked and squeezed as it emerges. Are you thinking of added a parity bit to ride along, or something else.

mwbranstad avatar May 27 '21 20:05 mwbranstad

This would be more along the lines of a transmission integrity scheme that is capable of detecting bit errors in the distribution network (i.e. added parity to ride along).

msfschaffner avatar May 27 '21 20:05 msfschaffner

@mwbranstad @moidx @cdgori i think we can close this now. Ultimately we settled on the output checks from entropy_src, edn and csrng.

I'll close for now, but let me know if you disagree.

tjaychen avatar Feb 08 '22 23:02 tjaychen

SGTM.

mwbranstad avatar Feb 08 '22 23:02 mwbranstad