diff options
author | 2008-07-09 17:16:51 +0000 | |
---|---|---|
committer | 2008-07-09 17:16:51 +0000 | |
commit | 8661b3ff05c7aa2bf195a8016b38b52fc2bdfa15 (patch) | |
tree | 207eef9983b2cb374bb9713baa9ea2ae75512e5e /usr.sbin/tokeninit/tokeninit.c | |
parent | remove an unused variable that is a leftover from the old alg. (diff) | |
download | wireguard-openbsd-8661b3ff05c7aa2bf195a8016b38b52fc2bdfa15.tar.xz wireguard-openbsd-8661b3ff05c7aa2bf195a8016b38b52fc2bdfa15.zip |
Use OpenBSD's knuth shuffle algorithm of random values from bind to
produce the DNS request ids instead of a simple per-request
arc4random(). This ensure randomness but also satisfies the
non-repeating property we need.
ok deraadt@
Diffstat (limited to 'usr.sbin/tokeninit/tokeninit.c')
0 files changed, 0 insertions, 0 deletions