[gnutls-dev] Re: living without global variables

Bryan Henderson bryanh at giraffe-data.com
Mon Jan 9 17:38:51 CET 2006


>2) Reading a lot from /dev/*random might deplete the system randomness
>   pool.

If you're saying this is an issue because having one pool for
everybody raises the volume of reading, then I'd say it's conceptually
the same problem with the process-global pool, and identifies another
reason that private contexts would be a good thing -- each independent
user of randomness, whether or not in the same process with another
user, can create his own pool with enough capacity to meet his
randomness needs.

I am, of course, beating on the point that the boundaries of a process
is an arbitrary scope, and it would be better if a low-level code
library were not sensitive to it.

-- 
Bryan Henderson                                    Phone 408-621-2000
San Jose, California




More information about the Gnutls-devel mailing list