diff options
author | 2000-01-08 04:49:22 +0000 | |
---|---|---|
committer | 2000-01-08 04:49:22 +0000 | |
commit | d327bcc525aac23b133f371f31c6246d78c4bb94 (patch) | |
tree | 00c2a2c0165ab0c43f4e6e051c11d60f9a805a24 /lib/libc | |
parent | gre(4) interface in GENERIC (diff) | |
download | wireguard-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