DragonFly BSD
DragonFly bugs List (threaded) for 2010-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[issue1924] mmap - add mmap offset randomisation


From: "Alex Hornung \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 25 Nov 2010 18:18:50 +0000

Alex Hornung <ahornung@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@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1924>
_____________________________________________________




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