4 ms·
Some of these comments are particularly worrying: /* double speed, less random mode */ #define RNG_RBG2X 0x2 /* the initial numbers g
by Scaevolus 13y ago
Some of these comments are particularly worrying:
/* double speed, less random mode */
#define RNG_RBG2X 0x2
/* the initial numbers generated are "less random" so will be discarded */
#define RNG_WARMUP_COUNT 0x40000
A black box random number generator with some numbers being vaguely "less random"? That seems like an exceedingly poor idea.
- lambda 13y agoI'm not sure that's worrying. Remember, this is hardware. Hardware takes time to turn on and get into a steady state. Many hardware random number generators are based on thermal noise. But in order to get in the correct range for the values to flip, you need to wait for the circuit to warm up to operating temperature.