commit | fd618351bfae57a3d64947da9c904540dfe7c6a0 | [log] [tgz] |
---|---|---|
author | Jordan Yates <jordan.yates@data61.csiro.au> | Thu Dec 23 09:47:15 2021 +1000 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Wed Mar 23 13:38:47 2022 +0100 |
tree | dd4502caeb6f806ab534bfbec2cceb92c9e3ef28 | |
parent | 9bfb7bde1de2bf3e81c748dad9ce63587bfd839b [diff] |
random: xoshiro128: reseed state on entropy fail When requesting seed entropy data fails, reseed the PRNG state with runtime data. This is a minimal effort to ensure that random data requested before a backing entropy device is ready does not result in repeatable data on each boot. The random XOR integers are selected from the CRC32 algorithm. Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>