This commit implements a fallback for the /dev/urandom entropy
estimate retrieval, for when the ioctl on /dev/random fails (see
also issue #17). We still poll on /dev/random, but instead of
ioctl'ing, we read from /proc/sys/kernel/random/entropy_avail to
get the entropy count.
This commit implements a fallback for the /dev/urandom entropy estimate retrieval, for when the ioctl on /dev/random fails (see also issue #17). We still poll on /dev/random, but instead of ioctl'ing, we read from /proc/sys/kernel/random/entropy_avail to get the entropy count.
This PR updates test_issue_17 accordingly.
Fixes issue #17.