summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2020-05-15 13:58:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2020-05-15 13:58:38 +0000
commit2bb9b7f0146e12e3ceab3243f4dc67825e9e338f (patch)
tree7fc9396f0f39206c4f4b579f5750169551440591
parent1a7fad282688defd0757730a45a177129a80b302 (diff)
Explain enqueue_randomness() better. It is the supply-entropy function,
and change wording from 'entropy queue', what we have is a ring which collects 'damage' from successive calls until drawn down
-rw-r--r--sys/dev/rnd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/rnd.c b/sys/dev/rnd.c
index 02b3de35b10..59014e3f5b9 100644
--- a/sys/dev/rnd.c
+++ b/sys/dev/rnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rnd.c,v 1.207 2020/05/15 13:53:00 deraadt Exp $ */
+/* $OpenBSD: rnd.c,v 1.208 2020/05/15 13:58:37 deraadt Exp $ */
/*
* Copyright (c) 2011 Theo de Raadt.
@@ -115,7 +115,7 @@
/*
* Raw entropy collection from device drivers; at interrupt context or not.
- * enqueue_randomness() provide data which is put into the entropy queue.
+ * enqueue_randomness() is used to submit data into the entropy input ring.
*/
#define QEVLEN 128 /* must be a power of 2 */