On Thu, Apr 2, 2009 at 07:45, Nicholas Mc Guire wrote: > On Tue, 24 Mar 2009, Robin Getz wrote: >> I'm just wondering what people using on standard embedded/headless/diskless >> targets (which do not have hw random number generators) as a source of >> entropy - since networking was removed as an entropy source circa 2.6.26 > > without claiming that this is actually usable at this point but a simple > source of entropy that looks quite good is simply to use the timer-counter/TSC > or what ever available. The attached trng.c has been tested on a few X86 > systems and produces remarkably good random numbers - this might be suitable > if you have no other sources available. unfortunately on Blackfin parts, the TSC (we call it "CYCLES" as that is the actual register name) is writable from userspace i have used this in the bootloader as a simple way of getting a little bit of entropy, but then i found that our system is too reliable in booting -- it tends to take the exact same amount of time to boot to a prompt -mike -- To unsubscribe from this list: send the line "unsubscribe linux-embedded" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html