Subject: Re: replace kernel random number function
To: Johan Danielsson <joda@pdc.kth.se>
From: Michael Graff <explorer@flame.org>
List: tech-security
Date: 10/22/2000 10:49:54
  by mail.netbsd.org with SMTP; 22 Oct 2000 17:49:58 -0000
To: joda@pdc.kth.se (Johan Danielsson)
Cc: tech-security@netbsd.org, tech-kern@netbsd.org
Subject: Re: replace kernel random number function
References: <20001020230203.097CB7E46@starfruit.itojun.org> <xof4s24ubdo.fsf@blubb.pdc.kth.se>
From: Michael Graff <explorer@flame.org>
Date: 22 Oct 2000 10:49:54 -0700
In-Reply-To: joda@pdc.kth.se's message of "22 Oct 2000 17:46:43 +0200"
Message-ID: <v6wvf0hikd.fsf@kechara.flame.org>
Lines: 11

joda@pdc.kth.se (Johan Danielsson) writes:

> Shouldn't this use rnd(9), or is that too slow?

We could build arc4random, export it to the world as /dev/arandom, and
have it in the kernel as well.

However, random(3) is fast, and sometimes all you really need is weak
randomness for non-security related uses.

--Michael