summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2001-01-29 23:36:44 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2001-01-29 23:36:44 +0000
commitbc11062938d970b18c2a7bd8e8fcb49873d875a2 (patch)
tree278af632b8a9ede8fdc5916ed2dead1f4d510949 /sys
parentc0e90e9881c7d005a72f413c5ddeb2952fd8fe18 (diff)
Generate less random data. Suggested by mickey@.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/ises.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/ises.c b/sys/dev/pci/ises.c
index ad0a4f3c638..58b65397f48 100644
--- a/sys/dev/pci/ises.c
+++ b/sys/dev/pci/ises.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ises.c,v 1.1 2001/01/29 08:45:58 ho Exp $ */
+/* $OpenBSD: ises.c,v 1.2 2001/01/29 23:36:43 ho Exp $ */
/*
* Copyright (c) 2000 Håkan Olsson (ho@crt.se)
@@ -99,10 +99,10 @@ void ubsec_mcopy __P((struct mbuf *, struct mbuf *, int, int));
# define DPRINTF(x)
#endif
-/* For HRNG entropy collection, these values gather 5KB/s */
+/* For HRNG entropy collection, these values gather 1600 bytes/s */
#ifndef ISESRNGBITS
-#define ISESRNGBITS 4096 /* Bits per iteration */
-#define ISESRNGIPS 10 /* Iterations per second */
+#define ISESRNGBITS 128 /* Bits per iteration (mult. of 32) */
+#define ISESRNGIPS 100 /* Iterations per second */
#endif
struct cfattach ises_ca = {