tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rate to source random bits via rnd_add_data()



That does answer my question -- thank you.

Rnd.h specifies a pool size of 128. Should the high water mark in your opinion 
be somewhere in the 80% range of this?

Thank you.

On Feb 4, 2013, at 7:26 PM, Greg Troxel wrote:

> 
> Frank Zerangue <frank.zerangue%gmail.com@localhost> writes:
> 
>> NetBSD-6.0.1
>> 
>> Given a hardware random number generator, how does one know at what
>> rate to source random bits to the entropy pool via rnd_add_data()?
> 
> Read the specs for the hardware, and put as many bits in as you can
> without blocking, stopping when the entropy estimate hits a high water
> mark?  If that doesn't answer your question, please ask again with more
> context about what you are assuming, goals, constraints, etc., because I
> suspect you understand a reason why this is harder than it seems to me :-)

--
Frank Zerangue
frank.zerangue%gmail.com@localhost





Home | Main Index | Thread Index | Old Index