Date: Sun, 1 Oct 1995 13:05:21 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: mark@grondar.za (Mark Murray) Cc: hackers@FreeBSD.ORG Subject: Re: How to get to the hardware? Message-ID: <199510012005.NAA20224@phaeton.artisoft.com> In-Reply-To: <199510010904.LAA00617@grumble.grondar.za> from "Mark Murray" at Oct 1, 95 11:04:53 am
next in thread | previous in thread | raw e-mail | index | archive | help
> I am working on a device (/dev/random) to give truly nasty random numbers > for crypto/security use, and it is mostly going OK. I have some code > written by Theodore Ts'o, and it is good stuff, but it is for the Linux > kernel. Could someone please suggest to me the best way of doing the > following in the FreeBSD kernel: (I am not sure I like the concept of just > messing with the timer directly, and yes, I have had a look at microtime.s) > The bits I do not line are the outb_p() and inb_p(). There _has_ to be a > better way... The code shown is pseudo-random. What's wrong with the linear congruential algorithm in ran48/drand48? Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510012005.NAA20224>