diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-05-15 14:02:07 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-05-15 14:02:07 +0000 |
commit | ae0815cf9d974d0666c273417429eed27d3b2f28 (patch) | |
tree | d7049d4af6df551ee9c0d3d0c29bbad9808081ea | |
parent | 2bb9b7f0146e12e3ceab3243f4dc67825e9e338f (diff) |
The description of the enqueue_randomness() input parameter was crazy untrue.
-rw-r--r-- | sys/dev/rnd.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/rnd.c b/sys/dev/rnd.c index 59014e3f5b9..d91c335d74e 100644 --- a/sys/dev/rnd.c +++ b/sys/dev/rnd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rnd.c,v 1.208 2020/05/15 13:58:37 deraadt Exp $ */ +/* $OpenBSD: rnd.c,v 1.209 2020/05/15 14:02:06 deraadt Exp $ */ /* * Copyright (c) 2011 Theo de Raadt. @@ -202,11 +202,7 @@ rnd_qlen(void) } /* - * This function adds entropy to the entropy pool by using timing delays. - * - * The number "val" is also added to the pool - it should somehow describe - * the type of event which just happened. Currently the values of 0-255 - * are for keyboard scan codes, 256 and upwards - for interrupts. + * This function mixes entropy and timing into the entropy input ring. */ void enqueue_randomness(u_int val) |