Date: Tue, 22 Aug 2000 15:52:36 +0200 From: Mark Murray <mark@grondar.za> To: current@freebsd.org Subject: Review requested for /dev/random driver improvements! Message-ID: <200008221352.e7MDqbG00418@grimreaper.grondar.za>
next in thread | raw e-mail | index | archive | help
Hi All Please could those of you with the time and computrons available please review the patches for the entropy (/dev/random) driver at http://people.freebsd.org/~markm/randomdev.patch. NOTES: This code may injure your cat, your computer and/or your bank account; be careful! The code puts the responsibility of reseeding the entropy state variables into a kernel thread; this should make userland a lot snappier. There is a FIFO constructed from TAILQ's to buffer the entropy harvesting; this should further insulate userland from the internal workings. All the crypto and hashing has been broken out into a separate file to make the whole driver less dependant on particular algorithms. There is an (unresolved) issue with panics when the module is unloaded; I'm working on that, but if you get to it before me, your help would be appreciated. Not included in here is a direct tap into the random event stream to allow folks who need to "distill bits" to do their own entropy processing. This is being worked on. Other comments, patches and suggestions welcome! Many thanks to Brian Feldman for the kthreads example, and others for answering my questions online! M To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008221352.e7MDqbG00418>