From 2bb9b7f0146e12e3ceab3243f4dc67825e9e338f Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 15 May 2020 13:58:38 +0000 Subject: 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 --- sys/dev/rnd.c | 4 ++-- 1 file 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 */ -- cgit v1.2.3