<div>Hi,</div>
<div> </div>
<div>Last time I checked karc4random() was an in-kernel ARC4 CSPRNG/random number generator.</div>
<div> </div>
<div>Maybe since the last time I checked, someone has ripped that out and replaced it with a call to the superior</div>
<div>IBAA/L15 in-kernel CSPRNG/random number generator.</div>
<div> </div>
<div>I would have to check the sources to find out if that is the case or not; I&#39;ll do it after I finish this reply.</div>
<div> </div>
<div>--</div>
<div> </div>
<div>To answer your question: ARC4/RC4 is a poor quality CSPRNG/random number generator, i.e. it is</div>
<div>bad in a number of different ways.</div>
<div> </div>
<div>Whereas, the in-kernel IBAA/L15 CSPRNG random numberr generator is vastly superior in a number of</div>
<div>different ways.</div>
<div> </div>
<div>That&#39;s why it is better to use it, rather than ARC4/RC4 (karc4random()).</div>
<div> </div>
<div>Hope that answers your question.<br><br></div>
<div class="gmail_quote">On 25 November 2010 16:30, Alex Hornung (via DragonFly issue tracker) <span dir="ltr">&lt;<a href="mailto:bugs@crater.dragonflybsd.org">bugs@crater.dragonflybsd.org</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><br>Alex Hornung &lt;<a href="mailto:ahornung@gmail.com">ahornung@gmail.com</a>&gt; added the comment:<br>
<br>Care to explain the reasoning behind that a bit more? Why is karc4random()<br>worse? What are the exact benefit of using the other interface?<br><br>I thought karc4random also takes advantage of randomness fed in from devices,<br>
etc.<br><br>Cheers,<br>Alex<br><br>----------<br>status: unread -&gt; chatting<br><br>_____________________________________________________<br>DragonFly issue tracker &lt;<a href="mailto:bugs@lists.dragonflybsd.org">bugs@lists.dragonflybsd.org</a>&gt;<br>
&lt;<a href="http://bugs.dragonflybsd.org/issue1924" target="_blank">http://bugs.dragonflybsd.org/issue1924</a>&gt;<br>_____________________________________________________<br></blockquote></div><br><br clear="all"><br>-- <br>
Sincerely,<br>Robin Carey<br>
