I need to generate a buffer filled with random bytes not equal to 0 and I was wondering what would be the most effective in terms of power consumption.
First, between the PRNG and the TRNG, is there a significant difference in power consumption?
Also, out of the following options, which one would be the best in terms of power consumption:
PRNG would be lower power consuming since it is implemented using a LFSR. The TRNG has 6 ring oscillators running between 90 and above 500 MHz.
As far as the most efficient way to store non-zero 32-bit numbers, just check the entire 32-bit value for zero once you get it.