summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2000-01-08 04:49:22 +0000
committerderaadt <deraadt@openbsd.org>2000-01-08 04:49:22 +0000
commitd327bcc525aac23b133f371f31c6246d78c4bb94 (patch)
tree00c2a2c0165ab0c43f4e6e051c11d60f9a805a24 /lib/libc
parentgre(4) interface in GENERIC (diff)
downloadwireguard-openbsd-d327bcc525aac23b133f371f31c6246d78c4bb94.tar.xz
wireguard-openbsd-d327bcc525aac23b133f371f31c6246d78c4bb94.zip
use arc4random() instead of random for two reasons.
1) on some architectures, random() should only be used by the scheduler (ie. statintr() because it is uniformly distributed 2) arc4random() is actually strong, random() is not at all
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions