Increasing the size of the available entropy pool for /dev/random in Fedora?

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

 



Hi,
 
I am trying to increase the size of the available pool of entropy so that applications that use /dev/random won't block when trying to get 1K random bytes from /dev/random.  In the 2.6.23.17 kernel, it appears that the sysctl (proc) interface no longer allows changes to the poolsize (/proc/sys/kernel/random/poolsize).  I had a quick look at the random driver (kernel/drivers/char/random.c) and it looked to me that INPUT_POOL_WORDS was the variable.
 
I went ahead and made the change and recompiled the kernel, but I still don't see the available entropy larger than 4K bits (512 bytes).  When I check poolsize, it is now reported as 16384, but entropy_avail never seems to get larger than 4096.  Even if I leave the system running overnight, the available entropy pool never seems to get larger than 4096.  I have been looking at the code and the driver seems fairly convoluted, so I hope someone might save me some digging.
 
Does anyone have any suggestions as to how to increase the available entropy pool size?
 
Bruce
-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux