tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: RND_TYPE_RNG question concerning rate of random bits production
On Wed, Jan 15, 2014 at 05:26:34PM -0600, Frank Zerangue wrote:
> I am writing a driver for an arm random number generator accelerator to
> provide a source of random bits to rnd_pool.
>
> How does one know at what rate to supply random bits to the pool using
> rnd_add_data()? Assume for a moment that more bits/sec can be generated than
> are needed, what criteria should be used to decide the rate to provide bits
> to the pool? Is there any feedback mechanism that can be used to govern the
> flow?
You can arrange to be polled for entropy when it's needed. Have a look
at the hifn, amdpm, or bcm2835 RNG drivers.
Thor
Home |
Main Index |
Thread Index |
Old Index