summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
0 files changed, 0 insertions, 0 deletions