NetBSD/sys
sommerfeld 7497ddcce5 /dev/random code cleanups:
- Add comments about which spls apply to which data structures.
 - Consistently protect the rnd_samples queue (the queue of
unprocessed samples) at splhigh().
 - allow MD code to supply cpu_timestamp() and cpu_havetimestamp() for
an optional higher-resolution clock/roulette wheel source.
 - Collect more statistics on the pool state (keeping track of where
collected bits are going, in addition to where they came from).
 - Add RNDGETPOOLSTAT ioctl to get the additional stats.
 - Flush a few unused rndpool calls.
 - XXX XXX Cryptographic changes:
  - 32-bit rotate is:
	((val << rp->rotate) | (val >> (32 - rp->rotate))),
    not
	(val << rp->rotate) | (val >> rp->rotate)
    or
	((val << rp->rotate) | (val >> (31 - rp->rotate)))
  - Avoid overloading of rp->rotate and double-rotation of data
(which limited pool mixing somewhat; "rotate" never got above 7).
  - Be more paranoid (but probably not paranoid enough) about mixing
output back into the pool.  This is an improvement, but it needs
revisiting soon.

We should follow the spirit of some of the recommendations in
the Schneier PRNG papers:

http://www.counterpane.com/yarrow-notes.html
http://www.counterpane.com/pseudorandom_number.html

including:
 - two (or more) stage operation for better isolation between inputs
and outputs.
 - use of keyed one-way functions (probably better even than
invertible keyed functions like 3DES) at key points in the data flow,
so that breaking the PRNG is clearly as hard as breaking the function.
2000-06-05 23:42:34 +00:00
..
adosfs A foolish consistency; most parts of the kernel use bp->b_data, so 2000-05-19 18:54:22 +00:00
arch fix pasto pointed in the evcnt changes pointed out by Robert Swindells 2000-06-05 23:28:20 +00:00
coda Quiet some printfs unless VERBOSE. 2000-04-05 18:39:09 +00:00
compat Nothing yet. 2000-06-04 16:29:25 +00:00
conf This is the dawning of the age of Aquarius ... o/~ (evcnt bumps us to 1.4ZA) 2000-06-04 19:17:27 +00:00
ddb Change printing of cpu number in the prompt in the MULTIPROCESSOR case 2000-05-28 19:03:55 +00:00
dev /dev/random code cleanups: 2000-06-05 23:42:34 +00:00
filecorefs Add new VFS op routine - vfs_done and call it on filesystem detach 2000-03-16 18:08:17 +00:00
gdbscripts
ipkdb Fix a few (essential!) tyops. 2000-03-23 20:33:37 +00:00
isofs add a new mount flag ISOFSMNT_NOCASETRANS - if set, the file names are not 2000-05-27 16:03:55 +00:00
kern Oops, missed a couple of places where CMSG_*() should be used. No 2000-06-05 16:29:45 +00:00
lib Add missing trailing newlines. 2000-05-26 23:09:28 +00:00
lkm Resolve conflicts. 2000-05-03 11:12:03 +00:00
miscfs Use CMSG_*() properly. 2000-06-05 17:21:38 +00:00
msdosfs Add a new function to remove extra buffers when truncating a file. This is 2000-05-28 04:13:56 +00:00
net Ensure that all callers of pfind() can deal with pfind(0) returning 2000-05-28 18:17:07 +00:00
netatalk New callout mechanism with two major improvements over the old 2000-03-23 07:01:25 +00:00
netccitt More register removal. 2000-03-30 13:53:32 +00:00
netinet pass struct proc * down to udp6_output and in6_pcbbind. 2000-06-05 06:38:22 +00:00
netinet6 backout change to in6_pcbnotify(). the change seems premature 2000-06-05 08:09:48 +00:00
netiso Remove register declarations. 2000-03-30 12:51:13 +00:00
netkey remove include files in nonstandard path 2000-06-04 11:52:06 +00:00
netnatm
netns remove unused macro. 2000-04-10 02:19:29 +00:00
nfs Allow nfs root over token ring. Closes PR6629. 2000-05-28 07:01:09 +00:00
ntfs Remove register declarations. 2000-03-30 12:41:09 +00:00
stand
sys /dev/random code cleanups: 2000-06-05 23:42:34 +00:00
ufs Make this build. (Balance parenthesis. 2000-05-31 03:37:34 +00:00
uvm Change previous to use `vm_map_min(dstmap)' instead of hard-coding 2000-06-05 07:28:56 +00:00
vm Rather than starting init and creating kthreads by forking and then 2000-05-28 05:48:59 +00:00
Makefile