[issue1924] mmap - add mmap offset randomisation
Alex Hornung (via DragonFly issue tracker)
sinknull at leaf.dragonflybsd.org
Thu Nov 25 10:19:49 PST 2010
Alex Hornung <ahornung at gmail.com> added the comment:
Well, karc4random calls arc4_randomstir(), which calls read_random_unlimited(),
so it *is* using the same entropy as /dev/random and /dev/urandom.
I'm not sure I understand your point considering the above. I don't think
reading directly from read_random_unlimited() on each and every karc4random()
call is a good idea at all. This way it gets called every few times, it seems,
which should be good enough (?)
Cheers,
Alex
_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1924>
_____________________________________________________
More information about the Bugs
mailing list