commit | 9bfb7bde1de2bf3e81c748dad9ce63587bfd839b | [log] [tgz] |
---|---|---|
author | Jordan Yates <jordan.yates@data61.csiro.au> | Wed Dec 22 17:04:23 2021 +1000 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Wed Mar 23 13:38:47 2022 +0100 |
tree | 0c898694143af872e69893116d991fd498a8fbad | |
parent | 69d3187a2227112bfd5c6f885978f9d0bced3566 [diff] |
random: xoshiro128: defer state init Defer the state initialization of the xoshiro algorithm until the first time a random number is requested. This allows the PRNG algorithm to be used with entropy sources which may not be available at boot, i.e Bluetooth HCI. Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>