Date: Tue, 30 Nov 1999 22:48:09 +0000 (GMT) From: Doug Rabson <dfr@nlsystems.com> To: Dima Ruban <dima@rdy.com> Cc: "Jonathan M. Bresler" <jmb@hub.freebsd.org>, king@sstar.com, alpha@freebsd.org Subject: Re: arc4random && read_random Message-ID: <Pine.BSF.4.10.9911302247390.325-100000@salmon.nlsystems.com> In-Reply-To: <199911301955.LAA70456@sivka.rdy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 30 Nov 1999, Dima Ruban wrote: > Jonathan M. Bresler writes: > > > > > > I hacked around the problem by adding arc4random.c to > > > sys/alpha/conf/files.alpha, and commenting out the call to read_random() in > > > arc4random.c (replacing it with "r = 0;" to initialize the return value). > > > > > > I agree that implementing read_random for Alpha - even a dummy version - > > > would be a better way to do it (but my way was quicker :-). > > > > > > Jim > > > > #ifdef __alpha__ > > > > worked for me > > Right, but I don't think that general population will be happy with this. > I'd rather hack _alpha-specific_ code than code that's common for all > architectures. Ideally, someone would re-work the /dev/random driver so that it wasn't x86 specific. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9911302247390.325-100000>