by ChuckNorris89 · 4y ago · 0 comments
They have plenty of peripherals that can act as sensors, where you can draw entropy seeds from.
You can even leave an empty pin with a PCB trace to act as a crude antenna and pick up garbage RF.
You can use the built in RC oscillator as a crude temperature sensor.
My point is, if you're creative, embedded systems offer you so many options without any added cost.
I don't follow where the confusion is coming from?
[1] https://www.st.com/resource/en/application_note/dm00073853-s...
[2] https://csrc.nist.gov/Projects/Random-Bit-Generation/Documen...
A real randomness source would be really great to have in pretty much every computing device these days, considering the widespread use of encryption.
If your security threat profile has to account for actors with the resources to perform reverse engineering of your hardware, side channel analysis and RF injection, then we're already way out of the realm of low cost devices.
Even presuming you modify the hardware/firmware, the additional cycles to handle and process the sensor data mean additional power draw compared to normal operation (embedded devices may frequently power down to wake from some interrupt to save power, additionally not all instructions turn on the same number of transistors - floating point ops require more power than simple branch instructions) - something again that prohibits doing this easily.
So "without any added cost" is simply untrue.
The reality is that randomness is relatively expensive, whether via hardware or software. Phones have more sensors - they also have massively complex SoCs and large batteries, which still are drained often over the course of a single day. They also tend to cost 1k+ USD, at least for flagship models (prices go as low as 50$ these days, but this is more from economies of scale and resale value economics than because phone hardware/software is suddenly cheap to manufacture)
Reading from RF trace does not take any more power than any other analog pin voltage measurement.
Running a few more instructions to "process" (not as if there's much processing needed) the sensor readings is also hardly measurable.