3 ms·
How are you supposed to get entropy into a system with no (good for RNG) inputs and no sources of noise? (think: embedded)
by raverbashing 9y ago
How are you supposed to get entropy into a system with no (good for RNG) inputs and no sources of noise? (think: embedded)
- tptacek 9y agoNot with a USB HWRNG.
- schoen 9y agoI don't understand this part of your criticism. Your core criticism has been that we don't really need hardware TRNGs because the math of CSPRNGs doesn't lead to "entropy depletion" in the way that people's mistaken mental models might suggest. That's fine, but boot-time seeding problems are also a real source of RNG-related security problems, as described in the "Mining Your Ps and Qs" paper. (E.g. "The removal of IRQs as an entropy source has likely exacerbated RNG problems in headless and embedded devices, which often lack human input devices, disks, and multiple cores. If they do, the only source of entropy—if there are any at all—may be the time of boot.") Having a hardware TRNG for seeding in this case would presumably prevent these problems.
- raverbashing 9y agoI'm speaking generically, I don't expect my embedded system to have a USB RNG plugged in And it's not a theoretical problem either.
- sigstoat 9y agoread the internal temp and Vref ADCs over and over, and hash the result, the same way this widget works?
- dfox 9y agoIt is very hard to find system that has CPU powerful enough for doing any kind of cryptography while not having any usable entropy source, there is always something non-deterministic that you can measure (hash contents of memory at start of boot, time accesses to EEPROM, ADC noise, timing of events, the actual data that your system processes...).
- SAI_Peregrinus 9y agoChaotic oscillators to seed a CSPRNG. Either on-chip[1] or discrete[2]. [1] http://forums.xilinx.com/xlnx/attachments/xlnx/EDK/27322/1/HighSpeedTrueRandomNumberGeneratorsinXilinxFPGAs.pdf http://forums.xilinx.com/xlnx/attachments/xlnx/EDK/27322/1/H... [2] http://ieeexplore.ieee.org/document/7111269/ http://ieeexplore.ieee.org/document/7111269/