From: mickey Date: Wed, 24 Apr 1996 17:54:23 +0000 (+0000) Subject: We are no longer using keyboard as a random source. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ee34c70ac6c9165a2be33454cc416207d9aadfa4;p=openbsd We are no longer using keyboard as a random source. Now ttys' reads/writes are used as the source of randomness. --- diff --git a/share/man/man9/rnd.9 b/share/man/man9/rnd.9 index d018168c51f..68e74869b6c 100644 --- a/share/man/man9/rnd.9 +++ b/share/man/man9/rnd.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rnd.9,v 1.1 1996/03/29 13:42:59 mickey Exp $ +.\" $OpenBSD: rnd.9,v 1.2 1996/04/24 17:54:23 mickey Exp $ .\" .\" Copyright (c) 1996 Michael Shalayeff .\" All rights reserved. @@ -36,7 +36,7 @@ .Nd device kernel interface .Sh SYNOPSIS .Fd #include -.Va void add_keyboard_randomness(u_char scancode); +.Va void add_tty_randomness(dev_t dev); .br .Va void add_net_randomness(int isr); .br @@ -45,7 +45,7 @@ .Va void get_random_bytes(void *buf, size_t nbytes); .br .Sh DESCRIPTION -add_{keyboard,net,blkdev}_randomness routines used to supply data +add_{tty,net,blkdev}_randomness routines used to supply data for the random data source device for future processing. .Pp get_random_bytes maybe used to retrive strong random data, just