News for hackers. Stuff that matters.
Re:USB Random Number Generator by Ellipsis753 on Monday September 30, 2013 @12:37PM (#6470548)
You're correct. You can't dilute it by adding anything to the pool. However if you also increase the amount of entropy that the system thinks is in the pool this can cause issues. The system keeps a log of the amount of entropy that it thinks the pool has. This is reduced when in some cases for example when urandom is used. When the entropy remaining runs out urandom will have to wait for more. You can specifically tell the system "I've added lots of entropy" and then urandom will not stall but may make some not-very-random random numbers. So adding to the pool is a good thing but don't tell the system it has more entropy and don't expect to get random numbers faster.
Re:USB Random Number Generator by mistercow on Monday September 30, 2013 @07:51PM (#6473099)
That is what I meant by "dilute", yes. Not a perfect metaphor, I guess. In point of fact, only /dev/random would be affected by that. /dev/urandom does not stall when it runs out of entropy; it just reuses the entropy in the pool and hopes for the best.
Re:USB Random Number Generator by Ellipsis753 on Tuesday October 01, 2013 @12:52PM (#6477355)
OOps, You're quite right. I got urandom and random the mixed up in my head.