summaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2008-06-09 22:47:43 +0000
committerDamien Miller <djm@cvs.openbsd.org>2008-06-09 22:47:43 +0000
commit4292580034d73b1c4cdfac0005dc9e4d2589bda1 (patch)
tree39707a15c935037c1af790655424866680302eaa /sys/conf
parent8585245d5a6e10c2e09d2a4a531f89455bf9193d (diff)
Introduce a facility to generate unpredictable 32 bit numbers with
near maximal (2^32) cycle times. These are useful for network IDs in cases where there are negative consequences to ID prediction and/or reuse. Use the idgen32() functions to generate IPv6 IDs and NFS client/server XIDs. Pseudorandom permutation code in crypto/idgen.c based on public domain skip32.c from Greg Rose. feedback & ok thib@ deraadt@
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 6651bbeb9d9..958ab8fd5fd 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1,4 +1,4 @@
-# $OpenBSD: files,v 1.431 2008/05/06 13:33:50 pyr Exp $
+# $OpenBSD: files,v 1.432 2008/06/09 22:47:41 djm Exp $
# $NetBSD: files,v 1.87 1996/05/19 17:17:50 jonathan Exp $
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
@@ -839,6 +839,7 @@ file crypto/xform.c (inet & ipsec) | crypto
file crypto/deflate.c (inet & ipsec) | crypto
file crypto/arc4.c
file crypto/michael.c wlan
+file crypto/idgen.c inet6 | nfsclient | nfsserver
file netatalk/aarp.c netatalk
file netatalk/at_control.c netatalk
file netatalk/at_proto.c netatalk